コード例 #1
0
ファイル: p04.cpp プロジェクト: Boza-s6/cppcon2014
 void update()
 {
     // Before moving the paddle, we'll process player input,
     // changing the paddle's velocity.
     processPlayerInput();
     shape.move(velocity);
 }
コード例 #2
0
ファイル: p08.cpp プロジェクト: luckytina/cppcon2014
 void update()
 {
     processPlayerInput();
     shape.move(velocity);
 }