//-------------Funkcje---------------- public GEngine(Graphics g, GameWind gw) { drawHandle = g; windowHandle = gw; screenX = 0; screenY = 0; }
public void startGraphics(Graphics g, GameWind windowHandle) { gEngine = new GEngine(g, windowHandle); gEngine.init(); }
private void button1_Click(object sender, EventArgs e) { GW = new GameWind(this); GW.Show(); this.Hide(); }