ref #97 Fixing add implement for methods init and render.

This commit is contained in:
IgorekLoschinin 2021-09-16 20:49:02 +03:00
parent c084a87dda
commit 7601938d83
3 changed files with 14 additions and 4 deletions

View File

@ -5,6 +5,7 @@
//# of this license document, but changing it is not allowed. //# of this license document, but changing it is not allowed.
//# //#
#include "box.h"
#include "groupobjbox.h" #include "groupobjbox.h"
#include "groupobjboxitem.h" #include "groupobjboxitem.h"
@ -12,9 +13,11 @@ namespace TestLvl {
GroupObjBox::GroupObjBox() { GroupObjBox::GroupObjBox() {
setDistance(2); setDistance(10);
changeLayout(CRAWL::Refresh::CIRCLE); changeLayout(CRAWL::Refresh::CIRCLE);
}
}
} }

View File

@ -9,7 +9,11 @@
namespace TestLvl { namespace TestLvl {
GroupObjboxItem::GroupObjboxItem(): CRAWL::ClasterItem("GroupObjboxItem"), Box { GroupObjboxItem::GroupObjboxItem(): CRAWL::ClasterItem("GroupObjboxItem") {
}
void GroupObjboxItem::init() {
} }

View File

@ -14,10 +14,13 @@
namespace TestLvl { namespace TestLvl {
class GroupObjboxItem: public CRAWL::ClasterItem, public Box { class GroupObjboxItem: public CRAWL::ClasterItem, public Box {
Q_OBJECT
public: public:
GroupObjboxItem(); GroupObjboxItem();
// IRender interface
public:
void init();
void render(unsigned int tbfMsec); void render(unsigned int tbfMsec);
}; };