C# Class TileMotor, MagesOfBlight

Inheritance: BasicMotor
Afficher le fichier Open project: DomCristaldi/MagesOfBlight Class Usage Examples

Méthodes publiques

Свойство Type Description
availableMoveSteps int
desiredPoint Vector3,
redirectSpeed float
speedRamp AnimationCurve
suppliedPath List
tilesMoved int

Protected Properties

Свойство Type Description
_trueDirec Vector3,

Méthodes publiques

Méthode Description
GivePath ( List path ) : void
NavigatePath ( ) : bool

Méthodes protégées

Méthode Description
Awake ( ) : void
MoveToLocation ( HexNode, start, HexNode, end ) : bool

Move the Agent in the directoin formed by the line from the star to the end. Returns true when Agent reaches end

MoveToLocationMethod ( Vector3, position, Vector3, destination, float deltaTime ) : Vector3,
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
HandleMovement ( ) : void
MoveRoutine ( List pathList ) : IEnumerator
UpdateTrueDirec ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

GivePath() public méthode

public GivePath ( List path ) : void
path List
Résultat void

MoveToLocation() protected méthode

Move the Agent in the directoin formed by the line from the star to the end. Returns true when Agent reaches end
protected MoveToLocation ( HexNode, start, HexNode, end ) : bool
start HexNode,
end HexNode,
Résultat bool

MoveToLocationMethod() protected méthode

protected MoveToLocationMethod ( Vector3, position, Vector3, destination, float deltaTime ) : Vector3,
position Vector3,
destination Vector3,
deltaTime float
Résultat Vector3,

NavigatePath() public méthode

public NavigatePath ( ) : bool
Résultat bool

Start() protected méthode

protected Start ( ) : void
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

Property Details

_trueDirec protected_oe property

protected Vector3, _trueDirec
Résultat Vector3,

availableMoveSteps public_oe property

public int availableMoveSteps
Résultat int

desiredPoint public_oe property

public Vector3, desiredPoint
Résultat Vector3,

redirectSpeed public_oe property

public float redirectSpeed
Résultat float

speedRamp public_oe property

public AnimationCurve speedRamp
Résultat AnimationCurve

suppliedPath public_oe property

public List suppliedPath
Résultat List

tilesMoved public_oe property

public int tilesMoved
Résultat int