Public Member Functions | Protected Member Functions

PowerupShrinkRay Class Reference

Shrinks the target player's playfield. More...

#include <PowerupShrinkRay.h>

Inheritance diagram for PowerupShrinkRay:
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 string * GetHelpText ()
 A description of this powerup used in the menu.
virtual GuiSound * GetSound ()
 The sound associated with this powerup.

Protected Member Functions

virtual PowerupGetInstance ()
 Returns a new powerup instance.
virtual void StartEffect (u8 player)
 The powerup state change goes here.
virtual void StopEffect (u8 player)
 Allow more than one PowerupShrinkRay to be in effect at the same time.

Detailed Description

Shrinks the target player's playfield.

Definition at line 37 of file PowerupShrinkRay.h.


Member Function Documentation

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

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

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

Implements Powerup.

Definition at line 58 of file PowerupShrinkRay.cpp.


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