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}. */
public enum EventType {
//please make it stop
Ack, Nack, Req, GameStateEvent, CustomEvent,
DestroyedEntityEvent, TakenDamageEvent, ConsumedAPEvent, ConsumedMPEvent, SpawnEntityEvent, HealedEvent,
MeleeAttackEvent, RangedAttackEvent, MoveEvent, UseInfinityStoneEvent, ExchangeInfinityStoneEvent,
RoundSetupEvent, TurnEvent, WinEvent, TurnTimeoutEvent, TimeoutWarningEvent, TimeoutEvent, DisconnectEvent
// GamestateEvents
Ack,
Nack,
Req,
GameStateEvent,
CustomEvent,
// EntityEvents
DestroyedEntityEvent,
TakenDamageEvent,
ConsumedAPEvent,
ConsumedMPEvent,
SpawnEntityEvent,
HealedEvent,
// CharacterEvents
MeleeAttackEvent,
RangedAttackEvent,
MoveEvent,
UseInfinityStoneEvent,
ExchangeInfinityStoneEvent,
// GameEvents
RoundSetupEvent,
TurnEvent,
WinEvent,
TurnTimeoutEvent,
TimeoutWarningEvent,
TimeoutEvent,
DisconnectEvent
}