refactor: added comments and rearranged EventTypes

This commit is contained in:
Yannik Bretschneider 2021-05-01 23:07:34 +02:00
parent 3b286b4667
commit bdc434ecc3

View File

@ -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
} }