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

Something the compass shows the way to. More...

#include <compass.h>

Public Types

enum class  Kind {
  kTarget , kQuest , kTurnIn , kGate ,
  kDestination
}

Public Attributes

Kind kind = Kind::kTarget
float bearing = 0.0f
float distance = 0.0f
 In metres.
ImU32 color = IM_COL32_WHITE

Detailed Description

Something the compass shows the way to.

Definition at line 29 of file compass.h.

Member Enumeration Documentation

◆ Kind

enum class nanommo::CompassMark::Kind
strong
Enumerator
kTarget 
kQuest 
kTurnIn 
kGate 
kDestination 

Definition at line 30 of file compass.h.

Member Data Documentation

◆ bearing

float nanommo::CompassMark::bearing = 0.0f

Definition at line 32 of file compass.h.

◆ color

ImU32 nanommo::CompassMark::color = IM_COL32_WHITE

Definition at line 35 of file compass.h.

◆ distance

float nanommo::CompassMark::distance = 0.0f

In metres.

Definition at line 34 of file compass.h.

◆ kind

Kind nanommo::CompassMark::kind = Kind::kTarget

Definition at line 31 of file compass.h.


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