Ejemplo n.º 1
0
 protected AreaMapCellBase(IEnvironment environment)
 {
     ObjectsCollection = new MapObjectsCollection();
     LightLevel        = LightLevel.Darkness;
     Environment       = environment;
 }
Ejemplo n.º 2
0
 protected AreaMapCellBase(SaveData data)
 {
     ObjectsCollection = new MapObjectsCollection(data.GetObjectsCollection <IMapObject>(SaveKeyObjects));
     LightLevel        = (LightLevel)data.GetIntValue(SaveKeyLightLevel);
     Environment       = data.GetObject <IEnvironment>(SaveKeyEnvironment);
 }