Public Member Functions | Protected Member Functions

ReversePowerup Class Reference

Reverses the direction in which the target player's tetris cylinder rotates. More...

#include <ReversePowerup.h>

Inheritance diagram for ReversePowerup:
Powerup

List of all members.

Public Member Functions

virtual PowerupId GetPowerupId ()
 The unique PowerupId representing this powerup.
virtual GuiImageData * GetImageData ()
 The image associated with this powerup.
virtual std::string * GetHelpText ()
 A description of this powerup used in the menu.

Protected Member Functions

virtual PowerupGetInstance ()
 Returns a new powerup instance.
virtual void StartEffect (u8 player)
 Returns a static powerup instance.
virtual void StopEffect (u8 player)
 Allow more than one ReversePowerup to be in effect at the same time.

Detailed Description

Reverses the direction in which the target player's tetris cylinder rotates.

Definition at line 7 of file ReversePowerup.h.


Member Function Documentation

void ReversePowerup::StopEffect ( u8  player  )  [protected, virtual]

Allow more than one ReversePowerup to be in effect at the same time.

This function assumes this powerup has already been removed from the powerup effect queue. If another ReversePowerup is in the queue then allow that one to stop the effect.

Implements Powerup.

Definition at line 29 of file ReversePowerup.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines