Question: Programming using the Decorator Design Pattern. You must provide code that uses and demonstrates the Decorator Design Pattern. Encryption using the Decorator Design Pattern .
Programming using the Decorator Design Pattern.
- You must provide code that uses and demonstrates the Decorator Design Pattern.
- Encryption using the Decorator Design Pattern.
- You will need 4 Concrete Decorators:
- Encrypt by character shift
- a = b
- b = c
- A = B
- and so on.
- Encrypt by L337
- Dragon = Dr490n
- The other two encryption methods are up to you. Keep them simple.
- Encrypt by character shift
- Gui Interface:
- Two Text boxes (input and output)
- Checkboxes for each of the decorators to select which ones to use.
- Dropdown menu for each of the decorators to select which order to use them.
- Encrypt button.
- This project has to work in Unity3D.
- Your Factory classes will NOT extend the MonoBehaviour class.
- All code will be done in C#.
- Programming Hints:
- OnMouseDown
- We can write information to the console window by using: Debug.Log
- Debug.Log("Your message here.");
- I need the code to be done in C#. This is all the information I can provide thank you.
- You will need 4 Concrete Decorators:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
