public void WillGetDead() { Assert.IsFalse(MobileCommands.Dead()); _player.ID = 0x192; Assert.IsTrue(MobileCommands.Dead()); _player.ID = 0x190; }
public void WillGetDeadParam() { Mobile m = new Mobile(2); Engine.Mobiles.Add(m); Assert.IsFalse(MobileCommands.Dead(2)); m.ID = 0x192; Assert.IsTrue(MobileCommands.Dead(2)); Engine.Mobiles.Remove(m); }