|
Army ant simulation
|
Implementation of the Vterrain class which inherit from the Terrain class. More...
#include "Terrain.h"

Go to the source code of this file.
Classes | |
| class | Vterrain |
Implementation of the Vterrain class which inherit from the Terrain class.
Class for the Vterrain creation including method for the Box2D implementation (Physics) and the SFMLF synchronization (graphics). The V Terrain is a linear ground with a V shaped gap in the middle. The ground is located at m_posY from the top of the window/world and the left corner of the gap at a distance m_runaway from the left end of the window/world. The V gap is described by a given depth m_height and either a given angle m_angle (if terrainParam.v_angle > 0) or a given width m_width.
Definition in file Vterrain.h.
1.8.14