implement mining functionality in SortBot and add .gitignore
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ class Game {
|
||||
void setup ();
|
||||
void play ( Robot& robot, bool isPlayer );
|
||||
void checkRearrange ( Robot& robot );
|
||||
void applyEffects ( Robot& robot, int effect );
|
||||
void applyEffect ( Robot& robot, int effect );
|
||||
bool isGameOver() const;
|
||||
void printScores() const;
|
||||
void printResult() const;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ class World {
|
||||
int getSurfaceLevel ( int x, int y ) const;
|
||||
int mine ( int x, int y );
|
||||
|
||||
void display () const;
|
||||
void display ( int p1x = -1, int p1y = -1, int p2x = -1, int p2y = -1 ) const;
|
||||
|
||||
int getSizeX () const { return _sizeX; }
|
||||
int getSizeY () const { return _sizeY; }
|
||||
|
||||
Reference in New Issue
Block a user