AlphaFramework API
1.0.3
|
Removes one or more Positionable<TCoordinates>s from a IUniverse. More...
Public Member Functions | |
RemovePositionables (UniverseBase< TCoordinates > universe, IEnumerable< Positionable< TCoordinates >> entities) | |
Creates a new command for removing one or more Positionable<TCoordinates>s from a IUniverse. More... | |
Public Member Functions inherited from NanoByte::Common::Undo::SimpleCommand | |
void | Execute () |
virtual void | Undo () |
Protected Member Functions | |
override void | OnExecute () |
Removes the Positionable<TCoordinates> from the IUniverse More... | |
override void | OnUndo () |
Adds the Positionable<TCoordinates> back to the IUniverse More... | |
Protected Member Functions inherited from AlphaFramework.Editor.World.Commands.AddRemovePositionables< TCoordinates > | |
AddRemovePositionables (UniverseBase< TCoordinates > universe, IEnumerable< Positionable< TCoordinates >> positionables) | |
Creates a new command for adding/removing one or more Positionable<TCoordinates>ies to/from a UniverseBase<TCoordinates>. More... | |
void | AddPositionables () |
Removes the entities from the universe More... | |
void | RemovePositionables () |
Adds the entities to the universe More... | |
Removes one or more Positionable<TCoordinates>s from a IUniverse.
TCoordinates | : | struct |
|
inline |
Creates a new command for removing one or more Positionable<TCoordinates>s from a IUniverse.
universe | The UniverseBase<TCoordinates> to remove from. |
entities | The Positionable<TCoordinates>s to remove. |
|
inlineprotectedvirtual |
Removes the Positionable<TCoordinates> from the IUniverse
Implements NanoByte::Common::Undo::SimpleCommand.
|
inlineprotectedvirtual |
Adds the Positionable<TCoordinates> back to the IUniverse
Implements NanoByte::Common::Undo::SimpleCommand.