예제 #1
0
        public void EventSink_Death(DeathEventArgs e)
        {
            TestMobile from = e.Mobile;

            loser = from;
            end   = DateTime.Now;

            done = true;
        }
예제 #2
0
        public Balancing(TestMobile m1, TestMobile m2)
        {
            m1.Balance   = this;
            m2.Balance   = this;
            mob1         = m1;
            mob2         = m2;
            fileLocation = null;

            Death += new DeathEventHandler(EventSink_Death);

            StartCombat();
            new FinishTimer(this).Start();
        }
예제 #3
0
 public DeathEventArgs(TestMobile mobile)
 {
     m_Mobile = mobile;
 }
예제 #4
0
 public Balancing(TestMobile m1, TestMobile m2, string loc) : this(m1, m2)
 {
     fileLocation = loc;
 }