Esempio n. 1
0
 public function cannonBallPosition($x, $y)
 {
     $this->cannonBall->position = new Point($this->cannon->getCenter()->x + $x, $this->cannon->getCenter()->y - $y);
 }