Merge pull request #109 from QuasarApp/task_105

Fixing: change a item count with 3 to 5.
This commit is contained in:
Igor loschinin 2021-09-21 22:27:55 +03:00 committed by GitHub
commit 3a2287bb19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -16,4 +16,8 @@ Ground::Ground() : CRAWL::GroundClaster("JungelGroud") {
unsigned int Ground::itemsCount() const {
return 3;
}
int Ground::newObjectDistance() const {
return 150;
}
}

View File

@ -21,6 +21,10 @@ class Ground : public CRAWL::GroundClaster
public:
Ground();
unsigned int itemsCount() const override;
// GroundClaster interface
protected:
int newObjectDistance() const;
};
}