Tagged Questions
1
vote
0answers
195 views
State Machine with State per Entity [closed]
I have a generic state machine implementation like this:
public abstract class State<TOwner>
{
public virtual void OnEnter(TOwner owner) { ... }
public virtual void OnExit(TOwner ...
2
votes
2answers
602 views
States, actions logic am I doing it right?
Currently I have the follow states:
Need To Run
Run
Need To Walk
Walk
Need To Fight
Fight
Am I misunderstanding it and mixig possible actions with states ?
I mean, to me Need To Run would either ...