platformer
|
The following Enums contains stuff that could be useful for your game. Enums cannot be extended so careful when updating not to lose your code.
Contains Areas
Enum. Where the characters can be in.
Contains States
Enum. States the Character can be.
There are two types of states:
Both could be clashing to solve, the clash is solved on Character.EnterState
and Character.ExistState
. For example if Character is Falling and hit Jump. The State should be Jump and remove Falling. EnterState/ExistState
handle this.
NOTE: This is crucial information for Animation.
Contains DamageTypes
Enum.
Contains CharacterPart
Enum.
Group Character so they don't deal Damage to their group (unless you say so).