Пример #1
0
 protected Procedural(City city, long seed)
 {
     if (city == null) throw new ArgumentNullException(nameof(city));
     Seed = seed;
     City = city;
     rng = new RNG(BaseSeed, seed);
     GenerateStatic();
     GenerateDynamic();
 }
Пример #2
0
 protected Actor(City city)
 {
     if (city == null) throw new ArgumentNullException(nameof(city));
     _city = city;
     _priority = Meta.GetDefaultPriority(GetType());
 }
Пример #3
0
 protected Actor(City city, ActorPriority priority = ActorPriority.A)
 {
     if (city == null) throw new ArgumentNullException(nameof(city));
     _city = city;
     _priority = priority;
 }