Esempio 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;
    }
Esempio n. 2
0
 public JoystickEvent(DateTime time, JoystickKey key, JoystickKeyState state)
 {
     Time  = time;
     Key   = key;
     State = state;
 }
Esempio n. 3
0
 public JoystickEventArg(JoystickKey key)
 {
     Key      = key;
     Template = null;
 }