Porytiles
Loading...
Searching...
No Matches
porytiles2::InfraConfig Class Referenceabstract

Interface that defines a complete infra layer configuration. More...

#include <infra_config.hpp>

Inheritance diagram for porytiles2::InfraConfig:
[legend]

Public Member Functions

virtual ~InfraConfig ()=default
 
ChainableResult< ConfigValue< TilesPalMode > > tiles_pal_mode (const std::string &tileset) const
 

Protected Member Functions

virtual ChainableResult< ConfigValue< TilesPalMode > > tiles_pal_mode_raw (const std::string &tileset) const =0
 

Detailed Description

Interface that defines a complete infra layer configuration.

The infra layer operates with this interface - it doesn't need to worry about implementation. Every config value is either virtual (i.e., comes from the user) or defined in terms of other virtual values.

Definition at line 25 of file infra_config.hpp.

Constructor & Destructor Documentation

◆ ~InfraConfig()

virtual porytiles2::InfraConfig::~InfraConfig ( )
virtualdefault

Member Function Documentation

◆ tiles_pal_mode()

ChainableResult< ConfigValue< TilesPalMode > > porytiles2::InfraConfig::tiles_pal_mode ( const std::string &  tileset) const
inline

Definition at line 31 of file infra_config.hpp.

◆ tiles_pal_mode_raw()

virtual ChainableResult< ConfigValue< TilesPalMode > > porytiles2::InfraConfig::tiles_pal_mode_raw ( const std::string &  tileset) const
protectedpure virtual

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