mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-26 09:44:40 +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.
|
||||
//#
|
||||
|
||||
#include "box.h"
|
||||
#include "groupobjbox.h"
|
||||
#include "groupobjboxitem.h"
|
||||
|
||||
@ -12,9 +13,11 @@ namespace TestLvl {
|
||||
|
||||
GroupObjBox::GroupObjBox() {
|
||||
|
||||
setDistance(2);
|
||||
setDistance(10);
|
||||
changeLayout(CRAWL::Refresh::CIRCLE);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -9,7 +9,11 @@
|
||||
|
||||
namespace TestLvl {
|
||||
|
||||
GroupObjboxItem::GroupObjboxItem(): CRAWL::ClasterItem("GroupObjboxItem"), Box {
|
||||
GroupObjboxItem::GroupObjboxItem(): CRAWL::ClasterItem("GroupObjboxItem") {
|
||||
|
||||
}
|
||||
|
||||
void GroupObjboxItem::init() {
|
||||
|
||||
}
|
||||
|
||||
|
@ -14,10 +14,13 @@
|
||||
namespace TestLvl {
|
||||
|
||||
class GroupObjboxItem: public CRAWL::ClasterItem, public Box {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
GroupObjboxItem();
|
||||
|
||||
// IRender interface
|
||||
public:
|
||||
void init();
|
||||
void render(unsigned int tbfMsec);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user