Implement World rearrange and add RandomBot and main
Make World::checkEffects non-const and provide its implementation. Add RandomBot implementation and declare a private randomNumber helper. Add a simple main() entrypoint.
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ class World {
|
||||
void rearrange ();
|
||||
|
||||
// stage 3
|
||||
int checkEffects ( int x, int y ) const;
|
||||
int checkEffects ( int x, int y );
|
||||
|
||||
private:
|
||||
int _sizeX, _sizeY, _sizeZ;
|
||||
|
||||
Reference in New Issue
Block a user