public static Type parseType(String message) {
		String prefix = message.split(" ")[0];
		if(prefix.equals(Message.ID_REQUEST_PREFIX))
			return Type.ID_REQUEST;
		if(prefix.equals(Message.ID_RESPONSE_PREFIX))
			return Type.ID_RESPONSE;
		if(prefix.equals(Message.SPAWN_PREFIX))
			return Type.SPAWN;
		if(prefix.equals(Message.DESPAWN_PREFIX))
			return Type.DESPAWN;
		if(prefix.equals(Message.MOVE_PREFIX))
			return Type.MOVE;
		if(prefix.equals(Message.BUMP_PREFIX))
			return Type.BUMP;
		if(prefix.equals(Message.SYNC_PREFIX))
			return Type.SYNC;
		return Type.UNKNOWN;
	}