All objects on the screen are entities
Entities have:
-
Sprites
-
Collision detection
-
Collision methods (to be over-written)
-
Let's keep the hero's name generic (might change later on)
-
Move methods (can be over-written)
-
action methods (attacks, interacting with people/objects)
-
transform method
-
Nice NPCs
-
They have dialog with the hero
-
Can give the hero quests
-
Move methods
-
Sequence (their A.I.)
-
Derives from Enemy
-
Can transform like the hero
- Things the hero can interact with/pick up
-
Pieces of the level that have specific collision patterns
-
They can also initiate a level-transition
- The player's collection of objects and currency
- Where we store which quests the player has accepted/completed
-
Health and maybe some point-system
-
Also the player's "level" (e.g. which shapes/characters has the player unlocked)
- Levels have a collection of entities and portals to other levels
- Stores level, score, and inventory