Initial commit

This commit is contained in:
devZoGok
2021-10-19 20:15:01 +03:00
commit 2d270e69d8
278 changed files with 910395 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#include"AbstractBitmapText.h"
#include<IGUIFont.h>
using namespace irr::core;
using namespace irr::video;
using namespace irr::gui;
using namespace game::core;
namespace game{
namespace gui{
AbstractBitmapText::AbstractBitmapText(GameManager *gM, stringw text, vector2d<s32> pos, IGUIFont *font) {
gameManager = gM;
this->text = text;
this->pos = pos;
this->font = font;
color = new SColor(255, 255, 255, 255);
}
AbstractBitmapText::~AbstractBitmapText() {}
void AbstractBitmapText::update() {
font->draw(text, rect<s32>(pos.X, pos.Y, pos.X + 10, pos.Y + 10), *color);
}
}
}