public void SelectionInput(RuneManager.Rune rune, Action action) { var tInput = ((RuneManager.WaitForSelection)rune); if (tInput.controller == this) { _state = ControllerState.WaitingForSelection; } action(); }
public void OnCharacterMove(RuneManager.Rune rune, System.Action action) { RuneManager.MoveEvent moveEvent = (RuneManager.MoveEvent)rune; if (moveEvent.mover.Team != team) { if (!spottedEnemies.Contains(moveEvent.mover)) { spottedEnemies.Add(moveEvent.mover); } } }
public void OnMoveEvent(RuneManager.Rune moveEvent, System.Action action) { action(); }