public Attack(USSMissouri root, Point p) { Player = root; hit = p; horzExtent = new Extent(p.X, p.X); vertExtent = new Extent(p.Y, p.Y); }
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(); }