コード例 #1
0
ファイル: index.php プロジェクト: nunomcb/yoda-hipchat
 public function cannonBallPosition($x, $y)
 {
     $this->cannonBall->position = new Point($this->cannon->getCenter()->x + $x, $this->cannon->getCenter()->y - $y);
 }