Static Public Member Functions

PowerupUtils Class Reference

A utility class for the Powerup framework. More...

#include <PowerupUtils.h>

List of all members.

Static Public Member Functions

static PowerupGetStaticInstance (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.

Detailed Description

A utility class for the Powerup framework.

Definition at line 41 of file PowerupUtils.h.


The documentation for this class was generated from the following files: