src/object/magicblock.cpp File Reference

#include "object/camera.hpp"
#include "object/magicblock.hpp"
#include "sprite/sprite.hpp"
#include "supertux/globals.hpp"
#include "supertux/object_factory.hpp"
#include "supertux/sector.hpp"
#include "util/reader.hpp"

Go to the source code of this file.

Variables

const float MIN_INTENSITY = 0.8f
const float ALPHA_SOLID = 0.7f
const float ALPHA_NONSOLID = 0.3f
const float MIN_SOLIDTIME = 1.0f
const float SWITCH_DELAY = 0.1f
 seconds to wait for stable conditions until switching solidity


Variable Documentation

const float ALPHA_NONSOLID = 0.3f [static]

Definition at line 34 of file magicblock.cpp.

Referenced by MagicBlock::update().

const float ALPHA_SOLID = 0.7f [static]

Definition at line 33 of file magicblock.cpp.

Referenced by MagicBlock::MagicBlock(), and MagicBlock::update().

const float MIN_INTENSITY = 0.8f [static]

Definition at line 32 of file magicblock.cpp.

Referenced by MagicBlock::MagicBlock().

const float MIN_SOLIDTIME = 1.0f [static]

Definition at line 35 of file magicblock.cpp.

Referenced by MagicBlock::update().

const float SWITCH_DELAY = 0.1f [static]

seconds to wait for stable conditions until switching solidity

Definition at line 36 of file magicblock.cpp.

Referenced by MagicBlock::update().


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