refactor: added comments and rearranged EventTypes
This commit is contained in:
parent
3b286b4667
commit
bdc434ecc3
@ -2,9 +2,34 @@ package uulm.teamname.marvelous.gamelibrary.events;
|
|||||||
|
|
||||||
/** Specifies the type of an {@link Event}. */
|
/** Specifies the type of an {@link Event}. */
|
||||||
public enum EventType {
|
public enum EventType {
|
||||||
//please make it stop
|
// GamestateEvents
|
||||||
Ack, Nack, Req, GameStateEvent, CustomEvent,
|
Ack,
|
||||||
DestroyedEntityEvent, TakenDamageEvent, ConsumedAPEvent, ConsumedMPEvent, SpawnEntityEvent, HealedEvent,
|
Nack,
|
||||||
MeleeAttackEvent, RangedAttackEvent, MoveEvent, UseInfinityStoneEvent, ExchangeInfinityStoneEvent,
|
Req,
|
||||||
RoundSetupEvent, TurnEvent, WinEvent, TurnTimeoutEvent, TimeoutWarningEvent, TimeoutEvent, DisconnectEvent
|
GameStateEvent,
|
||||||
|
CustomEvent,
|
||||||
|
|
||||||
|
// EntityEvents
|
||||||
|
DestroyedEntityEvent,
|
||||||
|
TakenDamageEvent,
|
||||||
|
ConsumedAPEvent,
|
||||||
|
ConsumedMPEvent,
|
||||||
|
SpawnEntityEvent,
|
||||||
|
HealedEvent,
|
||||||
|
|
||||||
|
// CharacterEvents
|
||||||
|
MeleeAttackEvent,
|
||||||
|
RangedAttackEvent,
|
||||||
|
MoveEvent,
|
||||||
|
UseInfinityStoneEvent,
|
||||||
|
ExchangeInfinityStoneEvent,
|
||||||
|
|
||||||
|
// GameEvents
|
||||||
|
RoundSetupEvent,
|
||||||
|
TurnEvent,
|
||||||
|
WinEvent,
|
||||||
|
TurnTimeoutEvent,
|
||||||
|
TimeoutWarningEvent,
|
||||||
|
TimeoutEvent,
|
||||||
|
DisconnectEvent
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user