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