private void PostActionBegin(TurnActionEventArgs args) { var handler = ActionBegin; if (handler != null) { handler(this, args); } }
private void PostActionComplete(TurnActionEventArgs args) { var handler = ActionComplete; if (handler != null) { handler(this, args); } }
protected virtual void HandleActionComplete(object sender, TurnActionEventArgs args) { if (args.IsFinal) { DelayEndTurn(); return; } var canAct = CanTaisenAct(1); if (canAct) { ContinueTurn(); } else { DelayEndTurn(); } }
protected virtual void HandleActionBegin(object sender, TurnActionEventArgs args) { }
protected override void HandleActionBegin(object sender, TurnActionEventArgs args) { EndPlayerScan(); unitMenu.ShowTaisenUnitMenu(false); }