Horizon Official Technical Documentation
Horizon::Zone::Game::PreparatoryToTransformUnit Class Reference

#include <SharedResourceTransformation.hpp>

+ Inheritance diagram for Horizon::Zone::Game::PreparatoryToTransformUnit:
+ Collaboration diagram for Horizon::Zone::Game::PreparatoryToTransformUnit:

Public Member Functions

 PreparatoryToTransformUnit (std::shared_ptr< Unit > unit)
 
bool prepare () override
 
bool validate () override
 
bool transform () override
 
- Public Member Functions inherited from Horizon::Zone::Game::PreparatoryTo< Unit >
 PreparatoryTo (std::shared_ptr< Unit > before_resource)
 
virtual bool prepare () override
 
virtual bool validate () override
 
virtual bool transform () override
 
- Public Member Functions inherited from Horizon::Zone::Game::SharedResourceTransformation< Unit >
 SharedResourceTransformation (std::shared_ptr< Unit > before_resource, std::shared_ptr< Unit > after_resource)
 
 SharedResourceTransformation (std::shared_ptr< Unit > before_resource)
 
void set_after_resource (std::shared_ptr< Unit > after_resource)
 
std::shared_ptr< Unitget_before_resource ()
 
std::shared_ptr< Unitget_after_resource ()
 
virtual bool prepare ()
 
virtual bool validate ()
 
virtual bool transform ()
 
virtual bool response ()
 

Additional Inherited Members

- Protected Attributes inherited from Horizon::Zone::Game::SharedResourceTransformation< Unit >
std::weak_ptr< Unit_before_resource
 
std::weak_ptr< Unit_after_resource
 

Constructor & Destructor Documentation

◆ PreparatoryToTransformUnit()

PreparatoryToTransformUnit::PreparatoryToTransformUnit ( std::shared_ptr< Unit unit)

Member Function Documentation

◆ prepare()

◆ transform()

◆ validate()


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