示例#1
0
        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;
        }
示例#2
0
 private Trap(ActivateTrapEvent pmTrapEvent, int pmTeamID, string pmName, Unit pmParent)
     : this(pmTrapEvent, pmTeamID, pmName, ref pmParent)
 {
 }
示例#3
0
 public Trap(ActivateTrapEvent pmTrapEvent, int pmTeamID, string pmName)
     : this(pmTrapEvent, pmTeamID, pmName, null)
 {
 }