C# Class MoveExecutor, SRPGCK

Mostra file Open project: JoeOsborn/SRPGCK Class Usage Examples

Public Properties

Property Type Description
XYSpeed float
ZSpeedDown float
ZSpeedUp float
animateTemporaryMovement bool
character Character,
currentMoveType MoveType,
isActive bool
lockToGrid bool
map Map,
moveMount bool
moveOrigin Vector3
position Vector3
specialMoving bool
temporaryPosition Vector3

Protected Properties

Property Type Description
animNodes List
destNode PathNode,
moveCallback MoveFinished
moveTimeRemaining float
temporaryDestNode PathNode,

Public Methods

Method Description
Activate ( ) : void
Cancel ( ) : void
Deactivate ( ) : void
FacingForMove ( Vector3 to, Vector3 from ) : float
ImmediatelyMoveTo ( PathNode, pn, MoveFinished callback = null, float timeout = 10.0f, bool special = false, bool alsoMoveMount = true ) : void
IncrementalMoveTo ( PathNode, pn, MoveFinished callback, float timeout = 10.0f, bool special = false, bool alsoMoveMount = true ) : void
MoveTo ( PathNode, pn, MoveFinished callback, float timeout = 10.0f, bool special = false, bool alsoMoveMount = true ) : void
MoveTypeForMove ( Vector3 to, Vector3 from ) : MoveType,
SpecialMoveTo ( PathNode, pn, MoveFinished callback, float timeout = 10.0f, bool alsoMoveMount = true ) : void
TemporaryMoveTo ( PathNode, pn, MoveFinished callback, float timeout = 10.0f, bool special = false, bool alsoMoveMount = true ) : void
TriggerCallback ( PathNode, pn ) : void
Update ( ) : void

Protected Methods

Method Description
ClearPath ( ) : void
CreatePath ( PathNode, pn ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

Cancel() public method

public Cancel ( ) : void
return void

ClearPath() protected method

protected ClearPath ( ) : void
return void

CreatePath() protected method

protected CreatePath ( PathNode, pn ) : void
pn PathNode,
return void

Deactivate() public method

public Deactivate ( ) : void
return void

FacingForMove() public method

public FacingForMove ( Vector3 to, Vector3 from ) : float
to Vector3
from Vector3
return float

ImmediatelyMoveTo() public method

public ImmediatelyMoveTo ( PathNode, pn, MoveFinished callback = null, float timeout = 10.0f, bool special = false, bool alsoMoveMount = true ) : void
pn PathNode,
callback MoveFinished
timeout float
special bool
alsoMoveMount bool
return void

IncrementalMoveTo() public method

public IncrementalMoveTo ( PathNode, pn, MoveFinished callback, float timeout = 10.0f, bool special = false, bool alsoMoveMount = true ) : void
pn PathNode,
callback MoveFinished
timeout float
special bool
alsoMoveMount bool
return void

MoveTo() public method

public MoveTo ( PathNode, pn, MoveFinished callback, float timeout = 10.0f, bool special = false, bool alsoMoveMount = true ) : void
pn PathNode,
callback MoveFinished
timeout float
special bool
alsoMoveMount bool
return void

MoveTypeForMove() public method

public MoveTypeForMove ( Vector3 to, Vector3 from ) : MoveType,
to Vector3
from Vector3
return MoveType,

SpecialMoveTo() public method

public SpecialMoveTo ( PathNode, pn, MoveFinished callback, float timeout = 10.0f, bool alsoMoveMount = true ) : void
pn PathNode,
callback MoveFinished
timeout float
alsoMoveMount bool
return void

TemporaryMoveTo() public method

public TemporaryMoveTo ( PathNode, pn, MoveFinished callback, float timeout = 10.0f, bool special = false, bool alsoMoveMount = true ) : void
pn PathNode,
callback MoveFinished
timeout float
special bool
alsoMoveMount bool
return void

TriggerCallback() public method

public TriggerCallback ( PathNode, pn ) : void
pn PathNode,
return void

Update() public method

public Update ( ) : void
return void

Property Details

XYSpeed public_oe property

public float XYSpeed
return float

ZSpeedDown public_oe property

public float ZSpeedDown
return float

ZSpeedUp public_oe property

public float ZSpeedUp
return float

animNodes protected_oe property

protected List animNodes
return List

animateTemporaryMovement public_oe property

public bool animateTemporaryMovement
return bool

character public_oe property

public Character, character
return Character,

currentMoveType public_oe property

public MoveType, currentMoveType
return MoveType,

destNode protected_oe property

protected PathNode, destNode
return PathNode,

isActive public_oe property

public bool isActive
return bool

lockToGrid public_oe property

public bool lockToGrid
return bool

map public_oe property

public Map, map
return Map,

moveCallback protected_oe property

protected MoveFinished moveCallback
return MoveFinished

moveMount public_oe property

public bool moveMount
return bool

moveOrigin public_oe property

public Vector3 moveOrigin
return Vector3

moveTimeRemaining protected_oe property

protected float moveTimeRemaining
return float

position public_oe property

public Vector3 position
return Vector3

specialMoving public_oe property

public bool specialMoving
return bool

temporaryDestNode protected_oe property

protected PathNode, temporaryDestNode
return PathNode,

temporaryPosition public_oe property

public Vector3 temporaryPosition
return Vector3