Exemple #1
0
 // Create large fish entities
 public static void PopulateSnapshotWithLargeFish(ref Dictionary <EntityId, Entity> snapshotEntities, ref int nextAvailableId)
 {
     foreach (var location in SimulationSettings.LargeFishStartingLocations)
     {
         snapshotEntities.Add(new EntityId(nextAvailableId++), EntityTemplateFactory.GenerateLargeFishTemplate(location));
     }
 }