obstacles for the map
Column Class Reference
#include <Column.h>
Public Member Functions | |
| Column () | |
| Class constructor. | |
| ~Column () | |
| Class destructor. | |
| int | getPosX () |
| Getter for the the absolute X cohordinate. | |
| int | getPosY () |
| Getter for the the absolute Y cohordinate. | |
| int | getRadius () |
| Getter for the the radius of the column object. | |
| int | getScenePosX () |
| Getter for the the X cohordinate relative to the screen. | |
| int | getScenePosY () |
| Getter for the the Y cohordinate relative to the screen. | |
| void | setScenePosX (int x) |
| Setter for the the X cohordinate relative to the screen. | |
| void | setScenePosY (int y) |
| Setter for the the Y cohordinate relative to the screen. | |
| void | init (int x, int y, int radius) |
| initialise the column object | |
Detailed Description
This library handles a circular type of obstacle.
Definition at line 11 of file Column.h.
Constructor & Destructor Documentation
| Column | ( | ) |
Class constructor.
Definition at line 4 of file Column.cpp.
| ~Column | ( | ) |
Class destructor.
Definition at line 10 of file Column.cpp.
Member Function Documentation
| int getPosX | ( | ) |
Getter for the the absolute X cohordinate.
Definition at line 26 of file Column.cpp.
| int getPosY | ( | ) |
Getter for the the absolute Y cohordinate.
Definition at line 31 of file Column.cpp.
| int getRadius | ( | ) |
Getter for the the radius of the column object.
Definition at line 36 of file Column.cpp.
| int getScenePosX | ( | ) |
Getter for the the X cohordinate relative to the screen.
Definition at line 41 of file Column.cpp.
| int getScenePosY | ( | ) |
Getter for the the Y cohordinate relative to the screen.
Definition at line 46 of file Column.cpp.
| void init | ( | int | x, |
| int | y, | ||
| int | radius | ||
| ) |
initialise the column object
- Parameters:
-
x Absolute X cohordinate y Absolute y cohordinate radius Radius of the column object
Definition at line 16 of file Column.cpp.
| void setScenePosX | ( | int | x ) |
Setter for the the X cohordinate relative to the screen.
- Parameters:
-
x X cohordinate relative to the screens
Definition at line 51 of file Column.cpp.
| void setScenePosY | ( | int | y ) |
Setter for the the Y cohordinate relative to the screen.
- Parameters:
-
y Y cohordinate relative to the screens
Definition at line 56 of file Column.cpp.
Generated on Sun Jul 31 2022 04:53:13 by
1.7.2