Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Types | Public Member Functions | Static Public Member Functions | List of all members
editor::component::EditMap::SetAmbientLightAction Class Reference

#include <MapActions.hpp>

Inherits editor::component::EditMap::Action.

Public Types

using Ptr = std::shared_ptr< Action >
 

Public Member Functions

virtual ~SetAmbientLightAction ()=default
 
virtual bool apply (EditMap &map) override
 
virtual bool undo (EditMap &map) override
 
virtual const char * description () const override
 

Static Public Member Functions

static Action::Ptr create (bool sunlight, std::uint8_t upper, std::uint8_t lower, const core::map::LightingSystem &lighting)
 

Detailed Description

Definition at line 638 of file MapActions.hpp.

Member Typedef Documentation

◆ Ptr

using editor::component::EditMap::Action::Ptr = std::shared_ptr<Action>
inherited

Definition at line 632 of file EditMap.hpp.

Constructor & Destructor Documentation

◆ ~SetAmbientLightAction()

virtual editor::component::EditMap::SetAmbientLightAction::~SetAmbientLightAction ( )
virtualdefault

Member Function Documentation

◆ apply()

bool editor::component::EditMap::SetAmbientLightAction::apply ( EditMap map)
overridevirtual

Definition at line 1463 of file MapActions.cpp.

◆ create()

EditMap::Action::Ptr editor::component::EditMap::SetAmbientLightAction::create ( bool  sunlight,
std::uint8_t  upper,
std::uint8_t  lower,
const core::map::LightingSystem lighting 
)
static

Definition at line 1448 of file MapActions.cpp.

◆ description()

const char * editor::component::EditMap::SetAmbientLightAction::description ( ) const
overridevirtual

Definition at line 1475 of file MapActions.cpp.

◆ undo()

bool editor::component::EditMap::SetAmbientLightAction::undo ( EditMap map)
overridevirtual

Definition at line 1469 of file MapActions.cpp.


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