projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tux can peek to the left and to the right as far as the camera would move in best...
[supertux.git]
/
src
/
object
/
player.hpp
diff --git
a/src/object/player.hpp
b/src/object/player.hpp
index
1f69640
..
b7fb3ac
100644
(file)
--- a/
src/object/player.hpp
+++ b/
src/object/player.hpp
@@
-95,6
+95,7
@@
private:
bool dying;
bool backflipping;
int backflip_direction;
+ Direction peeking;
public:
Direction dir;
@@
-146,6
+147,10
@@
public:
{
return dying;
}
+ Direction peeking_direction() const
+ {
+ return peeking;
+ }
void kill(bool completely);
void check_bounds(Camera* camera);