resonance 1.0.1
Loading...
Searching...
No Matches
powerupplacer.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/msgsource.h"
4
24class PowerupPlacer : public MsgSource {
25public:
31
36 virtual ~PowerupPlacer();
37
47 virtual void Activate();
48
57 virtual void Deactivate();
58
70 virtual void MoveCursor(int nStep);
71
80 virtual void AnnounceCursor();
81
91 virtual void DeployPowerup();
92};
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26
virtual void DeployPowerup()
Deploy the owner's selected powerup.
virtual ~PowerupPlacer()
virtual void MoveCursor(int nStep)
Move the placement cursor.
virtual void AnnounceCursor()
Announce where the placement cursor rests.
virtual void Activate()
Start placing as the owning player starts.
virtual void Deactivate()
Stop placing.