Command to register an alarm for a GameObject.
More...
#include <AlarmRegistrationCommand.h>
Command to register an alarm for a GameObject.
The AlarmRegistrationCommand
class is responsible for registering an alarm for a GameObject. It inherits from CommandBase
and provides the necessary functionality to register the alarm with the AlarmableManager
.
◆ AlarmRegistrationCommand()
◆ Execute()
void AlarmRegistrationCommand::Execute |
( |
| ) |
|
|
overridevirtual |
Executes the command to register the alarm.
Implements CommandBase.
◆ SetTime()
void AlarmRegistrationCommand::SetTime |
( |
float | t | ) |
|
|
inline |
Sets the time duration for the alarm.
- Parameters
-
t | The time duration to set. |
The documentation for this class was generated from the following files: