public void Activate() { this.ownerTeam = EntityManager9.Owner.Team; this.lanePaths = new LanePaths(); this.enabled.ValueChange += this.EnabledOnValueChange; }
public void Activate() { this.ownerTeam = EntityManager9.Owner.Team; this.lanePaths = new LanePaths(); this.enabled.ValueChange += this.EnabledOnValueChange; this.spawnSleeper.Sleep(Math.Abs(Math.Min(GameManager.GameTime, 0)) - 0.5f); }
public WaveManager([Import] IServiceContext context) { myTeam = context.Owner.Team; lanePaths = new LanePaths(myTeam); }