C# Class NetMud.Data.Game.Inanimate

Inheritance: LocationEntityPartial, IInanimate
Datei anzeigen Open project: SwiftAusterity/NetMud Class Usage Examples

Public Methods

Method Description
GetModelDimensions ( ) : Tuple

Get's the entity's model dimensions

Inanimate ( ) : System

News up an empty entity

Inanimate ( IInanimateData backingStore ) : System

News up an entity with its backing data

Inanimate ( IInanimateData backingStore, IContains spawnTo ) : System

News up an entity with its backing data and where to spawn it into

RenderToLook ( IEntity actor ) : IEnumerable

Render this to a look command (what something sees when it 'look's at this

SpawnNewInWorld ( ) : void

Spawn this new into the live world

SpawnNewInWorld ( IContains spawnTo ) : void

Spawn this new into the live world into a specified container

Private Methods

Method Description
Inanimate ( DimensionalModel model ) : System

Method Details

GetModelDimensions() public method

Get's the entity's model dimensions
public GetModelDimensions ( ) : Tuple
return Tuple

Inanimate() public method

News up an empty entity
public Inanimate ( ) : System
return System

Inanimate() public method

News up an entity with its backing data
public Inanimate ( IInanimateData backingStore ) : System
backingStore IInanimateData the backing data
return System

Inanimate() public method

News up an entity with its backing data and where to spawn it into
public Inanimate ( IInanimateData backingStore, IContains spawnTo ) : System
backingStore IInanimateData the backing data
spawnTo IContains where to spawn this into
return System

RenderToLook() public method

Render this to a look command (what something sees when it 'look's at this
public RenderToLook ( IEntity actor ) : IEnumerable
actor IEntity
return IEnumerable

SpawnNewInWorld() public method

Spawn this new into the live world
public SpawnNewInWorld ( ) : void
return void

SpawnNewInWorld() public method

Spawn this new into the live world into a specified container
public SpawnNewInWorld ( IContains spawnTo ) : void
spawnTo IContains the location/container this should spawn into
return void