C# Class MoveExecutor, SRPGCK

Afficher le fichier Open project: JoeOsborn/SRPGCK Class Usage Examples

Méthodes publiques

Свойство 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

Свойство Type Description
animNodes List
destNode PathNode,
moveCallback MoveFinished
moveTimeRemaining float
temporaryDestNode PathNode,

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
ClearPath ( ) : void
CreatePath ( PathNode, pn ) : void

Method Details

Activate() public méthode

public Activate ( ) : void
Résultat void

Cancel() public méthode

public Cancel ( ) : void
Résultat void

ClearPath() protected méthode

protected ClearPath ( ) : void
Résultat void

CreatePath() protected méthode

protected CreatePath ( PathNode, pn ) : void
pn PathNode,
Résultat void

Deactivate() public méthode

public Deactivate ( ) : void
Résultat void

FacingForMove() public méthode

public FacingForMove ( Vector3 to, Vector3 from ) : float
to Vector3
from Vector3
Résultat float

ImmediatelyMoveTo() public méthode

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
Résultat void

IncrementalMoveTo() public méthode

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
Résultat void

MoveTo() public méthode

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
Résultat void

MoveTypeForMove() public méthode

public MoveTypeForMove ( Vector3 to, Vector3 from ) : MoveType,
to Vector3
from Vector3
Résultat MoveType,

SpecialMoveTo() public méthode

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

TemporaryMoveTo() public méthode

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
Résultat void

TriggerCallback() public méthode

public TriggerCallback ( PathNode, pn ) : void
pn PathNode,
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

XYSpeed public_oe property

public float XYSpeed
Résultat float

ZSpeedDown public_oe property

public float ZSpeedDown
Résultat float

ZSpeedUp public_oe property

public float ZSpeedUp
Résultat float

animNodes protected_oe property

protected List animNodes
Résultat List

animateTemporaryMovement public_oe property

public bool animateTemporaryMovement
Résultat bool

character public_oe property

public Character, character
Résultat Character,

currentMoveType public_oe property

public MoveType, currentMoveType
Résultat MoveType,

destNode protected_oe property

protected PathNode, destNode
Résultat PathNode,

isActive public_oe property

public bool isActive
Résultat bool

lockToGrid public_oe property

public bool lockToGrid
Résultat bool

map public_oe property

public Map, map
Résultat Map,

moveCallback protected_oe property

protected MoveFinished moveCallback
Résultat MoveFinished

moveMount public_oe property

public bool moveMount
Résultat bool

moveOrigin public_oe property

public Vector3 moveOrigin
Résultat Vector3

moveTimeRemaining protected_oe property

protected float moveTimeRemaining
Résultat float

position public_oe property

public Vector3 position
Résultat Vector3

specialMoving public_oe property

public bool specialMoving
Résultat bool

temporaryDestNode protected_oe property

protected PathNode, temporaryDestNode
Résultat PathNode,

temporaryPosition public_oe property

public Vector3 temporaryPosition
Résultat Vector3