mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
Move some game actions logic from header to source (#13571)
* Moving all definitions from B...Actions to source * Moving all definitions from C...Actions to source * Moving all definitions from F...Actions to source * Moving all definitions from G...Actions to source * Moving all definitions from L...Actions to source * Moving all definitions from M...Actions to source * Moving all definitions from N...Actions to source * Moving all definitions from P...Actions to source
This commit is contained in:
@@ -9,6 +9,16 @@
|
||||
|
||||
#include "PauseToggleAction.h"
|
||||
|
||||
uint16_t PauseToggleAction::GetActionFlags() const
|
||||
{
|
||||
return GameAction::GetActionFlags() | GameActions::Flags::AllowWhilePaused;
|
||||
}
|
||||
|
||||
GameActions::Result::Ptr PauseToggleAction::Query() const
|
||||
{
|
||||
return std::make_unique<GameActions::Result>();
|
||||
}
|
||||
|
||||
GameActions::Result::Ptr PauseToggleAction::Execute() const
|
||||
{
|
||||
pause_toggle();
|
||||
|
||||
Reference in New Issue
Block a user