Summary so far

Take a look at these bullet points that describe everything we have discussed so far:

  • We will have component classes like MovementComponent, GraphicsComponent, SpawnComponent and InputComponent. These will be interfaces with no specific functionality.
  • There will be concrete classes that implement these interfaces like DiverMovement, PlayerMovement, StandardGraphics, BackgroundGraphics, PlayerInput etc.
  • We will have specification classes for each game object that specify the components that each object in the game will have. These specifications will also have extra details like size, speed, name and graphics file required for the desired appearance.
  • There will be a factory class that knows how to read the specification classes and ...

Get Learning Java by Building Android Games - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.