Summary so far
Take a look at these bullet points, which describe everything we have discussed so far.
- We will have component classes such as
MovementComponent
,GraphicsComponent
,SpawnComponent
, andInputComponent
. These will be interfaces with no specific functionality. - There will be concrete classes that implement these interfaces, such as
DiverMovement
,PlayerMovement
,StandardGraphics
,BackgroundGraphics
,PlayerInput
, and so on. - 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 such as 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 assemble generic but internally different
GameObject
instances. - There will be a level class that will know which and how many of each type of
GameObject
is required and will "order" them...