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

#include <combat_text.h>

Public Attributes

std::string text
uint32_t unit = 0
 The unit it rises over, by its id: a monster's, or else a player's.
bool monster = false
Color color = WHITE
float scale = 1.0f
 What's about you is bigger than what's about the others.
float age = 0.0f
 In seconds, since it came.

Detailed Description

A number or a line that rises over a unit as something happens to it, such as the damage of a hit, and fades.

Definition at line 17 of file combat_text.h.

Member Data Documentation

◆ age

float nanommo::Popup::age = 0.0f

In seconds, since it came.

Definition at line 26 of file combat_text.h.

◆ color

Color nanommo::Popup::color = WHITE

Definition at line 22 of file combat_text.h.

◆ monster

bool nanommo::Popup::monster = false

Definition at line 21 of file combat_text.h.

◆ scale

float nanommo::Popup::scale = 1.0f

What's about you is bigger than what's about the others.

Definition at line 24 of file combat_text.h.

◆ text

std::string nanommo::Popup::text

Definition at line 18 of file combat_text.h.

◆ unit

uint32_t nanommo::Popup::unit = 0

The unit it rises over, by its id: a monster's, or else a player's.

Definition at line 20 of file combat_text.h.


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