public override void Tick(Clock.EventType type) { switch (type) { case Clock.EventType.MainTick: default: if (CurrentPlayerOwner > GlobalData.NO_PLAYER) { currentUnits += 1 + currentLevel; } break; case Clock.EventType.IATick: break; } }
public override void Tick(Clock.EventType type) { if (planets.Count <= 0) { deactivated = true; } if (!deactivated) { if (type == Clock.EventType.IATick && AI != null) { //print("tick ia"); PendingAICycle = true; /*StopCoroutine("AICycle"); * StartCoroutine("AICYcle");*/ } } }
public abstract void Tick(Clock.EventType type);
public override void Tick(Clock.EventType type) { print("Tick de planeta " + type); }