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}. */
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user