Permalink
Browse files

Merge pull request #381 from seanpaultaylor/next

Removes changes accidentally added during testing of gestures.
  • Loading branch information...
2 parents f50a79b + 916e345 commit 4ce29fd7cd25ddc7b4c402d41668eee1328755d3 @seanpaultaylor committed Sep 5, 2012
Showing with 1 addition and 27 deletions.
  1. +1 −20 gameplay-samples/sample05-lua/src/LuaGame.cpp
  2. +0 −7 gameplay-samples/sample05-lua/src/LuaGame.h
@@ -9,7 +9,6 @@ LuaGame::LuaGame()
void LuaGame::initialize()
{
- this->registerGesture(Gesture::GESTURE_ANY_SUPPORTED);
}
void LuaGame::finalize()
@@ -22,22 +21,4 @@ void LuaGame::update(float elapsedTime)
void LuaGame::render(float elapsedTime)
{
-}
-
-
-void LuaGame::gestureSwipeEvent(int x, int y, int direction)
-{
- printf("Regonized Swipe Event: %d, %d, %d\n", x, y, direction);
-}
-
-void LuaGame::gesturePinchEvent(int x, int y, float scale)
-{
- printf("Regonized Pinch Event: %d, %d, %f\n", x, y, scale);
-}
-
-
-void LuaGame::gestureTapEvent(int x, int y)
-{
- printf("Regonized Rotate Event: %d, %d\n", x, y);
-}
-
+}
@@ -40,13 +40,6 @@ class LuaGame: public Game
* @see Game::render
*/
void render(float elapsedTime);
-
-
- void gestureSwipeEvent(int x, int y, int direction);
- void gesturePinchEvent(int x, int y, float scale);
- void gestureRotateEvent(int x, int y, float angle);
- void gestureTapEvent(int x, int y);
- void gestureTapDoubleEvent(int x, int y);
};

0 comments on commit 4ce29fd

Please sign in to comment.