Esempio n. 1
0
        public void AddInputHandler(Action callback, PlayerIndex playerIndex, params object[] inputs)
        {
            InputHandlerComponent inputHandlerComponent = new InputHandlerComponent(this, callback, playerIndex, inputs);

            Components.Add(inputHandlerComponent);
        }
Esempio n. 2
0
 public void AddInputHandler(Action callback, PlayerIndex playerIndex, params object[] inputs)
 {
     InputHandlerComponent inputHandlerComponent = new InputHandlerComponent(this, callback, playerIndex, inputs);
     Components.Add(inputHandlerComponent);
 }