Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Attributes | List of all members
Olympe::MinimapNode Struct Reference

A single node represented in the minimap. More...

#include <MinimapWidget.h>

Public Attributes

float x
 Normalised x position [0..1] in graph space.
 
float y
 Normalised y position [0..1] in graph space.
 
int id
 Corresponding node ID in the full graph.
 

Detailed Description

A single node represented in the minimap.

Node representation in minimap (normalised coordinates)

Definition at line 33 of file MinimapWidget.h.

Member Data Documentation

◆ id

int Olympe::MinimapNode::id

Corresponding node ID in the full graph.

Definition at line 36 of file MinimapWidget.h.

Referenced by Olympe::MinimapWidget::UpdateNodes().

◆ x

float Olympe::MinimapNode::x

Normalised x position [0..1] in graph space.

Definition at line 34 of file MinimapWidget.h.

◆ y

float Olympe::MinimapNode::y

Normalised y position [0..1] in graph space.

Definition at line 35 of file MinimapWidget.h.


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