object/explosion.[ch]pp: Added the "hurt" and "push" members.
authorFlorian Forster <supertux@octo.it>
Tue, 2 Mar 2010 11:25:10 +0000 (11:25 +0000)
committerFlorian Forster <supertux@octo.it>
Tue, 2 Mar 2010 11:25:10 +0000 (11:25 +0000)
commitbcef0c2aef6c8f4f85c87b8b6a25b93b69430c4c
treedd8111d17cb374372caaac8c76677103c96c6fef
parent208f8912e8b7568821be0b636cca273eba8f7ffd
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.

SVN-Revision: 6510
src/object/explosion.cpp
src/object/explosion.hpp