public static int getActionFromInput(boolean a_thrust, int a_turn)
    {
        if(a_thrust)
        {
            if(a_turn == -1)
                return Controller.ACTION_THR_LEFT;
            else if(a_turn == 1)
                return Controller.ACTION_THR_RIGHT;
            else
                return Controller.ACTION_THR_FRONT;
        }
        else
        {
            if(a_turn == -1)
                return Controller.ACTION_NO_LEFT;
            else if(a_turn == 1)
                return Controller.ACTION_NO_RIGHT;
            else
                return Controller.ACTION_NO_FRONT;
        }

    }