public CT_UI() { InitializeComponent(); Initilize(); carpanel.Visible = false; Backgroundfader.Start(); }
private void showMenu(bool state) { this.Focus(); game.changeGameState(state); menuContainer.Visible = state; menuHolder.Visible = state; ShowCursor(state); if (state) { Backgroundfader.Start(); } else { Backgroundfader.Stop(); } }
public CT_UI() { InitializeComponent(); Initialize(); Backgroundfader.Start(); }