A utility class for the Powerup framework. More...
#include <PowerupUtils.h>
Static Public Member Functions | |
static Powerup * | GetStaticInstance (PowerupId pid) |
Returns a static Powerup instance. | |
static GuiImageData * | GetImageData (PowerupId pid) |
Returns the powerup image data. | |
static GuiSound * | GetSound (PowerupId pid) |
Returns the powerup sound. | |
static string * | GetHelpText (PowerupId pid) |
Returns the powerup help text. | |
static PowerupId | GetNextId (Player &player) |
Get the PowerupId for the next piece. | |
static PowerupId | GetRandomId (Player *player=NULL) |
Generates a random PowerupId. | |
static int | GetTotalPowerups () |
Returns the total number of unique powerups. | |
static void | ResetPowerupStartTimes () |
Called when the game is unpaused. | |
static void | DeleteAllPowerups () |
Called when the game is reset/quit. | |
static GuiSound * | GetInvalidTargetSound () |
Sound effect for invalid use of Powerup. |
A utility class for the Powerup framework.
Definition at line 41 of file PowerupUtils.h.