|
Army ant simulation
|
Implementation of the Terrain class. More...
#include "Box2D/Box2D.h"#include "SFML/Graphics.hpp"#include "SFML/Window.hpp"#include "Config.h"

Go to the source code of this file.
Classes | |
| class | Terrain |
Enumerations | |
| enum | e_terrain_type { DEFAULT, V_TERRAIN, V2BL_TERRAIN, RAMP, BOX, V_STEPPER } |
Implementation of the Terrain class.
General class for the Terrain creation including method for the Box2D implementation (Physics) and the SFMLF synchronization (graphics). The default terrain is linear ground of width 3*m_runaway located at m_posY from the top of the window. The m_width, m_height and m_angle members do not represent actual dimension in the case of the default terrain.
Definition in file Terrain.h.
| enum e_terrain_type |
1.8.14