Example #1
0
 /// <summary>
 /// Checks is current state can be activated.
 /// </summary>
 /// <param name="controller">Reference on state listener.</param>
 /// <returns>Is validation successful.</returns>
 public abstract bool Validate(LazyBot.Entity.EntityController controller);
Example #2
0
 /// <summary>
 /// Executes on state enter.
 /// </summary>
 /// <param name="controller">Reference on state listener.</param>
 public abstract void OnStateEnter(LazyBot.Entity.EntityController controller);
Example #3
0
 /// <summary>
 /// Performs action of specific state, when it's activated.
 /// </summary>
 /// <param name="controller">Reference on state listener.</param>
 public abstract void Excute(LazyBot.Entity.EntityController controller);