C# Class GameFramework.MovementStateInfo

Mostrar archivo Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
CalcDistancSquareToTarget ( ) : float
GetFaceDir ( ) : float
GetFaceDir2D ( ) : ScriptRuntime.Vector2
GetFaceDir3D ( ) : ScriptRuntime.Vector3
GetMoveDir ( ) : float
GetMoveDir2D ( ) : ScriptRuntime.Vector2
GetMoveDir3D ( ) : ScriptRuntime.Vector3
GetPosition2D ( ) : ScriptRuntime.Vector2
GetPosition3D ( ) : ScriptRuntime.Vector3
MovementStateInfo ( ) : System
Reset ( ) : void
SetFaceDir ( float rot ) : void
SetMoveDir ( float dir ) : void
SetPosition ( ScriptRuntime pos ) : void
SetPosition ( float x, float y, float z ) : void
SetPosition2D ( ScriptRuntime pos ) : void
SetPosition2D ( float x, float y ) : void

Method Details

CalcDistancSquareToTarget() public method

public CalcDistancSquareToTarget ( ) : float
return float

GetFaceDir() public method

public GetFaceDir ( ) : float
return float

GetFaceDir2D() public method

public GetFaceDir2D ( ) : ScriptRuntime.Vector2
return ScriptRuntime.Vector2

GetFaceDir3D() public method

public GetFaceDir3D ( ) : ScriptRuntime.Vector3
return ScriptRuntime.Vector3

GetMoveDir() public method

public GetMoveDir ( ) : float
return float

GetMoveDir2D() public method

public GetMoveDir2D ( ) : ScriptRuntime.Vector2
return ScriptRuntime.Vector2

GetMoveDir3D() public method

public GetMoveDir3D ( ) : ScriptRuntime.Vector3
return ScriptRuntime.Vector3

GetPosition2D() public method

public GetPosition2D ( ) : ScriptRuntime.Vector2
return ScriptRuntime.Vector2

GetPosition3D() public method

public GetPosition3D ( ) : ScriptRuntime.Vector3
return ScriptRuntime.Vector3

MovementStateInfo() public method

public MovementStateInfo ( ) : System
return System

Reset() public method

public Reset ( ) : void
return void

SetFaceDir() public method

public SetFaceDir ( float rot ) : void
rot float
return void

SetMoveDir() public method

public SetMoveDir ( float dir ) : void
dir float
return void

SetPosition() public method

public SetPosition ( ScriptRuntime pos ) : void
pos ScriptRuntime
return void

SetPosition() public method

public SetPosition ( float x, float y, float z ) : void
x float
y float
z float
return void

SetPosition2D() public method

public SetPosition2D ( ScriptRuntime pos ) : void
pos ScriptRuntime
return void

SetPosition2D() public method

public SetPosition2D ( float x, float y ) : void
x float
y float
return void