VIPRA Documentation
Loading...
Searching...
No Matches
VIPRA::Behaviors::BehaviorBuilder Class Reference

Parses Behavior Files and Creates the Runtime Functionality they describe. More...

#include <behavior_builder.hpp>

Inheritance diagram for VIPRA::Behaviors::BehaviorBuilder:
Collaboration diagram for VIPRA::Behaviors::BehaviorBuilder:

Public Member Functions

auto build (std::string name, std::filesystem::path const &filepath, Modules::Map const &map, VIPRA::seed seed) -> HumanBehavior
 Parses the behavior file at filepath, returns the behavior it describes.
 

Detailed Description

Parses Behavior Files and Creates the Runtime Functionality they describe.

Member Function Documentation

◆ build()

auto VIPRA::Behaviors::BehaviorBuilder::build ( std::string behaviorName,
std::filesystem::path const & filepath,
Modules::Map const & map,
VIPRA::seed seed ) -> HumanBehavior
nodiscard

Parses the behavior file at filepath, returns the behavior it describes.

Parameters
behaviorName: name of the behavior
filepath: path to the behavior file
seedNum: seed for randomization
Returns
HumanBehavior&&

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