Exemplo n.º 1
0
 public Attack(USSMissouri root, Point p)
 {
     Player     = root;
     hit        = p;
     horzExtent = new Extent(p.X, p.X);
     vertExtent = new Extent(p.Y, p.Y);
 }
Exemplo n.º 2
0
        public HunterBoard(USSMissouri root, Size boardsize, Ship target)
        {
            size = boardsize;
            grid = new int[size.Width, size.Height];
            Array.Clear(grid, 0, size.Width * size.Height);

            Player = root;
            Target = target;
            Initialize();
        }