A common base for all UniverseBase<TCoordinates> types.
More...
|
void | Update (double elapsedGameTime) |
| Updates the UniverseBase<TCoordinates> and all Positionable<TCoordinates>s in it. More...
|
|
void | Save (string path) |
| Saves this UniverseBase<TCoordinates> in a compressed XML file (map file). More...
|
|
void | Save () |
| Overwrites the map file this UniverseBase<TCoordinates> was loaded from with the changed data. More...
|
|
A common base for all UniverseBase<TCoordinates> types.
◆ Save() [1/2]
void AlphaFramework.World.IUniverse.Save |
( |
string |
path | ) |
|
Saves this UniverseBase<TCoordinates> in a compressed XML file (map file).
- Parameters
-
- Exceptions
-
IOException | A problem occurred while writing the file. |
UnauthorizedAccessException | Write access to the file is not permitted. |
Implemented in AlphaFramework.World.UniverseBase< TCoordinates >.
◆ Save() [2/2]
void AlphaFramework.World.IUniverse.Save |
( |
| ) |
|
Overwrites the map file this UniverseBase<TCoordinates> was loaded from with the changed data.
- Exceptions
-
IOException | A problem occurred while writing the file. |
UnauthorizedAccessException | Write access to the file is not permitted. |
Implemented in AlphaFramework.World.UniverseBase< TCoordinates >.
◆ Update()
void AlphaFramework.World.IUniverse.Update |
( |
double |
elapsedGameTime | ) |
|
Updates the UniverseBase<TCoordinates> and all Positionable<TCoordinates>s in it.
- Parameters
-
elapsedGameTime | How much game time in seconds has elapsed since this method was last called. |
Implemented in AlphaFramework.World.UniverseBase< TCoordinates >.
◆ SourceFile
string AlphaFramework.World.IUniverse.SourceFile |
|
getset |
The map file this world was loaded from.
Is not serialized/stored, is set by whatever method loads the universe.
The documentation for this interface was generated from the following file: