Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Attributes | List of all members
core::map::Town Struct Reference

Represents a town, route, or region within a map. Maps may have many towns. Individual tiles are associated to a town. If a tile is not associated with a town then a default town is used with the name, music, and weather of the map itself. More...

#include <Town.hpp>

Public Attributes

std::string name
 
std::string playlist
 
Weather::Type weather
 
std::uint16_t pcSpawn
 
std::string description
 
sf::Vector2i mapPos
 

Detailed Description

Represents a town, route, or region within a map. Maps may have many towns. Individual tiles are associated to a town. If a tile is not associated with a town then a default town is used with the name, music, and weather of the map itself.

Definition at line 22 of file Town.hpp.

Member Data Documentation

◆ description

std::string core::map::Town::description

Definition at line 27 of file Town.hpp.

◆ mapPos

sf::Vector2i core::map::Town::mapPos

Definition at line 28 of file Town.hpp.

◆ name

std::string core::map::Town::name

Definition at line 23 of file Town.hpp.

◆ pcSpawn

std::uint16_t core::map::Town::pcSpawn

Definition at line 26 of file Town.hpp.

◆ playlist

std::string core::map::Town::playlist

Definition at line 24 of file Town.hpp.

◆ weather

Weather::Type core::map::Town::weather

Definition at line 25 of file Town.hpp.


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