C# Class Assets.Scripts.CharacterControl.CharacterStateController

Afficher le fichier Open project: maximecharron/GLO-3002-Frima Class Usage Examples

Méthodes publiques

Méthode Description
AddState ( CharacterState state, bool overwrite = false ) : void
CharacterStateController ( CharacterAnimationController animationController ) : Assets.Scripts.Extensions
GetStateHistoryItem ( int number ) : CharacterState
HasActiveState ( CharacterState state ) : bool
HasState ( CharacterState state ) : bool
RemoveAllStates ( ) : void
RemoveState ( CharacterState state ) : void
SetState ( CharacterState state ) : void
Update ( ) : void

Private Methods

Méthode Description
AddStateToHistory ( CharacterState state ) : void
UpdateStates ( ) : void

Method Details

AddState() public méthode

public AddState ( CharacterState state, bool overwrite = false ) : void
state CharacterState
overwrite bool
Résultat void

CharacterStateController() public méthode

public CharacterStateController ( CharacterAnimationController animationController ) : Assets.Scripts.Extensions
animationController CharacterAnimationController
Résultat Assets.Scripts.Extensions

GetStateHistoryItem() public méthode

public GetStateHistoryItem ( int number ) : CharacterState
number int
Résultat CharacterState

HasActiveState() public méthode

public HasActiveState ( CharacterState state ) : bool
state CharacterState
Résultat bool

HasState() public méthode

public HasState ( CharacterState state ) : bool
state CharacterState
Résultat bool

RemoveAllStates() public méthode

public RemoveAllStates ( ) : void
Résultat void

RemoveState() public méthode

public RemoveState ( CharacterState state ) : void
state CharacterState
Résultat void

SetState() public méthode

public SetState ( CharacterState state ) : void
state CharacterState
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void