public void krajIgre() { this.vreme = 0; ammoController = new AmmoController(nizMunicije); bojaNisana = Color.FromArgb(0, 255, 0); crosshair = new Crosshair(this); nisan = new RegularNisan(); this.stopericaTimer.Stop(); lobbyForm.readyClick = false; this.lobbyForm.gameNotEnd = false; lobbyForm.WindowState = FormWindowState.Normal; this.lobbyForm.Size = new Size(950, 500); deleteGameView(); this.lobbyForm.setWallPaper(); this.lobbyForm.scoreView(); this.lobbyForm.Invalidate(); if (cursorFlag == false) { Cursor.Show(); } }
public GameController() { crosshair = new Crosshair(this); ammoController = new AmmoController(nizMunicije); }