refactor: moved MessageType
This commit is contained in:
parent
fa8d8fcd00
commit
40a0a0c0c5
@ -1,20 +0,0 @@
|
|||||||
package uulm.teamname.marvelous.gamelibrary.json;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Enum describing all possible MessageTypes as defined by Standard document
|
|
||||||
*/
|
|
||||||
public enum MessageType {
|
|
||||||
HELLO_CLIENT,
|
|
||||||
HELLO_SERVER,
|
|
||||||
RECONNECT,
|
|
||||||
PLAYER_READY,
|
|
||||||
GAME_ASSIGNMENT,
|
|
||||||
GENERAL_ASSIGNMENT,
|
|
||||||
CHARACTER_SELECTION,
|
|
||||||
CONFIRM_SELECTION,
|
|
||||||
GAME_STRUCTURE,
|
|
||||||
REQUESTS,
|
|
||||||
EVENTS,
|
|
||||||
GOODBYE_CLIENT,
|
|
||||||
ERROR
|
|
||||||
}
|
|
@ -1,7 +1,6 @@
|
|||||||
package uulm.teamname.marvelous.gamelibrary.messages;
|
package uulm.teamname.marvelous.gamelibrary.messages;
|
||||||
|
|
||||||
import uulm.teamname.marvelous.gamelibrary.events.Event;
|
import uulm.teamname.marvelous.gamelibrary.events.Event;
|
||||||
import uulm.teamname.marvelous.gamelibrary.json.MessageType;
|
|
||||||
import uulm.teamname.marvelous.gamelibrary.requests.Request;
|
import uulm.teamname.marvelous.gamelibrary.requests.Request;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
@ -14,6 +14,7 @@ import uulm.teamname.marvelous.gamelibrary.events.Event;
|
|||||||
import uulm.teamname.marvelous.gamelibrary.events.EventBuilder;
|
import uulm.teamname.marvelous.gamelibrary.events.EventBuilder;
|
||||||
import uulm.teamname.marvelous.gamelibrary.events.EventType;
|
import uulm.teamname.marvelous.gamelibrary.events.EventType;
|
||||||
import uulm.teamname.marvelous.gamelibrary.messages.EventMessage;
|
import uulm.teamname.marvelous.gamelibrary.messages.EventMessage;
|
||||||
|
import uulm.teamname.marvelous.gamelibrary.messages.MessageType;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user