Exemplo n.º 1
0
        public Game()
        {
            //boardCanvas = new Canvas();
            board  = new Board();
            player = new Player();
            level  = new Level();

            heroShip = new HeroShip();
            heroShip.placeOnStartingPosition();
            board.setOnBoard(heroShip.shape, heroShip.position);

            heroBullets = new List <Bullet>();
            enemies     = new List <Enemy>();
        }
Exemplo n.º 2
0
        public Game()
        {
            //boardCanvas = new Canvas();
            board = new Board();
            player = new Player();
            level = new Level();

            heroShip = new HeroShip();
            heroShip.placeOnStartingPosition();
            board.setOnBoard(heroShip.shape, heroShip.position);

            heroBullets = new List<Bullet>();
            enemies = new List<Enemy>();
        }