Ejemplo 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;
        }
Ejemplo n.º 2
0
 public ShipManager(TestEngine _engine)
 {
     engine = _engine;
     ShipInit.FiringEvent += new GameEventFiringHandler(handleShipInit);
     ShipStateStatus.FiringEvent += new GameEventFiringHandler(handleShipStateStatus);
 }
Ejemplo n.º 3
0
 public ShipManager(TestEngine _engine)
 {
     engine = _engine;
     ShipInit.FiringEvent        += new GameEventFiringHandler(handleShipInit);
     ShipStateStatus.FiringEvent += new GameEventFiringHandler(handleShipStateStatus);
 }