|
resonance 1.0.1
|
Powerup placer a LocalPlayer owns outside jam. More...
#include <simplifiedgamepowerupplacer.h>


Public Member Functions | |
| SimplifiedGamePowerupPlacer (LocalPlayer *pOwner, PowerupCollectionI *pCollection) | |
| virtual | ~SimplifiedGamePowerupPlacer () |
| The body is the inlined base destructor. | |
| virtual void | DeployPowerup () |
| Deploy the selected powerup on the owner's track at the current bar. | |
| Public Member Functions inherited from PowerupPlacer | |
| PowerupPlacer () | |
| virtual | ~PowerupPlacer () |
| virtual void | Activate () |
| Start placing as the owning player starts. | |
| virtual void | Deactivate () |
| Stop placing. | |
| virtual void | MoveCursor (int nStep) |
| Move the placement cursor. | |
| virtual void | AnnounceCursor () |
| Announce where the placement cursor rests. | |
| Public Member Functions inherited from MsgSource | |
| virtual | ~MsgSource () |
| virtual void | AddSink (MsgSink *pSink) |
| Register a sink, ignoring a sink that is already registered. | |
| virtual void | RemoveSink (MsgSink *pSink) |
| Unregister the first occurrence of a sink. | |
| void | Send (Message *pMsg) const |
| Deliver a message to every registered sink, in registration order. | |
| void | ClearSinks () |
| Unregister every sink. | |
Additional Inherited Members | |
| Public Attributes inherited from MsgSource | |
| int | mGraphBuilt |
| A word no member of this class reads. | |
Powerup placer a LocalPlayer owns outside jam.
It has PowerupPlacer as its one base. Its table is at 0x007e4bd0 and has nine entries. Like JamPowerupPlacer it overrides only the destructor and slot 8, and retains the base defaults for slots 4 through 7. Its unit spans 0x001cdb20 through 0x001cdf84.
The object is 0x1c bytes. LocalPlayer's constructor at 0x0011e198 allocates one in game modes 1 through 3 and stores the pointer at its own +0xa8, with the SinglePowerupCollection it built first as the collection.
| SimplifiedGamePowerupPlacer::SimplifiedGamePowerupPlacer | ( | LocalPlayer * | pOwner, |
| PowerupCollectionI * | pCollection ) |
| pOwner | The player that owns this placer. |
| pCollection | The owner's powerup collection. |
|
virtual |
The body is the inlined base destructor.
|
virtual |
Deploy the selected powerup on the owner's track at the current bar.
Does nothing from the level's last bar on, as PlayMap::GetEndBar() reports it.
Reimplemented from PowerupPlacer.