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"AbstractImage.h"
using namespace irr::video;
using namespace irr::core;
using namespace game::core;
namespace game
{
namespace gui{
AbstractImage::AbstractImage(GameManager *gM, ITexture *image, vector2d<s32> pos, vector2d<s32> size) {
gameManager = gM;
this->image = image;
this->pos = pos;
this->size = size;
}
AbstractImage::~AbstractImage() {
}
void AbstractImage::update() {
irr::video::IVideoDriver *driver = gameManager->getDevice()->getVideoDriver();
driver->draw2DImage(image, pos);
}
}
}