summaryrefslogtreecommitdiff
path: root/Level.h
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-12-21 18:31:42 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-12-21 18:31:42 +0000
commitff143def2a28289807a7a5d8c149df0c99de9615 (patch)
tree17ed1d86b7888bd20415f2b5d352569997852f38 /Level.h
parent52881c723c69425daff692a6f27ffad430370f13 (diff)
Level: Change checkCollision to return an int instead of a bool, for multiple collision types
Diffstat (limited to 'Level.h')
-rw-r--r--Level.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Level.h b/Level.h
index 95a57e6..0a38029 100644
--- a/Level.h
+++ b/Level.h
@@ -34,7 +34,7 @@ class Level {
int cameraX;
- bool checkCollision(SDL_Rect r);
+ int checkCollision(SDL_Rect r);
int startX, startY;
};