예제 #1
0
 internal static bool IsCasted(this CastStates state)
 {
     return(state == CastStates.SuccessfullyCasted);
 }
예제 #2
0
 /// <summary>
 ///     Converts a spell cast state into a boolean.
 /// </summary>
 /// <param name="castState">Spell Cast State</param>
 /// <returns>Boolean</returns>
 public static bool ToBoolean(this CastStates castState)
 {
     return(castState == CastStates.SuccessfullyCasted);
 }