Exemplo n.º 1
0
        public static void RunClient()
        {
            TestEngine test = new TestEngine(client);

            // now, initialize the engine
            test.PrepareGameInstance();

            // run the game
            test.Go();

            test.Dispose();
            test = null;
        }
Exemplo n.º 2
0
 public ShipManager(TestEngine _engine)
 {
     engine = _engine;
     ShipInit.FiringEvent += new GameEventFiringHandler(handleShipInit);
     ShipStateStatus.FiringEvent += new GameEventFiringHandler(handleShipStateStatus);
 }
Exemplo n.º 3
0
 public ShipManager(TestEngine _engine)
 {
     engine = _engine;
     ShipInit.FiringEvent        += new GameEventFiringHandler(handleShipInit);
     ShipStateStatus.FiringEvent += new GameEventFiringHandler(handleShipStateStatus);
 }