Types and Instantiation
Do you remember about types?
- 5, 10, 23 are type of?
- 3.13, 5.23, 921.23 are type of?
- "Makers", "Hello", "Great" are type of?
Let's create our "MakersDefense" Game.
We need 5 objects:
- Player
- Tower
- Map
- Invader
- Path
Let's create 5 class for each object and instantiate it. Don't forget to use your GitHub account.