// ---------------------------------------------------------------------------------------------- public void setState(StateWatcher <SceneChangeState> watcher, StateEnum _stateEnum) { this.stateEnum = _stateEnum; watcher.sendState(); }
// ---------------------------------------------------------------------------------------------- public void setState(StateWatcher <PauseState> watcher, bool _pause) { this.pause = _pause; watcher.sendState(); }
/// <summary> /// Set StateWatcher /// </summary> /// <param name="watcher">StateWatcher</param> public void setStateWatcher(StateWatcher <T> watcher) { this.m_refWatcher = watcher; }