Definition at line 50 of file pong.cpp.
◆ PongGame()
◆ makeBallMarker()
void PongGame::makeBallMarker |
( |
| ) |
|
|
inlineprivate |
◆ makeFieldMarker()
void PongGame::makeFieldMarker |
( |
| ) |
|
|
inlineprivate |
◆ makePaddleMarkers()
void PongGame::makePaddleMarkers |
( |
| ) |
|
|
inlineprivate |
◆ normalizeVel()
void PongGame::normalizeVel |
( |
| ) |
|
|
inlineprivate |
◆ processPaddleFeedback()
void PongGame::processPaddleFeedback |
( |
unsigned |
player, |
|
|
const visualization_msgs::InteractiveMarkerFeedbackConstPtr & |
feedback |
|
) |
| |
|
inlineprivate |
◆ reflect()
bool PongGame::reflect |
( |
float & |
pos, |
|
|
float |
last_pos, |
|
|
float |
limit, |
|
|
float & |
t |
|
) |
| |
|
inlineprivate |
◆ reset()
◆ setPaddlePos()
void PongGame::setPaddlePos |
( |
unsigned |
player, |
|
|
float |
pos |
|
) |
| |
|
inlineprivate |
◆ spinOnce()
void PongGame::spinOnce |
( |
| ) |
|
|
inlineprivate |
◆ updateBall()
void PongGame::updateBall |
( |
| ) |
|
|
inlineprivate |
◆ updateScore()
void PongGame::updateScore |
( |
| ) |
|
|
inlineprivate |
◆ ball_dir_x_
float PongGame::ball_dir_x_ |
|
private |
◆ ball_dir_y_
float PongGame::ball_dir_y_ |
|
private |
◆ ball_pos_x_
float PongGame::ball_pos_x_ |
|
private |
◆ ball_pos_y_
float PongGame::ball_pos_y_ |
|
private |
◆ field_marker_
InteractiveMarker PongGame::field_marker_ |
|
private |
◆ game_loop_timer_
◆ last_ball_pos_x_
float PongGame::last_ball_pos_x_ |
|
private |
◆ last_ball_pos_y_
float PongGame::last_ball_pos_y_ |
|
private |
◆ player_contexts_
◆ server_
◆ speed_
The documentation for this class was generated from the following file: