diff --git a/src/CrawlTestLvl/private/boxitem.cpp b/src/CrawlTestLvl/private/boxitem.cpp new file mode 100644 index 0000000..02a9963 --- /dev/null +++ b/src/CrawlTestLvl/private/boxitem.cpp @@ -0,0 +1,22 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the GPLv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#include "boxitem.h" + +namespace TestLvl { + +BoxItem::BoxItem() +{ + +} + +void BoxItem::render(unsigned int tbfMsec) +{ + +} + +} diff --git a/src/CrawlTestLvl/private/boxitem.h b/src/CrawlTestLvl/private/boxitem.h new file mode 100644 index 0000000..2ebb2db --- /dev/null +++ b/src/CrawlTestLvl/private/boxitem.h @@ -0,0 +1,25 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the GPLv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#ifndef BOXITEM_H +#define BOXITEM_H + +#include "box.h" + +namespace TestLvl { + +class BoxItem: public Box { +public: + BoxItem(); + + // IRender interface +public: + void render(unsigned int tbfMsec); +}; + +} +#endif // BOXITEM_H diff --git a/src/CrawlTestLvl/private/groupobjbox.cpp b/src/CrawlTestLvl/private/groupobjbox.cpp index da2ade8..ced3e9f 100644 --- a/src/CrawlTestLvl/private/groupobjbox.cpp +++ b/src/CrawlTestLvl/private/groupobjbox.cpp @@ -5,7 +5,7 @@ //# of this license document, but changing it is not allowed. //# -#include "box.h" +#include "boxitem.h" #include "groupobjbox.h" namespace TestLvl { @@ -15,26 +15,26 @@ GroupObjBox::GroupObjBox(): CRAWL::IWorldItem("GroupObjBox") { setDistance(20); changeLayout(CRAWL::Refresh::CIRCLE); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); - add(new Box); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); + add(new BoxItem); }