public GameView2D(int width, int height, double hscale, double vscale)
	{
		this.width=width;
		this.height=height;
		horizontalScale=hscale;
		verticalScale=vscale;
		setSize((int)(width*horizontalScale),(int)(height*verticalScale));
	}