public static StateActor convertToState(int action){

		switch (action){

		case 8 : return UP;
		case 2 : return DOWN;
		case 4 : return LEFT;
		case 6 : return RIGHT;
		case 88 : return ATTACKINGUP;
		case 22 : return ATTACKINGDOWN;
		case 44 : return ATTACKINGLEFT;
		case 66 : return ATTACKINGRIGHT;
		default : return NONE;
		
		}
		
	}