C# Class PolaMUD.Thing

Thing is the parent of just about everything. Mobs, Players, Rooms - they're all Things!
Show file Open project: Polatrite/PolaMUD Class Usage Examples

Public Properties

Property Type Description
Contents List
IndexNumber int
Location Thing
Name string

Public Methods

Method Description
Thing ( ) : System

Method Details

Thing() public method

public Thing ( ) : System
return System

Property Details

Contents public property

A list of Things contained within this Thing. ex. Mobs in a Room ex. Items in a Mob
public List Contents
return List

IndexNumber public property

The global IndexNumber (or vnum) of the Thing.
public int IndexNumber
return int

Location public property

Our current location (the Thing we are contained within)
public Thing,PolaMUD Location
return Thing

Name public property

The name to use for displaying messages related to this Thing.
public string Name
return string