projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let Tux bounce off badguys when he's invincible. This let's us bounce off guys like...
[supertux.git]
/
src
/
moving_object.hpp
diff --git
a/src/moving_object.hpp
b/src/moving_object.hpp
index
0969cb0
..
d18615f
100644
(file)
--- a/
src/moving_object.hpp
+++ b/
src/moving_object.hpp
@@
-1,7
+1,7
@@
-// $Id
: moving_object.h 2295 2005-03-30 01:52:14Z matzebraun
$
+// $Id$
//
//
-// SuperTux
- A Jump'n Run
-// Copyright (C) 200
4 Matthias Braun <matze@braunis.de
+// SuperTux
+// Copyright (C) 200
6 Matthias Braun <matze@braunis.de>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@
-19,6
+19,8
@@
#ifndef SUPERTUX_MOVING_OBJECT_H
#define SUPERTUX_MOVING_OBJECT_H
#ifndef SUPERTUX_MOVING_OBJECT_H
#define SUPERTUX_MOVING_OBJECT_H
+#include <stdint.h>
+
#include "game_object.hpp"
#include "collision_hit.hpp"
#include "math/vector.hpp"
#include "game_object.hpp"
#include "collision_hit.hpp"
#include "math/vector.hpp"
@@
-108,6
+110,10
@@
protected:
Vector movement;
/** The collision group */
CollisionGroup group;
Vector movement;
/** The collision group */
CollisionGroup group;
+
+private:
+ // this is only here for internal collision detection use
+ Rect dest;
};
#endif
};
#endif