|
|
@ -48,10 +48,9 @@ namespace Fungus |
|
|
|
public virtual void Execute() |
|
|
|
public virtual void Execute() |
|
|
|
{ |
|
|
|
{ |
|
|
|
OnEnter(); |
|
|
|
OnEnter(); |
|
|
|
OnExecute(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public virtual void ExecuteNextCommand() |
|
|
|
public virtual void Finish() |
|
|
|
{ |
|
|
|
{ |
|
|
|
OnExit(); |
|
|
|
OnExit(); |
|
|
|
parentSequence.ExecuteNextCommand(this); |
|
|
|
parentSequence.ExecuteNextCommand(this); |
|
|
@ -70,9 +69,6 @@ namespace Fungus |
|
|
|
public virtual void OnExit() |
|
|
|
public virtual void OnExit() |
|
|
|
{} |
|
|
|
{} |
|
|
|
|
|
|
|
|
|
|
|
public virtual void OnExecute() |
|
|
|
|
|
|
|
{} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public virtual void GetConnectedSequences(ref List<Sequence> connectedSequences) |
|
|
|
public virtual void GetConnectedSequences(ref List<Sequence> connectedSequences) |
|
|
|
{} |
|
|
|
{} |
|
|
|
} |
|
|
|
} |
|
|
|