Zaimplementowane menu i wybieranie skinów statku
This commit is contained in:
@@ -17,9 +17,16 @@
|
||||
#include "Heart.hpp"
|
||||
#include "Size.h"
|
||||
|
||||
enum ships{
|
||||
nova,
|
||||
pulsar,
|
||||
zenith,
|
||||
none
|
||||
};
|
||||
|
||||
class Plansza {
|
||||
public:
|
||||
Plansza(unsigned int windowHeight, unsigned int windowWidth, sf::RenderWindow *mainWindow);
|
||||
Plansza(unsigned int windowHeight, unsigned int windowWidth, sf::RenderWindow *mainWindow, ships selectedShip);
|
||||
Size getSize();
|
||||
std::vector<Meteor> &getMeteors();
|
||||
void spawn_meteor();
|
||||
@@ -37,6 +44,8 @@ public:
|
||||
~Plansza() {
|
||||
delete ship; // usuwanie wskaźnika ship
|
||||
}
|
||||
|
||||
static ships selectedShip;
|
||||
private:
|
||||
Background background;
|
||||
AudioManager audioManager;
|
||||
|
||||
Reference in New Issue
Block a user