internal static int ntid = 0; // New Trap ID #endregion Fields #region Constructors // --- Constructors --- public Trap(ActivateTrapEvent pmTrapEvent, int pmTeamID, string pmName, ref Unit pmParent) { trapEvent= pmTrapEvent; teamID= pmTeamID; trapID= Trap.getNextTrapID(); parent= pmParent; name= pmName; }
private Trap(ActivateTrapEvent pmTrapEvent, int pmTeamID, string pmName, Unit pmParent) : this(pmTrapEvent, pmTeamID, pmName, ref pmParent) { }
public Trap(ActivateTrapEvent pmTrapEvent, int pmTeamID, string pmName) : this(pmTrapEvent, pmTeamID, pmName, null) { }