StateBag::SetState

StateBag::SetState
virtual void SetState(State::StateType state, State* pstate);
Description

SetState sets an interface to State. The state type is passed to SetState so that we can know which state is being cleared when null is passed.

Parameters
Parameters 
Description 
State::StateType state 
State type of State object. 
State* pstate 
Pointer to State object.