Creating a Platform Class

The game object is just a definition. We will need to implement a real game object, platform, and put it on stage with a rectangle shape.

  • Create a new file and class that extends the GameObject class
  • Override the values of common properties that comprise the GameObject class
  • Create a common shape drawing method and draw a rectangle shape on the platform

Complete and Continue