WorldSim
inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
RenderManager.hpp
Go to the documentation of this file.
1
/* #inc
2
3
RenderManager.hpp
4
5
Container for classes that do rendering. Handles device io and panels.
6
7
*/
8
9
10
/* Objects that can render, recieve device IO, etc, inherit this. */
11
class
CanRender
12
{
13
int
panelX1, panelY1, panelX2, panelY2;
/* Coordinates that the object can render within. */
14
bool
active;
/* If false, the panel won't render or do IO. */
15
};
16
17
18
19
class
RenderManager
20
{
21
public
:
22
int
panelX1, panelY1, panelX2,
panelY2
;
/* Coordinates for the renderManager to render within. */
23
bool
active
;
/* Whether the render manager should do anything. */
24
25
//Vector <>
26
27
28
};
29
30
CanRender
Definition:
RenderManager.hpp:11
RenderManager::active
bool active
Definition:
RenderManager.hpp:23
RenderManager
Definition:
RenderManager.hpp:19
RenderManager::panelY2
int panelY2
Definition:
RenderManager.hpp:22
Generated by
1.8.13