C# Class Assets.Scripts.CharacterControl.CharacterStateController

Datei anzeigen Open project: maximecharron/GLO-3002-Frima Class Usage Examples

Public Methods

Method 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

Method Description
AddStateToHistory ( CharacterState state ) : void
UpdateStates ( ) : void

Method Details

AddState() public method

public AddState ( CharacterState state, bool overwrite = false ) : void
state CharacterState
overwrite bool
return void

CharacterStateController() public method

public CharacterStateController ( CharacterAnimationController animationController ) : Assets.Scripts.Extensions
animationController CharacterAnimationController
return Assets.Scripts.Extensions

GetStateHistoryItem() public method

public GetStateHistoryItem ( int number ) : CharacterState
number int
return CharacterState

HasActiveState() public method

public HasActiveState ( CharacterState state ) : bool
state CharacterState
return bool

HasState() public method

public HasState ( CharacterState state ) : bool
state CharacterState
return bool

RemoveAllStates() public method

public RemoveAllStates ( ) : void
return void

RemoveState() public method

public RemoveState ( CharacterState state ) : void
state CharacterState
return void

SetState() public method

public SetState ( CharacterState state ) : void
state CharacterState
return void

Update() public method

public Update ( ) : void
return void