Example #1
0
 public void TestLookAt()
 {
     m_player.ClearBuffer();
     m_game.SendCommand("look at object");
     Assert.AreEqual("> look at object", m_player.Buffer(0));
     Assert.AreEqual("object look desc", m_player.Buffer(1));
 }
Example #2
0
 public void SendCommand(string command, int tickCount, IDictionary <string, string> metadata)
 {
     if (m_gameTimer != null)
     {
         m_gameTimer.SendCommand(command, tickCount, metadata);
     }
     else
     {
         m_game.SendCommand(command);
     }
 }