#include <global_object.h>
Public メソッド | |
GlobalBallObject () | |
initialize all data with 0. | |
const Vector2D & | pos () const |
get global position | |
const Vector2D & | vel () const |
get global velocity | |
void | setPos (const double &x, const double &y) |
set position | |
void | setVel (const double &vx, const double &vy) |
set velocity |
const Vector2D& rcsc::GlobalBallObject::pos | ( | ) | const [inline] |
get global position
const Vector2D& rcsc::GlobalBallObject::vel | ( | ) | const [inline] |
get global velocity
void rcsc::GlobalBallObject::setPos | ( | const double & | x, | |
const double & | y | |||
) | [inline] |
set position
x | coordinage x | |
y | coordinage y |
void rcsc::GlobalBallObject::setVel | ( | const double & | vx, | |
const double & | vy | |||
) | [inline] |
set velocity
vx | velocity x | |
vy | velocity y |