Files
PWrProjSO2v2/so2-game/Platform.h
T
2020-05-04 15:56:02 +02:00

31 lines
591 B
C++

#ifndef PLATFORM_H
#define PLATFORM_H
#include <string>
#include <thread>
#include "Scene.h"
class Platform : public Scene
{
public:
Platform();
~Platform();
const char *getSprite();
int getPosition();
int getEnd();
int getColor();
void terminateThreads();
std::thread moveKeyThread();
std::thread colorChangeThread();
protected:
private:
std::string sprite;
int position;
int points;
int color;
void moveKey();
void colorChange();
};
#endif // PLATFORM_H