AlphaFramework API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Protected Member Functions | List of all members
AlphaFramework.Editor.World.Commands.ChangeEntityTemplates Class Reference

Changes the ITemplated.TemplateName property of one or more EntityBase{TCoordinates,TTemplate}s. More...

Inheritance diagram for AlphaFramework.Editor.World.Commands.ChangeEntityTemplates:
NanoByte::Common::Undo::SimpleCommand NanoByte::Common::Undo::IUndoCommand

Public Member Functions

 ChangeEntityTemplates (IEnumerable< ITemplated > entities, string template)
 Creates a new command for changing the EntityTemplateBase{TSelf} of one or more EntityBase{TCoordinates,TTemplate}s. More...
 
- Public Member Functions inherited from NanoByte::Common::Undo::IUndoCommand
void Execute ()
 
void Undo ()
 

Protected Member Functions

override void OnExecute ()
 
override void OnUndo ()
 

Detailed Description

Changes the ITemplated.TemplateName property of one or more EntityBase{TCoordinates,TTemplate}s.

Constructor & Destructor Documentation

AlphaFramework.Editor.World.Commands.ChangeEntityTemplates.ChangeEntityTemplates ( IEnumerable< ITemplated entities,
string  template 
)
inline

Creates a new command for changing the EntityTemplateBase{TSelf} of one or more EntityBase{TCoordinates,TTemplate}s.

Parameters
entitiesThe EntityBase{TCoordinates,TTemplate}s to modify.
templateThe name of the new EntityTemplateBase{TSelf} to set.

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