C# Class NetMud.Data.Game.Pathway

Inheritance: EntityPartial, IPathway
Datei anzeigen Open project: SwiftAusterity/NetMud Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetFromWorldOrSpawn ( ) : void

Tries to find this entity in the world based on its ID or gets a new one from the db and puts it in the world

GetModelDimensions ( ) : Tuple

Get's the entity's model dimensions

Pathway ( ) : System

News up an empty entity

Pathway ( IPathwayData backingStore ) : System

News up an entity with its backing data

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

Method Details

GetFromWorldOrSpawn() public method

Tries to find this entity in the world based on its ID or gets a new one from the db and puts it in the world
public GetFromWorldOrSpawn ( ) : void
return void

GetModelDimensions() public method

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

Pathway() public method

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

Pathway() public method

News up an entity with its backing data
public Pathway ( IPathwayData backingStore ) : System
backingStore IPathwayData the backing data
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