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

31 lines
587 B
C++

#ifndef ENTRY_H
#define ENTRY_H
#include <string>
#include <thread>
#include <unistd.h>
class Entry
{
public:
Entry(int speedRate);
~Entry();
static void initScene(int xRes, int yRes);
int getxPosition();
int getyPosition();
std::string getSymbol();
std::thread runThread();
protected:
private:
static bool initialized;
static int xMax;
static int yMax;
int xPosition;
int yPosition;
int speedRate;
std::string symbol;
void run();
};
#endif // ENTRY_H