Example #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();
 }
Example #2
0
 protected Actor(City city)
 {
     if (city == null) throw new ArgumentNullException(nameof(city));
     _city = city;
     _priority = Meta.GetDefaultPriority(GetType());
 }
Example #3
0
 protected Actor(City city, ActorPriority priority = ActorPriority.A)
 {
     if (city == null) throw new ArgumentNullException(nameof(city));
     _city = city;
     _priority = priority;
 }