WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Public Member Functions | Public Attributes | List of all members
WorldViewer_Minimap Class Reference

World minimap menu Displays a minimap of the entire world. Allows player to see where they are in the world, and also click on it to quickly view other locations. Has a box which shows the current view area. More...

#include <World_Viewer_Minimap.hpp>

Inheritance diagram for WorldViewer_Minimap:
Inheritance graph
[legend]
Collaboration diagram for WorldViewer_Minimap:
Collaboration graph
[legend]

Public Member Functions

 WorldViewer_Minimap ()
 
void init ()
 
void render ()
 
bool mouseEvent (Mouse *_mouse)
 
void eventResize ()
 

Public Attributes

Worldworld
 

Detailed Description

World minimap menu Displays a minimap of the entire world. Allows player to see where they are in the world, and also click on it to quickly view other locations. Has a box which shows the current view area.

Constructor & Destructor Documentation

◆ WorldViewer_Minimap()

WorldViewer_Minimap::WorldViewer_Minimap ( )
inline

Member Function Documentation

◆ eventResize()

void WorldViewer_Minimap::eventResize ( )
inline

◆ init()

void WorldViewer_Minimap::init ( )
inline

◆ mouseEvent()

bool WorldViewer_Minimap::mouseEvent ( Mouse *  _mouse)
inline

◆ render()

void WorldViewer_Minimap::render ( )
inline

Member Data Documentation

◆ world

World* WorldViewer_Minimap::world

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