Exemplo n.º 1
0
 public static void Init()
 {
     CommandDelegates.SetUpdatePositionDelagate(PositionUpdate);
     CommandDelegates.SetSpawnMonsterDelegate(MonsterSpawn);
     mConnection = new GameConnection("192.168.2.106", 9098, null);
     mConnection.Start();
 }
 public void GameConnectionConstructorTest()
 {
     string host = string.Empty; // TODO: Initialize to an appropriate value
     int port = 0; // TODO: Initialize to an appropriate value
     string token = string.Empty; // TODO: Initialize to an appropriate value
     GameConnection target = new GameConnection(host, port, token);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
 public void StartTest()
 {
     string host = string.Empty; // TODO: Initialize to an appropriate value
     int port = 0; // TODO: Initialize to an appropriate value
     string token = string.Empty; // TODO: Initialize to an appropriate value
     GameConnection target = new GameConnection(host, port, token); // TODO: Initialize to an appropriate value
     target.Start();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }