SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
ScreenLogCommand.h
1#ifndef ScreenLogCommand_H
2#define ScreenLogCommand_H
3
4#include <string>
5
6class SpriteFont;
7class SpriteString;
8
9class ScreenLogCommand
10{
11public:
12 ScreenLogCommand();
13 ScreenLogCommand(const ScreenLogCommand&) = delete;
14 ScreenLogCommand& operator=(const ScreenLogCommand&) = delete;
15 ~ScreenLogCommand();
16 ScreenLogCommand(std::string str, SpriteFont* font, int x, int y);
17
18 void Initialize(std::string str, SpriteFont* font, int x, int y);
19 void Render();
20
21private:
22 std::string text;
23 SpriteString* pSpriteString;
24 SpriteFont* pFont;
25 int posX;
26 int posY;
27};
28
29#endif
Represents a font in the SUNENGINE.
Definition SpriteFont.h:19
Represents a string of sprites in the SUNENGINE.
Definition SpriteString.h:18