mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-26 17:54:42 +00:00
ref #105 Fixing: changed distance new objects.
This commit is contained in:
parent
6a59445b2e
commit
f7131f1677
@ -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