예제 #1
0
    public GamePlayActions()
    {
        select   = CreatePlayerAction("Select");
        deselect = CreatePlayerAction("Deselect");

        up              = CreatePlayerAction("Up");
        down            = CreatePlayerAction("Down");
        left            = CreatePlayerAction("Left");
        right           = CreatePlayerAction("Right");
        directionalAxis = CreateTwoAxisPlayerAction(left, right, down, up);

        menuPause  = CreatePlayerAction("MenuPause");
        menuSelect = CreatePlayerAction("MenuSelect");
        menuGoBack = CreatePlayerAction("MenuGoBack");

        menuLeft  = CreatePlayerAction("MenuLeft");
        menuRight = CreatePlayerAction("MenuRight");
        menuUp    = CreatePlayerAction("MenuUp");
        menuDown  = CreatePlayerAction("MenuDown");

        // Specific Key Actions
        leftCtrl  = CreatePlayerAction("LeftCtrl");
        leftShift = CreatePlayerAction("LeftShift");
        enter     = CreatePlayerAction("Enter");
        tab       = CreatePlayerAction("Tab");
    }
        public PlayerActions()
        {
            Green  = CreatePlayerAction("Green");
            Red    = CreatePlayerAction("Red");
            Blue   = CreatePlayerAction("Blue");
            Yellow = CreatePlayerAction("Yellow");

            AButton = CreatePlayerAction("AButton");
            BButton = CreatePlayerAction("BButton");
            XButton = CreatePlayerAction("XButton");
            YButton = CreatePlayerAction("YButton");

            RBumper = CreatePlayerAction("RBumper");
            LBumper = CreatePlayerAction("LBumper");

            Start = CreatePlayerAction("Start");

            Left  = CreatePlayerAction("Left");
            Right = CreatePlayerAction("Right");
            Up    = CreatePlayerAction("Up");
            Down  = CreatePlayerAction("Down");

            RLeft  = CreatePlayerAction("RLeft");
            RRight = CreatePlayerAction("RRight");
            RUp    = CreatePlayerAction("RUp");
            RDown  = CreatePlayerAction("RDown");

            Rotate  = CreateTwoAxisPlayerAction(Left, Right, Down, Up);
            RRotate = CreateTwoAxisPlayerAction(RLeft, RRight, RDown, RUp);
        }
예제 #3
0
    public ActorPlayerControllerBindings()
    {
        //fire buttons
        FireOne = CreatePlayerAction("FireOne");
        FireTwo = CreatePlayerAction("FireTwo");

        //movement
        MoveForward  = CreatePlayerAction("MoveForward");
        MoveRight    = CreatePlayerAction("MoveRight");
        MoveBackward = CreatePlayerAction("MoveBackward");
        MoveLeft     = CreatePlayerAction("MoveLeft");
        MoveAxes     = CreateTwoAxisPlayerAction(MoveLeft, MoveRight, MoveBackward, MoveForward);

        //jump
        Jump = CreatePlayerAction("Jump");

        //aiming
        AimUp    = CreatePlayerAction("AimUp");
        AimRight = CreatePlayerAction("AimRight");
        AimDown  = CreatePlayerAction("AimDown");
        AimLeft  = CreatePlayerAction("AimLeft");
        AimAxes  = CreateTwoAxisPlayerAction(AimLeft, AimRight, AimDown, AimUp);

        GenerateMyLog            = CreatePlayerAction("GenerateMyLog");
        AutoGenerateAllActorLogs = CreatePlayerAction("AutoGenerateAllActorLogs");
    }
예제 #4
0
    public PlayerActions()
    {
        Move_Left  = CreatePlayerAction("Move Left");
        Move_Right = CreatePlayerAction("Move Right");
        Move_Up    = CreatePlayerAction("Move Up");
        Move_Down  = CreatePlayerAction("Move Down");
        GE_Move    = CreateTwoAxisPlayerAction(Move_Left, Move_Right, Move_Down, Move_Up);

        Fire_Left  = CreatePlayerAction("Fire Left");
        Fire_Right = CreatePlayerAction("Fire Right");
        Fire_Up    = CreatePlayerAction("Fire Up");
        Fire_Down  = CreatePlayerAction("Fire Down");
        GE_Fire    = CreateTwoAxisPlayerAction(Fire_Left, Fire_Right, Fire_Down, Fire_Up);

        GE_Blink = CreatePlayerAction("Ship blink");
        GE_Bomb  = CreatePlayerAction("Bomb");

        UI_Pause   = CreatePlayerAction("Pause");
        UI_Back    = CreatePlayerAction("Back");
        UI_Confirm = CreatePlayerAction("Confirm");

        UI_DevMenu = CreatePlayerAction("DevMenu");

        SetDefaultBindings();
    }
        //TODO Unused dpad, menu button, back button, joystick buttons, right trigger
        //TODO dpad for quick items???
        //TODO Primary2


        public TopDownActions()
        {
            Jump          = CreatePlayerAction("Jump");
            Crouch        = CreatePlayerAction("Crouch");
            Interact      = CreatePlayerAction("Interact");
            Command       = CreatePlayerAction("Command");
            MoveLeft      = CreatePlayerAction("MoveLeft");
            MoveRight     = CreatePlayerAction("MoveRight");
            MoveUp        = CreatePlayerAction("MoveUp");
            MoveDown      = CreatePlayerAction("MoveDown");
            Move          = CreateTwoAxisPlayerAction(MoveLeft, MoveRight, MoveDown, MoveUp);
            FaceLeft      = CreatePlayerAction("FaceLeft");
            FaceRight     = CreatePlayerAction("FaceRight");
            FaceUp        = CreatePlayerAction("FaceUp");
            FaceDown      = CreatePlayerAction("FaceDown");
            Rotate        = CreateTwoAxisPlayerAction(FaceLeft, FaceRight, FaceDown, FaceUp);
            Primary       = CreatePlayerAction("Primary");
            Secondary     = CreatePlayerAction("Secondary");
            TriggerAction = CreatePlayerAction("TriggerAction");
            LockOn        = CreatePlayerAction("LockOn");
            SpeechUp      = CreatePlayerAction("SpeechUp");
            SpeechDown    = CreatePlayerAction("SpeechDown");
            SpeechLeft    = CreatePlayerAction("SpeechLeft");
            SpeechRight   = CreatePlayerAction("SpeechRight");
            Back          = CreatePlayerAction("Back");
            Start         = CreatePlayerAction("Start");
            Bonus1        = CreatePlayerAction("Bonus1");
            Bonus2        = CreatePlayerAction("Bonus2");
        }
예제 #6
0
    public BasicActionSet()
    {
        MoveLeft  = CreatePlayerAction("Move Left");
        MoveRight = CreatePlayerAction("Move Right");
        MoveUp    = CreatePlayerAction("Move Up");
        MoveDown  = CreatePlayerAction("Move Down");
        Move      = CreateTwoAxisPlayerAction(MoveLeft, MoveRight, MoveDown, MoveUp);

        MoveUp.StateThreshold    = 0.4f;
        MoveDown.StateThreshold  = 0.4f;
        MoveLeft.StateThreshold  = 0.4f;
        MoveRight.StateThreshold = 0.4f;

        HoldPosition = CreatePlayerAction("Hold Position");
        Activate     = CreatePlayerAction("Activate");
        Spell        = CreatePlayerAction("Cast Spell");

        Pause = CreatePlayerAction("Pause");

        ToggleMap = CreatePlayerAction("Activate Map");

        Like    = CreatePlayerAction("Like");
        Dislike = CreatePlayerAction("Dislike");

        CloseMenu = CreatePlayerAction("Close Menu");
        Dance     = CreatePlayerAction("Dance");
    }
예제 #7
0
 public PlayerActions()
 {
     LeftHand        = CreatePlayerAction("Left Hand");
     RightHand       = CreatePlayerAction("Right Hand");
     Jump            = CreatePlayerAction("Jump");
     Unconscious     = CreatePlayerAction("Play Dead");
     Left            = CreatePlayerAction("Move Left");
     Right           = CreatePlayerAction("Move Right");
     Forward         = CreatePlayerAction("Move Forward");
     Back            = CreatePlayerAction("Move Back");
     Move            = CreateTwoAxisPlayerAction(Left, Right, Back, Forward);
     LookLeft        = CreatePlayerAction("Look Left");
     LookRight       = CreatePlayerAction("Look Right");
     LookUp          = CreatePlayerAction("Look Up");
     LookDown        = CreatePlayerAction("Look Down");
     Calibrate       = CreatePlayerAction("Calibrate");
     ViewPlayerNames = CreatePlayerAction("View Player Names");
     ShootFireworks  = CreatePlayerAction("Shoot Fireworks");
     Look            = CreateTwoAxisPlayerAction(LookLeft, LookRight, LookDown, LookUp);
     LookLeft.Raw    = true;
     LookRight.Raw   = true;
     LookUp.Raw      = true;
     LookDown.Raw    = true;
     Look.Raw        = true;
 }
예제 #8
0
        public PlayerActions()
        {
            RotateShipClock  = CreatePlayerAction("RotateShipClock");
            RotateShipAClock = CreatePlayerAction("RotateShipAClock");
            RotateShip       = CreateOneAxisPlayerAction(RotateShipClock, RotateShipAClock);
            PushShip         = CreatePlayerAction("PushShip");

            RotateCatcherClock  = CreatePlayerAction("RotateCatcherClock");
            RotateCatcherAClock = CreatePlayerAction("RotateCatcherAClock");
            RotateCatcher       = CreateOneAxisPlayerAction(RotateCatcherClock, RotateCatcherAClock);
            PushCatcher         = CreatePlayerAction("PushCatcher");

            //RotateCatcherClock2 = CreatePlayerAction("RotateCatcherClock2");
            //RotateCatcherAClock2 = CreatePlayerAction("RotateCatcherAClock2");
            //RotateCatcher2 = CreateOneAxisPlayerAction(RotateCatcherClock2, RotateCatcherAClock2);
            //PushCatcher2 = CreatePlayerAction("PushCatcher2");

            RotateLightClock  = CreatePlayerAction("RotateLightClock");
            RotateLightAClock = CreatePlayerAction("RotateLightAClock");
            RotateLight       = CreateOneAxisPlayerAction(RotateLightClock, RotateLightAClock);
            Left     = CreatePlayerAction("Left");
            Right    = CreatePlayerAction("Right");
            Up       = CreatePlayerAction("Up");
            Down     = CreatePlayerAction("Down");
            Rotate   = CreateTwoAxisPlayerAction(Left, Right, Down, Up);
            joinGame = CreatePlayerAction("Join");
        }
 public ControllerActions()
 {
     A              = CreatePlayerAction("A");
     B              = CreatePlayerAction("B");
     X              = CreatePlayerAction("X");
     Y              = CreatePlayerAction("Y");
     LeftJoyLeft    = CreatePlayerAction("LeftJoyLeft");
     LeftJoyRight   = CreatePlayerAction("LeftJoyRight");
     LeftJoyUp      = CreatePlayerAction("LeftJoyUp");
     LeftJoyDown    = CreatePlayerAction("LeftJoyDown");
     LeftJoy        = CreateTwoAxisPlayerAction(LeftJoyLeft, LeftJoyRight, LeftJoyDown, LeftJoyUp);
     RightJoyLeft   = CreatePlayerAction("RightJoyLeft");
     RightJoyRight  = CreatePlayerAction("RightJoyRight");
     RightJoyUp     = CreatePlayerAction("RightJoyUp");
     RightJoyDown   = CreatePlayerAction("RightJoyDown");
     RightJoy       = CreateTwoAxisPlayerAction(RightJoyLeft, RightJoyRight, RightJoyDown, RightJoyUp);
     RightBumper    = CreatePlayerAction("RightBumper");
     LeftBumper     = CreatePlayerAction("LeftBumper");
     RightTrigger   = CreatePlayerAction("RightTrigger");
     LeftTrigger    = CreatePlayerAction("LeftTrigger");
     DPadUp         = CreatePlayerAction("DPadUp");
     DPadDown       = CreatePlayerAction("DPadDown");
     DPadLeft       = CreatePlayerAction("DPadLeft");
     DPadRight      = CreatePlayerAction("DPadRight");
     Back           = CreatePlayerAction("Back");
     Start          = CreatePlayerAction("Start");
     LeftJoyButton  = CreatePlayerAction("LeftJoyButton");
     RightJoyButton = CreatePlayerAction("RightJoyButton");
 }
예제 #10
0
    //摇杆按钮定义
    public ControllerActions()
    {
        _joyActions[EControllerBtns.Sure]   = CreatePlayerAction("Sure");
        _joyActions[EControllerBtns.Cancel] = CreatePlayerAction("Cancel");
        _joyActions[EControllerBtns.Pause]  = CreatePlayerAction("Pause");

        _joyActions[EControllerBtns.Shoot]     = CreatePlayerAction("Shoot");
        _joyActions[EControllerBtns.Explosion] = CreatePlayerAction("Explosion");
        _joyActions[EControllerBtns.SlowMove]  = CreatePlayerAction("SlowMove");
        _joyActions[EControllerBtns.Debug]     = CreatePlayerAction("Debug");

        var left  = CreatePlayerAction("Move Left");
        var right = CreatePlayerAction("Move Right");
        var up    = CreatePlayerAction("Move Up");
        var down  = CreatePlayerAction("Move Down");

        Move = CreateTwoAxisPlayerAction(left, right, down, up);
        _joyActions[EControllerBtns.Left]  = left;
        _joyActions[EControllerBtns.Right] = right;
        _joyActions[EControllerBtns.Up]    = up;
        _joyActions[EControllerBtns.Down]  = down;

        var turnLeft  = CreatePlayerAction("Turn Left");
        var turnRight = CreatePlayerAction("Turn Right");
        var turnUp    = CreatePlayerAction("Turn Up");
        var turnDown  = CreatePlayerAction("Turn Down");

        Turn = CreateTwoAxisPlayerAction(turnLeft, turnRight, turnDown, turnUp);

        _joyActions[EControllerBtns.TurnLeft]  = turnLeft;
        _joyActions[EControllerBtns.TurnRight] = turnRight;
        _joyActions[EControllerBtns.TurnUp]    = turnUp;
        _joyActions[EControllerBtns.TurnDown]  = turnDown;
    }
예제 #11
0
        public PlayerControls()
        {
            MouseLeft  = CreatePlayerAction("Mouse Left Click");
            MouseRight = CreatePlayerAction("Mouse Right Click");

            LookButton = CreatePlayerAction("Mouse look");

            ZoomIn  = CreatePlayerAction("Zoom in (mouse)");
            ZoomOut = CreatePlayerAction("Zoom out (mouse)");
            Zoom    = CreateOneAxisPlayerAction(ZoomIn, ZoomOut);

            ZoomKeyboardIn  = CreatePlayerAction("Zoom in (keyboard)");
            ZoomKeyboardOut = CreatePlayerAction("Zoom out (keyboard)");
            ZoomKeyboard    = CreateOneAxisPlayerAction(ZoomKeyboardIn, ZoomKeyboardOut);

            MousePositiveX = CreatePlayerAction("Look positive X (mouse)");
            MousePositiveY = CreatePlayerAction("Look positive Y (mouse)");
            MouseNegativeX = CreatePlayerAction("Look negative X (mouse)");
            MouseNegativeY = CreatePlayerAction("Look negative Y (mouse)");
            LookMouse      = CreateTwoAxisPlayerAction(MouseNegativeX, MousePositiveX, MouseNegativeY, MousePositiveY);

            KeyboardPositiveX = CreatePlayerAction("Look positive X (keyboard)");
            KeyboardPositiveY = CreatePlayerAction("Look positive Y (keyboard)");
            KeyboardNegativeX = CreatePlayerAction("Look negative X (keyboard)");
            KeyboardNegativeY = CreatePlayerAction("Look negative Y (keyboard)");
            LookKeyboard      = CreateTwoAxisPlayerAction(KeyboardNegativeX, KeyboardPositiveX, KeyboardNegativeY, KeyboardPositiveY);
        }
예제 #12
0
        public PlayerActions()
        {
            Fire = CreatePlayerAction("Fire");
            Rush = CreatePlayerAction("Rush");

            Left  = CreatePlayerAction("Move Left");
            Right = CreatePlayerAction("Move Right");
            Up    = CreatePlayerAction("Move Up");
            Down  = CreatePlayerAction("Move Down");
            Move  = CreateTwoAxisPlayerAction(Left, Right, Down, Up);

            MouseLeft  = CreatePlayerAction("Mouse Left");
            MouseRight = CreatePlayerAction("Mouse Right");
            MouseUp    = CreatePlayerAction("Mouse Up");
            MouseDown  = CreatePlayerAction("Mouse Down");
            MouseMove  = CreateTwoAxisPlayerAction(MouseLeft, MouseRight, MouseDown, MouseUp);

            Left3D  = CreatePlayerAction("Move Left 3D");
            Right3D = CreatePlayerAction("Move Right 3D");
            Front3D = CreatePlayerAction("Move Up 3D");
            Back3D  = CreatePlayerAction("Move Down 3D");
            Move3D  = CreateTwoAxisPlayerAction(Left3D, Right3D, Front3D, Back3D);

            Jump   = CreatePlayerAction("Jump");
            Attack = CreatePlayerAction("Attack");
        }
예제 #13
0
    protected PlayerTwoAxisAction CreateTwoAxisPlayerAction(PlayerAction negativeXAction, PlayerAction positiveXAction, PlayerAction negativeYAction, PlayerAction positiveYAction)
    {
        var action = new PlayerTwoAxisAction(negativeXAction, positiveXAction, negativeYAction, positiveYAction);

        twoAxisActions.Add(action);
        return(action);
    }
예제 #14
0
    public PlayerActions()
    {
        MoveForward  = CreatePlayerAction("Move Forward");
        MoveBackward = CreatePlayerAction("Move Backward");
        StrafeLeft   = CreatePlayerAction("Strafe Left");
        StrafeRight  = CreatePlayerAction("Strafe Right");

        Move = CreateTwoAxisPlayerAction(StrafeLeft, StrafeRight, MoveBackward, MoveForward);

        LookUp    = CreatePlayerAction("Look Up");
        LookDown  = CreatePlayerAction("Look Down");
        LookLeft  = CreatePlayerAction("Look Left");
        LookRight = CreatePlayerAction("Look Right");

        Look = CreateTwoAxisPlayerAction(LookLeft, LookRight, LookDown, LookUp);

        LeanLeft  = CreatePlayerAction("Lean Left");
        LeanRight = CreatePlayerAction("Lean Right");

        UseTool = CreatePlayerAction("Use Tool");

        ClearSequence = CreatePlayerAction("Clear/Confirm Sequence");

        ToolInputOne   = CreatePlayerAction("Tool Input One");
        ToolInputTwo   = CreatePlayerAction("Tool Input Two");
        ToolInputThree = CreatePlayerAction("Tool Input Three");
        ToolInputFour  = CreatePlayerAction("Tool Input Four");
        ToolInputFive  = CreatePlayerAction("Tool Input Five");
        ToolInputSix   = CreatePlayerAction("Tool Input Six");
        ToolInputSeven = CreatePlayerAction("Tool Input Seven");
        ToolInputEight = CreatePlayerAction("Tool Input Eight");
    }
예제 #15
0
    public PlayerBindings()
    {
        moveLeft    = CreatePlayerAction("Move Left");
        moveRight   = CreatePlayerAction("Move Right");
        moveForward = CreatePlayerAction("Move Forward");
        moveBack    = CreatePlayerAction("Move Back");
        move        = CreateTwoAxisPlayerAction(moveLeft, moveRight, moveBack, moveForward);

        lookLeft  = CreatePlayerAction("look Left");
        lookRight = CreatePlayerAction("look Right");
        lookDown  = CreatePlayerAction("look Down");
        lookUp    = CreatePlayerAction("look Up");
        look      = CreateTwoAxisPlayerAction(lookLeft, lookRight, lookDown, lookUp);

        interact = CreatePlayerAction("Interact");
        fire     = CreatePlayerAction("Fire");
        blink    = CreatePlayerAction("Blink");
        cancel   = CreatePlayerAction("Cancel");
        respawn  = CreatePlayerAction("Respawn");

        ragdoll   = CreatePlayerAction("Ragdoll");
        pauseGame = CreatePlayerAction("Pause Game");

        hotbar1 = CreatePlayerAction("Hotbar One");
        hotbar2 = CreatePlayerAction("Hotbar Two");
        hotbar3 = CreatePlayerAction("Hotbar Three");
        hotbar4 = CreatePlayerAction("Hotbar Four");
        hotbar5 = CreatePlayerAction("Hotbar Five");
    }
예제 #16
0
    public ControlActions()
    {
        Submit = CreatePlayerAction("Submit");
        Cancel = CreatePlayerAction("Cancel");

        Menu      = CreatePlayerAction("Menu");
        Inventory = CreatePlayerAction("Inventory");

        MoveUp    = CreatePlayerAction("MoveUp");
        MoveLeft  = CreatePlayerAction("MoveLeft");
        MoveDown  = CreatePlayerAction("MoveDown");
        MoveRight = CreatePlayerAction("MoveRight");
        Move      = CreateTwoAxisPlayerAction(MoveLeft, MoveRight, MoveDown, MoveUp);

        AttackUp    = CreatePlayerAction("AttackUp");
        AttackLeft  = CreatePlayerAction("AttackLeft");
        AttackDown  = CreatePlayerAction("AttackDown");
        AttackRight = CreatePlayerAction("AttackRight");
        Attack      = CreateTwoAxisPlayerAction(AttackLeft, AttackRight, AttackDown, AttackUp);

        Flip         = CreatePlayerAction("Flip");
        NextPage     = CreatePlayerAction("NextPage");
        PreviousPage = CreatePlayerAction("PreviousPage");

        ToggleName = CreatePlayerAction("ToggleName");

        Skill_0 = CreatePlayerAction("Skill_0");
        Skill_1 = CreatePlayerAction("Skill_1");
        Skill_2 = CreatePlayerAction("Skill_2");
        Skill_3 = CreatePlayerAction("Skill_3");

        MapKeyboard();
        MapJoystick();
    }
 private void configureMovementActions()
 {
     MoveLeft     = initializeAction(MovementActions.LEFT);
     MoveRight    = initializeAction(MovementActions.RIGHT);
     MoveForward  = initializeAction(MovementActions.FORWARD);
     MoveBackward = initializeAction(MovementActions.BACKWARD);
     Move         = initializeAction(MoveLeft, MoveRight, MoveBackward, MoveForward);
 }
예제 #18
0
 public void Initialize(PlayerTwoAxisAction selector, PlayerAction choose, PlayerAction back, PlayerAction cycleLeft, PlayerAction cycleRight)
 {
     this.selector   = selector;
     this.choose     = choose;
     this.back       = back;
     this.cycleLeft  = cycleLeft;
     this.cycleRight = cycleRight;
 }
 private void configureCameraActions()
 {
     LookLeft  = initializeAction(CameraActions.LEFT);
     LookRight = initializeAction(CameraActions.RIGHT);
     LookUp    = initializeAction(CameraActions.UP);
     LookDown  = initializeAction(CameraActions.DOWN);
     Look      = initializeAction(LookLeft, LookRight, LookUp, LookDown);
 }
        public PlayerTwoAxisAction GetMouse()
        {
            _mouseMove = CreateTwoAxisPlayerAction(_allActions[ActionEnum.Left],
                                                   _allActions[ActionEnum.Right],
                                                   _allActions[ActionEnum.Down],
                                                   _allActions[ActionEnum.Up]);

            return(_mouseMove);
        }
예제 #21
0
 public PlayerActions()
 {
     Dash  = CreatePlayerAction("Dash");
     Smash = CreatePlayerAction("Smash");
     Up    = CreatePlayerAction("Up");
     Down  = CreatePlayerAction("Down");
     Left  = CreatePlayerAction("Left");
     Right = CreatePlayerAction("Right");
     Move  = CreateTwoAxisPlayerAction(Left, Right, Down, Up);
 }
예제 #22
0
 public PlayerActions()
 {
     Fire  = CreatePlayerAction("Fire");
     Jump  = CreatePlayerAction("Jump");
     Left  = CreatePlayerAction("Move Left");
     Right = CreatePlayerAction("Move Right");
     Up    = CreatePlayerAction("Move Up");
     Down  = CreatePlayerAction("Move Down");
     Move  = CreateTwoAxisPlayerAction(Left, Right, Down, Up);
 }
예제 #23
0
 public InputModuleActions()
 {
     Submit = CreatePlayerAction("Submit");
     Cancel = CreatePlayerAction("Cancel");
     Left   = CreatePlayerAction("Move Left");
     Right  = CreatePlayerAction("Move Right");
     Up     = CreatePlayerAction("Move Up");
     Down   = CreatePlayerAction("Move Down");
     Move   = CreateTwoAxisPlayerAction(Left, Right, Down, Up);
 }
예제 #24
0
 public MainPlayerActionSet()
 {
     moveLeft  = CreatePlayerAction("Move Left");
     moveRight = CreatePlayerAction("Move Right");
     moveUp    = CreatePlayerAction("Move Up");
     moveDown  = CreatePlayerAction("Move Down");
     moveAxis  = CreateTwoAxisPlayerAction(moveLeft, moveRight, moveDown, moveUp);
     jump      = CreatePlayerAction("Jump");
     interact  = CreatePlayerAction("Interact");
 }
예제 #25
0
 public PlayerActions()
 {
     Attack  = CreatePlayerAction("Attack");
     Jump    = CreatePlayerAction("Jump");
     Pick    = CreatePlayerAction("Pick");
     Forward = CreatePlayerAction("Forward");
     Back    = CreatePlayerAction("Back");
     Left    = CreatePlayerAction("Left");
     Right   = CreatePlayerAction("Right");
     Move    = CreateTwoAxisPlayerAction(Left, Right, Back, Forward);
 }
예제 #26
0
    public PlayerActions()
    {
        Up    = CreatePlayerAction("Up");
        Down  = CreatePlayerAction("Down");
        Left  = CreatePlayerAction("Left");
        Right = CreatePlayerAction("Right");

        Move = CreateTwoAxisPlayerAction(Left, Right, Down, Up);

        PrimaryAction = CreatePlayerAction("Primary Action");
    }
예제 #27
0
    public PlayerActions()
    {
        Attack = CreatePlayerAction("Attack");
        Melee  = CreatePlayerAction("Melee");

        Left  = CreatePlayerAction("Move Left");
        Right = CreatePlayerAction("Move Right");
        Up    = CreatePlayerAction("Move Forward");
        Down  = CreatePlayerAction("Move Backward");
        Move  = CreateTwoAxisPlayerAction(Left, Right, Down, Up);
    }
예제 #28
0
    public GameActions()
    {
        Up    = CreatePlayerAction("Move Up");
        Down  = CreatePlayerAction("Move Down");
        Left  = CreatePlayerAction("Move Left");
        Right = CreatePlayerAction("Move Right");
        Move  = CreateTwoAxisPlayerAction(Left, Right, Down, Up);

        Attack = CreatePlayerAction("Attack");
        Defend = CreatePlayerAction("Defend");
    }
    public CharacterActionz()
    {
        up    = CreatePlayerAction("up");
        down  = CreatePlayerAction("down");
        left  = CreatePlayerAction("left");
        right = CreatePlayerAction("right");

        action = CreatePlayerAction("action");

        move = CreateTwoAxisPlayerAction(left, right, down, up);
    }
 public CharacterActions()
 {
     Select = CreatePlayerAction("Select");
     Left   = CreatePlayerAction("Move Left");
     Right  = CreatePlayerAction("Move Right");
     Up     = CreatePlayerAction("Move Up");
     Down   = CreatePlayerAction("Move Down");
     Shoot  = CreatePlayerAction("Shoot");
     Move   = CreateTwoAxisPlayerAction(Left, Right, Down, Up);
     Switch = CreatePlayerAction("Switch Ships");
 }