Types and Instantiation

Do you remember about types?

  1. 5, 10, 23 are type of?
  2. 3.13, 5.23, 921.23 are type of?
  3. "Makers", "Hello", "Great" are type of?

Let's create our "MakersDefense" Game.

We need 5 objects:

  1. Player
  2. Tower
  3. Map
  4. Invader
  5. Path

Let's create 5 class for each object and instantiate it. Don't forget to use your GitHub account.

results matching ""

    No results matching ""