internal static bool IsCasted(this CastStates state) { return(state == CastStates.SuccessfullyCasted); }
/// <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); }