diff --git a/src/JungleLvl/private/ground.cpp b/src/JungleLvl/private/ground.cpp index baf9bbb..82d819e 100644 --- a/src/JungleLvl/private/ground.cpp +++ b/src/JungleLvl/private/ground.cpp @@ -16,4 +16,8 @@ Ground::Ground() : CRAWL::GroundClaster("JungelGroud") { unsigned int Ground::itemsCount() const { return 3; } + +int Ground::newObjectDistance() const { + return 150; +} } diff --git a/src/JungleLvl/private/ground.h b/src/JungleLvl/private/ground.h index 6d49d65..6ab7983 100644 --- a/src/JungleLvl/private/ground.h +++ b/src/JungleLvl/private/ground.h @@ -21,6 +21,10 @@ class Ground : public CRAWL::GroundClaster public: Ground(); unsigned int itemsCount() const override; + + // GroundClaster interface +protected: + int newObjectDistance() const; }; }