AlphaFramework API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Protected Member Functions | List of all members
AlphaFramework.Editor.World.Commands.AddRemovePositionables< TCoordinates > Class Template Reference

Adds/removes one or more Positionable{TCoordinates}ies to/from a UniverseBase{TCoordinates}. More...

Inheritance diagram for AlphaFramework.Editor.World.Commands.AddRemovePositionables< TCoordinates >:
NanoByte::Common::Undo::SimpleCommand NanoByte::Common::Undo::IUndoCommand AlphaFramework.Editor.World.Commands.AddPositionables< TCoordinates > AlphaFramework.Editor.World.Commands.RemovePositionables< TCoordinates >

Protected Member Functions

 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...
 

Additional Inherited Members

- Public Member Functions inherited from NanoByte::Common::Undo::IUndoCommand
void Execute ()
 
void Undo ()
 

Detailed Description

Adds/removes one or more Positionable{TCoordinates}ies to/from a UniverseBase{TCoordinates}.

Type Constraints
TCoordinates :struct 

Constructor & Destructor Documentation

AlphaFramework.Editor.World.Commands.AddRemovePositionables< TCoordinates >.AddRemovePositionables ( UniverseBase< TCoordinates >  universe,
IEnumerable< Positionable< TCoordinates >>  positionables 
)
inlineprotected

Creates a new command for adding/removing one or more Positionable{TCoordinates}ies to/from a UniverseBase{TCoordinates}.

Parameters
universeThe UniverseBase{TCoordinates} to add to / remove from.
positionablesThe Positionable{TCoordinates}s to add/remove.

Member Function Documentation

void AlphaFramework.Editor.World.Commands.AddRemovePositionables< TCoordinates >.AddPositionables ( )
inlineprotected

Removes the entities from the universe

void AlphaFramework.Editor.World.Commands.AddRemovePositionables< TCoordinates >.RemovePositionables ( )
inlineprotected

Adds the entities to the universe


The documentation for this class was generated from the following file: