#region Header // _,-'/-'/ // . __,-; ,'( '/ // \. `-.__`-._`:_,-._ _ , . `` // `:-._,------' ` _,`--` -: `_ , ` ,' : // `---..__,,--' (C) 2023 ` -'. -' // # Vita-Nex [http://core.vita-nex.com] # // {o)xxx|===============- # -===============|xxx(o} // # # #endregion #region References using System; using Server; using Server.Targeting; #endregion namespace VitaNex.Targets { /// /// Provides methods for selecting specific Mobiles of the given Type /// /// Type of the Item to be selected public class MobileSelectTarget : GenericSelectTarget where TMobile : Mobile { /// /// Create an instance of MobileSelectTarget /// public MobileSelectTarget() : base(null, null) { } /// /// Create an instance of MobileSelectTarget with additional options /// public MobileSelectTarget(int range, bool allowGround, TargetFlags flags) : base(null, null, range, allowGround, flags) { } /// /// Create an instance of MobileSelectTarget with handlers /// public MobileSelectTarget(Action success, Action fail) : base(success, fail) { } /// /// Create an instance of MobileSelectTarget with handlers and additional options /// public MobileSelectTarget( Action success, Action fail, int range, bool allowGround, TargetFlags flags) : base(success, fail, range, allowGround, flags) { } } /// /// Provides methods for selecting specific Mobiles of the given Type /// public class MobileSelectTarget : MobileSelectTarget { /// /// Create an instance of MobileSelectTarget /// public MobileSelectTarget() : base(null, null) { } /// /// Create an instance of MobileSelectTarget with additional options /// public MobileSelectTarget(int range, bool allowGround, TargetFlags flags) : base(null, null, range, allowGround, flags) { } /// /// Create an instance of MobileSelectTarget with handlers /// public MobileSelectTarget(Action success, Action fail) : base(success, fail) { } /// /// Create an instance of MobileSelectTarget with handlers and additional options /// public MobileSelectTarget( Action success, Action fail, int range, bool allowGround, TargetFlags flags) : base(success, fail, range, allowGround, flags) { } } }