git repos / blockattack-game

commit 2488b1f5

sago007 · 2016-06-05 13:38
2488b1f5d698ba18bd6306a7766d34a50e0e1e5f patch · browse files
parent 167c2a1db7e2d900f0bcd8be599b359780ed661c

Made the MoveCursor private. It was not used externally anyway

Changed files

M source/code/BlockGame.hpp before
diff --git a/source/code/BlockGame.hpp b/source/code/BlockGame.hpp index 01c971e..7e9a309 100644 --- a/source/code/BlockGame.hpp +++ b/source/code/BlockGame.hpp
@@ -211,7 +211,6 @@ public:
int GetTowerHeight() const;
int GetCursorX() const;
int GetCursorY() const;
- void MoveCursorTo(int x, int y);
void GetMouseCursor(bool& pressed, int& x, int&y) const;
bool GetIsWinner() const;
bool isSinglePuzzle() const;
@@ -264,6 +263,7 @@ private:
void MouseDown(int x, int y); //Send then the mouse is pressed
void MouseMove(int x); //Send then the mouse moves
void MouseUp(); //Send then the mouse goes up
+ void MoveCursorTo(int x, int y);
///////////////////////////////////////////////////////////////////////////
/////////////////////////// AI starts here! ///////////////////////////////
///////////////////////////////////////////////////////////////////////////