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

Represents a character to be spawned into a map on load. More...

#include <CharacterSpawn.hpp>

Public Member Functions

 CharacterSpawn ()=default
 Construct a new Character Spawn object. More...
 
 CharacterSpawn (const bl::tmap::Position &pos, const std::string &file)
 Construct a new Character Spawn object. More...
 

Public Attributes

bl::tmap::Position position
 
std::string file
 

Detailed Description

Represents a character to be spawned into a map on load.

Definition at line 19 of file CharacterSpawn.hpp.

Constructor & Destructor Documentation

◆ CharacterSpawn() [1/2]

core::map::CharacterSpawn::CharacterSpawn ( )
default

Construct a new Character Spawn object.

◆ CharacterSpawn() [2/2]

core::map::CharacterSpawn::CharacterSpawn ( const bl::tmap::Position &  pos,
const std::string &  file 
)
inline

Construct a new Character Spawn object.

Parameters
posThe position to spawn at
fileThe file to load from

Definition at line 35 of file CharacterSpawn.hpp.

Member Data Documentation

◆ file

std::string core::map::CharacterSpawn::file

Definition at line 21 of file CharacterSpawn.hpp.

◆ position

bl::tmap::Position core::map::CharacterSpawn::position

Definition at line 20 of file CharacterSpawn.hpp.


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