C# Class CellAO.Core.Entities.Dynel

Inheritance: PooledObject, IDynel
Show file Open project: CellAO/CellAO-NightPredator Class Usage Examples

Public Properties

Property Type Description
IsTeleporting bool
Textures List

Protected Properties

Property Type Description
PredictionTime System.DateTime
meshLayer CellAO.Core.Textures.MeshLayers
spinDirection SpinOrStrafeDirections

Public Methods

Method Description
Coordinates ( ) : Coordinate

Coordinates ( Coordinate position ) : void
Coordinates ( Vector position ) : void
Coordinates ( SmokeLounge.AOtomation.Messaging.GameData.Vector3 position ) : void
Dynel ( SmokeLounge.AOtomation.Messaging.GameData.Identity parent, SmokeLounge.AOtomation.Messaging.GameData.Identity id ) : System

InPlayfield ( SmokeLounge.AOtomation.Messaging.GameData.Identity identity ) : bool

Read ( ) : bool

Save ( ) : void

Wrapper for this.Write()

Send ( SmokeLounge.AOtomation.Messaging.Messages.MessageBody messageBody ) : void

Send ( SmokeLounge.AOtomation.Messaging.Messages.MessageBody messageBody, bool announceToPlayfield ) : void

Send ( SmokeLounge.AOtomation.Messaging.Messages.SystemMessage message ) : void

SendChangedStats ( ) : void

Teleport ( Coordinate destination, IQuaternion heading, SmokeLounge.AOtomation.Messaging.GameData.Identity playfield ) : void

Write ( ) : bool

WriteStats ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

calculateTurnArcAngle ( ) : double

Calculate Turnangle

Private Methods

Method Description
calculateTurnTime ( ) : double

Calculate Turn time

Method Details

Coordinates() public method

public Coordinates ( ) : Coordinate
return Coordinate

Coordinates() public method

public Coordinates ( Coordinate position ) : void
position Coordinate
return void

Coordinates() public method

public Coordinates ( Vector position ) : void
position Vector
return void

Coordinates() public method

public Coordinates ( SmokeLounge.AOtomation.Messaging.GameData.Vector3 position ) : void
position SmokeLounge.AOtomation.Messaging.GameData.Vector3
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool ///
return void

Dynel() public method

public Dynel ( SmokeLounge.AOtomation.Messaging.GameData.Identity parent, SmokeLounge.AOtomation.Messaging.GameData.Identity id ) : System
parent SmokeLounge.AOtomation.Messaging.GameData.Identity
id SmokeLounge.AOtomation.Messaging.GameData.Identity ///
return System

InPlayfield() public method

public InPlayfield ( SmokeLounge.AOtomation.Messaging.GameData.Identity identity ) : bool
identity SmokeLounge.AOtomation.Messaging.GameData.Identity ///
return bool

Read() public method

///
public Read ( ) : bool
return bool

Save() public method

Wrapper for this.Write()
public Save ( ) : void
return void

Send() public method

public Send ( SmokeLounge.AOtomation.Messaging.Messages.MessageBody messageBody ) : void
messageBody SmokeLounge.AOtomation.Messaging.Messages.MessageBody ///
return void

Send() public method

///
public Send ( SmokeLounge.AOtomation.Messaging.Messages.MessageBody messageBody, bool announceToPlayfield ) : void
messageBody SmokeLounge.AOtomation.Messaging.Messages.MessageBody ///
announceToPlayfield bool ///
return void

Send() public method

public Send ( SmokeLounge.AOtomation.Messaging.Messages.SystemMessage message ) : void
message SmokeLounge.AOtomation.Messaging.Messages.SystemMessage ///
return void

SendChangedStats() public method

public SendChangedStats ( ) : void
return void

Teleport() public method

public Teleport ( Coordinate destination, IQuaternion heading, SmokeLounge.AOtomation.Messaging.GameData.Identity playfield ) : void
destination Coordinate ///
heading IQuaternion ///
playfield SmokeLounge.AOtomation.Messaging.GameData.Identity ///
return void

Write() public method

///
public Write ( ) : bool
return bool

WriteStats() public method

///
public WriteStats ( ) : void
return void

calculateTurnArcAngle() protected method

Calculate Turnangle
protected calculateTurnArcAngle ( ) : double
return double

Property Details

IsTeleporting public property

public bool IsTeleporting
return bool

PredictionTime protected property

protected DateTime,System PredictionTime
return System.DateTime

Textures public property

public List Textures
return List

meshLayer protected property

Caching Mesh layer structure
protected MeshLayers,CellAO.Core.Textures meshLayer
return CellAO.Core.Textures.MeshLayers

spinDirection protected property

protected SpinOrStrafeDirections spinDirection
return SpinOrStrafeDirections