Compare commits
No commits in common. "33283a9a344aa7b339159a28312323e007ea3bf5" and "0a45c4fbbd2bc67f7be14cf58ebf327e4bb5d9fd" have entirely different histories.
33283a9a34
...
0a45c4fbbd
@ -75,12 +75,9 @@ namespace AxibugEmuOnline.Client.Tools
|
|||||||
if (nextState == null) return;
|
if (nextState == null) return;
|
||||||
|
|
||||||
if (m_current != null) m_current.OnExit(nextState);
|
if (m_current != null) m_current.OnExit(nextState);
|
||||||
|
nextState.LastState = m_current;
|
||||||
var preState = m_current;
|
nextState.OnEnter(m_current);
|
||||||
m_current = nextState;
|
m_current = nextState;
|
||||||
|
|
||||||
m_current.LastState = preState;
|
|
||||||
m_current.OnEnter(preState);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public T GetState<T>() where T : State, new()
|
public T GetState<T>() where T : State, new()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user