projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Addded property to Worldmap Spawnpoint to let Tux automatically start walking (or...
[supertux.git]
/
src
/
physic.hpp
diff --git
a/src/physic.hpp
b/src/physic.hpp
index
e05b65f
..
abfdba5
100644
(file)
--- a/
src/physic.hpp
+++ b/
src/physic.hpp
@@
-67,10
+67,10
@@
public:
/// Enables or disables handling of gravity.
void enable_gravity(bool gravity_enabled);
bool gravity_enabled() const;
/// Enables or disables handling of gravity.
void enable_gravity(bool gravity_enabled);
bool gravity_enabled() const;
-
+
/// Set gravity to apply to object when enabled
void set_gravity(float gravity);
/// Set gravity to apply to object when enabled
void set_gravity(float gravity);
-
+
/// Get gravity to apply to object when enabled
float get_gravity() const;
/// Get gravity to apply to object when enabled
float get_gravity() const;