Army ant simulation
Classes
Ramp.h File Reference

Implementation of the Ramp class which inherit from the Terrain class. More...

#include "Terrain.h"
Include dependency graph for Ramp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ramp
 

Detailed Description

Implementation of the Ramp class which inherit from the Terrain class.

Class for the Ramp creation including method for the Box2D implementation (Physics) and the SFMLF synchronization (graphics). The Ramp Terrain is an horizontal descending ramp. The top ground is located at m_posY from the top of the window/world and the ramp at a distance m_runaway from the left end of the window/world. The Ramp is described by a height of m_height (and an angle of 90°).

Date
12 Feb. 2019
Author
lucie houel

Definition in file Ramp.h.