Exemplo n.º 1
0
    private void PostActionBegin(TurnActionEventArgs args)
    {
        var handler = ActionBegin;

        if (handler != null)
        {
            handler(this, args);
        }
    }
Exemplo n.º 2
0
    private void PostActionComplete(TurnActionEventArgs args)
    {
        var handler = ActionComplete;

        if (handler != null)
        {
            handler(this, args);
        }
    }
Exemplo n.º 3
0
    protected virtual void HandleActionComplete(object sender, TurnActionEventArgs args)
    {
        if (args.IsFinal)
        {
            DelayEndTurn();
            return;
        }

        var canAct = CanTaisenAct(1);

        if (canAct)
        {
            ContinueTurn();
        }
        else
        {
            DelayEndTurn();
        }
    }
Exemplo n.º 4
0
 protected virtual void HandleActionBegin(object sender, TurnActionEventArgs args)
 {
 }
Exemplo n.º 5
0
 protected override void HandleActionBegin(object sender, TurnActionEventArgs args)
 {
     EndPlayerScan();
     unitMenu.ShowTaisenUnitMenu(false);
 }