31323334353637
public Map(View view, Painter painter) { this.view = view; this.painter = painter; layers = new LayerCollection(); }
38394041424344
public Map(int width, int height) { view = new ViewPort(width, height,Buffer); painter = new Painter(width + Buffer, height + Buffer); layers = new LayerCollection(); }