Who knows
This commit is contained in:
parent
eaf5a55d18
commit
32e50969b4
45 changed files with 38346 additions and 38306 deletions
56
Menu.h
56
Menu.h
|
|
@ -1,28 +1,28 @@
|
|||
//
|
||||
// Created by benmo on 2/20/2020.
|
||||
//
|
||||
|
||||
#ifndef SFML_TEMPLATE_MENU_H
|
||||
#define SFML_TEMPLATE_MENU_H
|
||||
|
||||
#include <SFML/Audio.hpp>
|
||||
|
||||
class Menu {
|
||||
public:
|
||||
int result;
|
||||
bool soundOn = true, musicOn = true;
|
||||
|
||||
Menu() {
|
||||
result = init();
|
||||
}
|
||||
private:
|
||||
sf::SoundBuffer bip;
|
||||
sf::Sound bipSound;
|
||||
bool playedBip = false;
|
||||
|
||||
int init();
|
||||
void playBip();
|
||||
};
|
||||
|
||||
|
||||
#endif //SFML_TEMPLATE_MENU_H
|
||||
//
|
||||
// Created by benmo on 2/20/2020.
|
||||
//
|
||||
|
||||
#ifndef SFML_TEMPLATE_MENU_H
|
||||
#define SFML_TEMPLATE_MENU_H
|
||||
|
||||
#include <SFML/Audio.hpp>
|
||||
|
||||
class Menu {
|
||||
public:
|
||||
int result;
|
||||
bool soundOn = true, musicOn = true;
|
||||
|
||||
Menu() {
|
||||
result = init();
|
||||
}
|
||||
private:
|
||||
sf::SoundBuffer bip;
|
||||
sf::Sound bipSound;
|
||||
bool playedBip = false;
|
||||
|
||||
int init();
|
||||
void playBip();
|
||||
};
|
||||
|
||||
|
||||
#endif //SFML_TEMPLATE_MENU_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue