SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
TerrainAttorney.h
1#ifndef TerrainAttorney_H
2#define TerrainAttorney_H
3
4#include "Terrain.h"
5
14{
15public:
21 {
22 private:
23 friend class TerrainManager;
24
29 static void Render(Terrain* p) { p->Draw(); }
30 };
31};
32
33#endif
Provides access to the game loop related functions of Terrain.
Definition TerrainAttorney.h:21
static void Render(Terrain *p)
Calls the Draw method of the Terrain object.
Definition TerrainAttorney.h:29
Provides controlled access to the Terrain class for specific classes.
Definition TerrainAttorney.h:14
Represents a 3D terrain generated from a heightmap.
Definition Terrain.h:18
void Draw()
Renders the terrain.
Definition Terrain.cpp:307