public virtual void addState(BattleFighterState state) { int _buffId = state.BuffId; this.stateMap[_buffId] = state; this.fighterStateFlag |= state.State.StateFlag; if (this.lastStateMap.ContainsKey(_buffId)) { this.lastStateMap.Remove(_buffId); } }
public virtual void addState(BattleFighterState state) { stateManager.addState(state); }