Ejemplo n.º 1
0
    public void SelectionInput(RuneManager.Rune rune, Action action)
    {
        var tInput = ((RuneManager.WaitForSelection)rune);

        if (tInput.controller == this)
        {
            _state = ControllerState.WaitingForSelection;
        }
        action();
    }
Ejemplo n.º 2
0
 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);
         }
     }
 }
Ejemplo n.º 3
0
 public void OnMoveEvent(RuneManager.Rune moveEvent, System.Action action)
 {
     action();
 }