public bool PushShip(double timeScale) { if (shipCount <= nextShipTimes.Count) { return(false); } nextShipTimes.Add(timeScale + KEK.GetShipRespawnTime()); endTime = nextShipTimes[0]; return(true); }
public bool TryMake(double timeScale) { if (!isStorm) { isStorm = true; endTime = timeScale + KEK.GetStorm(); } else { isStorm = false; endTime = timeScale + KEK.QStorm(stormMath); } return(true); }
public bool TryMake(double timeScale) { endTime = timeScale + interval; AddShip(new Statistic.Ship(timeScale, KEK.GenShips()), timeScale); return(true); }
public Storm() { isStorm = false; endTime = KEK.QStorm(stormMath); }
public Ship(double createTime, byte type) { this.createTime = createTime; this.type = type; inDockTime = KEK.GetLoadTime(type); }