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

Represents a Peoplemon in storage. More...

#include <StoredPeoplemon.hpp>

Public Member Functions

 StoredPeoplemon ()=default
 Construct a new Stored Peoplemon. More...
 
 StoredPeoplemon (const OwnedPeoplemon &ppl, std::uint16_t box, const sf::Vector2i &pos)
 Construct a new Stored Peoplemon. More...
 

Public Attributes

OwnedPeoplemon peoplemon
 The peoplemon itself. More...
 
std::uint16_t boxNumber
 Which box the peoplemon is in. More...
 
sf::Vector2i position
 The position of the peoplemon in the box. More...
 

Detailed Description

Represents a Peoplemon in storage.

Definition at line 18 of file StoredPeoplemon.hpp.

Constructor & Destructor Documentation

◆ StoredPeoplemon() [1/2]

core::pplmn::StoredPeoplemon::StoredPeoplemon ( )
default

Construct a new Stored Peoplemon.

◆ StoredPeoplemon() [2/2]

core::pplmn::StoredPeoplemon::StoredPeoplemon ( const OwnedPeoplemon ppl,
std::uint16_t  box,
const sf::Vector2i &  pos 
)
inline

Construct a new Stored Peoplemon.

Parameters
pplThe peoplemon to store
boxThe box to store it in
posThe position to occupy in the box

Definition at line 41 of file StoredPeoplemon.hpp.

Member Data Documentation

◆ boxNumber

std::uint16_t core::pplmn::StoredPeoplemon::boxNumber

Which box the peoplemon is in.

Definition at line 23 of file StoredPeoplemon.hpp.

◆ peoplemon

OwnedPeoplemon core::pplmn::StoredPeoplemon::peoplemon

The peoplemon itself.

Definition at line 20 of file StoredPeoplemon.hpp.

◆ position

sf::Vector2i core::pplmn::StoredPeoplemon::position

The position of the peoplemon in the box.

Definition at line 26 of file StoredPeoplemon.hpp.


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