src/badguy/willowisp.cpp File Reference

#include "badguy/willowisp.hpp"
#include "audio/sound_manager.hpp"
#include "audio/sound_source.hpp"
#include "object/lantern.hpp"
#include "object/path_walker.hpp"
#include "object/player.hpp"
#include "scripting/squirrel_util.hpp"
#include "sprite/sprite.hpp"
#include "supertux/game_session.hpp"
#include "supertux/object_factory.hpp"
#include "supertux/sector.hpp"
#include "util/reader.hpp"

Go to the source code of this file.

Variables

static const float FLYSPEED = 64
 speed in px per second
static const float TRACK_RANGE = 384
 at what distance to start tracking the player
static const float VANISH_RANGE = 512
 at what distance to stop tracking and vanish
static const std::string SOUNDFILE = "sounds/willowisp.wav"


Variable Documentation

const float FLYSPEED = 64 [static]

speed in px per second

Definition at line 31 of file willowisp.cpp.

Referenced by WillOWisp::WillOWisp().

const std::string SOUNDFILE = "sounds/willowisp.wav" [static]

Definition at line 34 of file willowisp.cpp.

Referenced by WillOWisp::activate(), and WillOWisp::WillOWisp().

const float TRACK_RANGE = 384 [static]

at what distance to start tracking the player

Definition at line 32 of file willowisp.cpp.

Referenced by WillOWisp::WillOWisp().

const float VANISH_RANGE = 512 [static]

at what distance to stop tracking and vanish

Definition at line 33 of file willowisp.cpp.

Referenced by WillOWisp::WillOWisp().


Generated on Mon Jun 9 03:38:26 2014 for SuperTux by  doxygen 1.5.1