obstacles for the map

Embed: (wiki syntax)

« Back to documentation index

Column Class Reference

Column Class Reference

Column.h. More...

#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

Column.h.

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:
xAbsolute X cohordinate
yAbsolute y cohordinate
radiusRadius 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:
xX 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:
yY cohordinate relative to the screens

Definition at line 56 of file Column.cpp.