Example #1
0
 /// <summary>
 /// Proceses the event.
 /// </summary>
 /// <param name="frame">The frame the event is on relative to it's start.</param>
 /// <param name="endFrame">The last frame of the event, relative to it's start.</param>
 /// <param name="attackState">The attack state using this event.</param>
 /// <param name="manager">The manager using this event.</param>
 /// <param name="variables"></param>
 /// <returns>True if the attack state should cancel.</returns>
 public virtual bool Evaluate(uint frame, uint endFrame, EntityManager manager,
                              AttackEventVariables variables)
 {
     return(false);
 }
 /// <summary>
 /// Proceses the event.
 /// </summary>
 /// <param name="frame">The frame the event is on relative to it's start.</param>
 /// <param name="endFrame">The last frame of the event, relative to it's start.</param>
 /// <param name="attackState">The attack state using this event.</param>
 /// <param name="controller">The controller using this event.</param>
 /// <param name="variables"></param>
 /// <returns>True if the attack state should cancel.</returns>
 public virtual bool Evaluate(uint frame, uint endFrame, EntityController controller,
                              AttackEventVariables variables)
 {
     return(false);
 }