mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-27 18:24:41 +00:00
ref #97 Fixing add implement for methods init and render.
This commit is contained in:
parent
c084a87dda
commit
7601938d83
@ -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);
|
||||||
|
|
||||||
}
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,11 @@
|
|||||||
|
|
||||||
namespace TestLvl {
|
namespace TestLvl {
|
||||||
|
|
||||||
GroupObjboxItem::GroupObjboxItem(): CRAWL::ClasterItem("GroupObjboxItem"), Box {
|
GroupObjboxItem::GroupObjboxItem(): CRAWL::ClasterItem("GroupObjboxItem") {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void GroupObjboxItem::init() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user