summaryrefslogtreecommitdiff
path: root/Level.h
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-11-27 23:00:36 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-11-27 23:00:36 +0000
commit75098a16e5891973bfe458388ceef33f9dff9423 (patch)
tree5a522aff1f628e95e217f0ae6150e3b1ec23924c /Level.h
parent63418dfa8adac1f9eee3c8357b54454d0bc0b0d5 (diff)
Level: Implement collision detection
Diffstat (limited to 'Level.h')
-rw-r--r--Level.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Level.h b/Level.h
index b6ca8c6..3bfac32 100644
--- a/Level.h
+++ b/Level.h
@@ -33,6 +33,8 @@ class Level {
void loadMap(int levelNo);
int cameraX;
+
+ bool checkCollision(SDL_Rect r);
};
#endif