C# Class wServer.realm.entities.StaticObject

Inheritance: Entity
Mostrar archivo Open project: C453/OryxKingdom Class Usage Examples

Public Methods

Method Description
GetHP ( System.Xml.Linq.XElement elem ) : int?
StaticObject ( short objType, int life, bool stat, bool dying, bool hittestable ) : System
Tick ( RealmTime time ) : void

Protected Methods

Method Description
CheckHP ( ) : bool
ExportStats ( object>.IDictionary stats ) : void
ImportStats ( StatsType stats, object val ) : void

Private Methods

Method Description
IsInteractive ( short objType ) : bool

Method Details

CheckHP() protected method

protected CheckHP ( ) : bool
return bool

ExportStats() protected method

protected ExportStats ( object>.IDictionary stats ) : void
stats object>.IDictionary
return void

GetHP() public static method

public static GetHP ( System.Xml.Linq.XElement elem ) : int?
elem System.Xml.Linq.XElement
return int?

ImportStats() protected method

protected ImportStats ( StatsType stats, object val ) : void
stats StatsType
val object
return void

StaticObject() public method

public StaticObject ( short objType, int life, bool stat, bool dying, bool hittestable ) : System
objType short
life int
stat bool
dying bool
hittestable bool
return System

Tick() public method

public Tick ( RealmTime time ) : void
time RealmTime
return void