public Game( int width, int height ) { radius = new Radius( this ); plans = new Plans( this ); frontier = new Frontier( this ); this.width = width; this.height = height; grid = new Case[ width, height ]; for ( int x = 0; x < width; x ++ ) for ( int y = 0; y < height; y ++ ) grid[ x, y ] = new Case( x, y ); }
public Game() { radius = new Radius( this ); plans = new Plans( this ); frontier = new Frontier( this ); }