mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-26 01:34:40 +00:00
Merge pull request #109 from QuasarApp/task_105
Fixing: change a item count with 3 to 5.
This commit is contained in:
commit
3a2287bb19
@ -16,4 +16,8 @@ Ground::Ground() : CRAWL::GroundClaster("JungelGroud") {
|
||||
unsigned int Ground::itemsCount() const {
|
||||
return 3;
|
||||
}
|
||||
|
||||
int Ground::newObjectDistance() const {
|
||||
return 150;
|
||||
}
|
||||
}
|
||||
|
@ -21,6 +21,10 @@ class Ground : public CRAWL::GroundClaster
|
||||
public:
|
||||
Ground();
|
||||
unsigned int itemsCount() const override;
|
||||
|
||||
// GroundClaster interface
|
||||
protected:
|
||||
int newObjectDistance() const;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user