refactor: moved MessageType
This commit is contained in:
		@ -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;
 | 
			
		||||
 | 
			
		||||
import uulm.teamname.marvelous.gamelibrary.events.Event;
 | 
			
		||||
import uulm.teamname.marvelous.gamelibrary.json.MessageType;
 | 
			
		||||
import uulm.teamname.marvelous.gamelibrary.requests.Request;
 | 
			
		||||
 | 
			
		||||
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.EventType;
 | 
			
		||||
import uulm.teamname.marvelous.gamelibrary.messages.EventMessage;
 | 
			
		||||
import uulm.teamname.marvelous.gamelibrary.messages.MessageType;
 | 
			
		||||
 | 
			
		||||
import java.util.*;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user