-
Notifications
You must be signed in to change notification settings - Fork 0
Entity Component System
Rignon Noël edited this page Jun 21, 2016
·
1 revision
Note: Je n'arrive pas encore à définir comment faire les events comme par exemple une porte qui s'ouvre ou une porte qui s'ouvre que 5 secondes.
CellPosition
- x (int)
- y (int)
ScreenPosition
- x (int)
- y (int)
Personnage => ie. png, player
- life (int)
Collideable -> ie. box, house, tree
- height (int)
Destroyable => ie. bush, box
- hitPoints (int)
Damager => ie. holes in the floor, lava
- inflictDamage(int)
Teleporter => ie. door
- newPositionX (int)
- newPositionY (int)
PowerupPlayer => ie. potion
- addsFeature (enum: life, agility, mana, ..)
- amount (int)
TimedEffect => ie. Effect for cinematic/explosion/vision of png/etc..
- timeRemaining (int)
- effectType (enum : Spread, Vanish, ..)