public bool GetInputActive(eInput input) { if (!Theatre.CanPlayersMove()) { return(false); } return(SimpleInput.GetInputActive(input, index: ControlType)); }
protected virtual void Update() { for (int loop = 0; loop < SimpleInput.ControlSetCount; loop++) { if (Players.TryGetValue(loop, out var player)) { if (player == null) { Players.Remove(loop); AddPlayer(loop); } } if (!Players.ContainsKey(loop) && SimpleInput.GetInputActive(eInput.Dash, loop)) { AddPlayer(loop); } } }