![]() |
HeadBall
1.0
A game
|
The Uphill part of the game field, below the goal post and above the ground. More...
#include <Uphill.hpp>

Public Member Functions | |
| UpHill (GameDataRef data, WorldRef world) | |
| Construct a new Up Hill object. More... | |
| void | init (sf::Vector2i position) |
| Initiate the Up Hill ubject. More... | |
| sf::RectangleShape | shape () |
| Return the shape of Up Hill object. More... | |
Private Attributes | |
| GameDataRef | _data |
| The Shared Pointer of the game data. More... | |
| WorldRef | _world |
| The Shared Pointer of Box2D World. More... | |
| sf::RectangleShape | _shape |
| The SFML shape of the uphill. More... | |
| b2BodyDef | _bodyDef |
| The Definition of Box2D body. More... | |
| b2Body * | _body |
| The Box2D body of uphill. More... | |
| b2PolygonShape | _polyShape |
| The polygon shape for fixture definition. More... | |
| b2FixtureDef | _fixture |
| The fixture of uphill for defining its properties. More... | |
The Uphill part of the game field, below the goal post and above the ground.
| HeadBall::UpHill::UpHill | ( | GameDataRef | data, |
| WorldRef | world | ||
| ) |
Construct a new Up Hill object.
| data | The Shared Pointer of game data |
| world | The Shared Pointer of Box2D world |
| void HeadBall::UpHill::init | ( | sf::Vector2i | position | ) |
Initiate the Up Hill ubject.
| position | The position where object is placed |
| sf::RectangleShape HeadBall::UpHill::shape | ( | ) |
Return the shape of Up Hill object.
|
private |
The Box2D body of uphill.
|
private |
The Definition of Box2D body.
|
private |
The Shared Pointer of the game data.
|
private |
The fixture of uphill for defining its properties.
|
private |
The polygon shape for fixture definition.
|
private |
The SFML shape of the uphill.
|
private |
The Shared Pointer of Box2D World.