Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Public Attributes | List of all members
core::file::Behavior::Wander Struct Reference

Contains data for when the behavior type is Wandering. More...

#include <Behavior.hpp>

Public Member Functions

 Wander (std::uint32_t r)
 Creates the data. More...
 
 Wander ()
 Wander in a 10 tile radius. More...
 

Public Attributes

std::uint32_t radius
 The radius to stay within, in tiles. More...
 

Detailed Description

Contains data for when the behavior type is Wandering.

Definition at line 105 of file Behavior.hpp.

Constructor & Destructor Documentation

◆ Wander() [1/2]

core::file::Behavior::Wander::Wander ( std::uint32_t  r)

Creates the data.

◆ Wander() [2/2]

core::file::Behavior::Wander::Wander ( )

Wander in a 10 tile radius.

Definition at line 133 of file Behavior.cpp.

Member Data Documentation

◆ radius

std::uint32_t core::file::Behavior::Wander::radius

The radius to stay within, in tiles.

Definition at line 107 of file Behavior.hpp.


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