/// <summary> /// Gets whether a given Moveable represents a trigger. /// </summary> /// <param name="moveable">The Moveable to check.</param> /// <returns>True if the Moveable is a trigger; false otherwise.</returns> public static bool IsTrigger(Moveable moveable) { TriggerControl triggerControl = moveable as TriggerControl; return triggerControl != null; }