nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
nanommo::CharacterScreen Class Reference

#include <character_screen.h>

Public Member Functions

 CharacterScreen (ItemTable items)
 CharacterScreen (const CharacterScreen &)=delete
CharacterScreen & operator= (const CharacterScreen &)=delete
bool * mutable_visible ()
void Toggle ()
void Render (const Renderer &renderer)
std::optional< protocol::ItemAction > Build (const std::vector< Figure > &figures, const protocol::World &world, const protocol::Inventory &bag)

Detailed Description

You, as others see you, on C: standing on a lit stage, with a slot round you for each thing you wear, and your health and experience under it.

Definition at line 18 of file character_screen.h.

Constructor & Destructor Documentation

◆ CharacterScreen() [1/2]

nanommo::CharacterScreen::CharacterScreen ( ItemTable items)
inlineexplicit

Definition at line 20 of file character_screen.h.

◆ CharacterScreen() [2/2]

nanommo::CharacterScreen::CharacterScreen ( const CharacterScreen & )
delete

Member Function Documentation

◆ Build()

std::optional< protocol::ItemAction > nanommo::CharacterScreen::Build ( const std::vector< Figure > & figures,
const protocol::World & world,
const protocol::Inventory & bag )

Draws the window, while it's open, with what the player wears, and returns what they do with it, as the bag's window does.

Definition at line 73 of file character_screen.cc.

◆ mutable_visible()

bool * nanommo::CharacterScreen::mutable_visible ( )
inline

Definition at line 25 of file character_screen.h.

◆ operator=()

CharacterScreen & nanommo::CharacterScreen::operator= ( const CharacterScreen & )
delete

◆ Render()

void nanommo::CharacterScreen::Render ( const Renderer & renderer)

Definition at line 54 of file character_screen.cc.

◆ Toggle()

void nanommo::CharacterScreen::Toggle ( )
inline

Definition at line 26 of file character_screen.h.


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