git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6226
837edb03-e0f3-0310-88ca-
d4d4e8b29345
namespace {
const float LIGHTNING_DELAY = 2.0f;
const float FLASH_DISPLAY_TIME = 0.1f;
namespace {
const float LIGHTNING_DELAY = 2.0f;
const float FLASH_DISPLAY_TIME = 0.1f;
+const float ELECTRIFY_TIME = 0.5f;
}
Thunderstorm::Thunderstorm(const Reader& reader) :
}
Thunderstorm::Thunderstorm(const Reader& reader) :
void
Thunderstorm::electrify()
{
void
Thunderstorm::electrify()
{
- Sector::current()->add_object(new Electrifier(200, 1421, 0.5));
- Sector::current()->add_object(new Electrifier(201, 1422, 0.5));
+ Sector::current()->add_object(new Electrifier(200, 1421, ELECTRIFY_TIME));
+ Sector::current()->add_object(new Electrifier(201, 1422, ELECTRIFY_TIME));