Horizon Official Technical Documentation
Horizon::Zone::Game::TransformResource< UnitType > Class Template Reference

#include <SharedResourceTransformation.hpp>

Public Member Functions

 TransformResource (PreparatoryTo< UnitType > prep_to, SubsequentTo< UnitType > sub_to)
 
virtual bool prepare ()
 
virtual bool validate ()
 
virtual bool transform ()
 

Protected Attributes

PreparatoryTo< UnitType > _prep_to
 
SubsequentTo< UnitType > _sub_to
 

Constructor & Destructor Documentation

◆ TransformResource()

template<typename UnitType >
TransformResource::TransformResource ( PreparatoryTo< UnitType >  prep_to,
SubsequentTo< UnitType >  sub_to 
)
67: _prep_to(prep_to), _sub_to(sub_to)
68{
69
70}
SubsequentTo< UnitType > _sub_to
Definition: SharedResourceTransformation.hpp:113
PreparatoryTo< UnitType > _prep_to
Definition: SharedResourceTransformation.hpp:112

Member Function Documentation

◆ prepare()

◆ transform()

◆ validate()

Member Data Documentation

◆ _prep_to

template<typename UnitType >
PreparatoryTo<UnitType> Horizon::Zone::Game::TransformResource< UnitType >::_prep_to
protected

◆ _sub_to

template<typename UnitType >
SubsequentTo<UnitType> Horizon::Zone::Game::TransformResource< UnitType >::_sub_to
protected

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