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 
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 
Definition: RenderManager.hpp:11
bool active
Definition: RenderManager.hpp:23
Definition: RenderManager.hpp:19
int panelY2
Definition: RenderManager.hpp:22