object/explosion.[ch]pp: Added the "hurt" and "push" members.
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Tue, 2 Mar 2010 11:25:10 +0000 (11:25 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Tue, 2 Mar 2010 11:25:10 +0000 (11:25 +0000)
commit0572873b72bc61f981a810ba0a3fcea31ae9f209
treedd8111d17cb374372caaac8c76677103c96c6fef
parentda3d1154b1cae255fcbe9ae1dd759c6cabedbef7
object/explosion.[ch]pp: Added the "hurt" and "push" members.

If "hurt" is set (true by default), then the explosion will hurt Tux and nearby
badguys. If "push" is set (false by default), Tux and nearby walking badguys
will experience the force of the explosion, possibly throwing them in the air.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6510 837edb03-e0f3-0310-88ca-d4d4e8b29345
src/object/explosion.cpp
src/object/explosion.hpp