Esempio n. 1
0
 public RingSector(SunPoint sun_point, Environment.EnvironmentPreset environmentPresetType)
 {
     ID = lastFreeID;
     lastFreeID++;
     centralPoint = sun_point;
     centralPoint.SetStability(1f);
     environment = Environment.GetEnvironment(environmentPresetType);
     sun_point.SetStability(1f);
     innerPointsIDs = new Dictionary <byte, int>();
     destroyed      = false;
 }