Exemplo n.º 1
0
    //We could add anything here

    public Controller(int player)
    {
        this.player = (PlayerIndex)player;
        var keyBindings = Resources.Load <SO_KeyBindings>("Scriptable Objects/Key Bindings");

        mainWeapon          = keyBindings.mainWeapon;
        defensiveSkill      = keyBindings.defensiveSkill;
        complimentarySkill1 = keyBindings.complimentarySkill1;
        complimentarySkill2 = keyBindings.complimentarySkill2;
    }
Exemplo n.º 2
0
 public JoystickEvent(DateTime time, JoystickKey key, JoystickKeyState state)
 {
     Time  = time;
     Key   = key;
     State = state;
 }
Exemplo n.º 3
0
 public JoystickEventArg(JoystickKey key)
 {
     Key      = key;
     Template = null;
 }