bool colisaoJanela; //Se o player embate com os limites da janela public EstadodeJogo() { EcraAtual = Ecras.Menu; //AudioSupport.Background("menusound", 0.5f); InicializarMenu(); AudioSupport.Background("trailer ", 0.5f); }
public void UpdateEcraGameOver() { if (InputWrapper.Buttons.A == ButtonState.Pressed) { EcraGameOver = null; EcraAtual = Ecras.Jogar; InicializarJogar(); } }
public void UpdateMenu() { if (InputWrapper.Buttons.A == ButtonState.Pressed) { EcraMenu = null; EcraAtual = Ecras.Jogar; InicializarJogar(); AudioSupport.PlaySom("som-bot¦o"); AudioSupport.Background("exterior_sound", 0.5f); } }