protected void SetupFakeWorld(bool withABot = true, bool withFood = true) { if (withFood) { WorldStateService.GenerateStartingWorld(); } if (withABot) { WorldBotId = Guid.NewGuid(); WorldStateService.CreateBotObject(WorldBotId); } WorldStateService.GetState().WormholePairs = new List <Tuple <GameObject, GameObject> >(); }
private void OnRegisterBot(Guid id) { Logger.LogDebug("Core", "Registering new Bot"); worldStateService.CreateBotObject(id); }