10 this->player = player;
11 this->setShoot(
false);
12 this->maxSpeed = maxSpeed;
24 Vector3 desiredView = playerPos - myPos;
26 float distance = desiredView.
length();
32 if (this->shipWasHitOnce())
33 setSpeed(10*maxSpeed);
40 this->setView(desiredView);