/// <summary> /// ändert den Startpunkt, sodass die kugel nicht in der Drone spawnen /// </summary> /// <param name="bogenmaß"></param> /// <param name="d"></param> public void changeDirection(double bogenmaß, Drone d) { X += d.LI.X1; Y += d.LI.Y1; }
public Photonentorpedo(Drone drone) : base(drone.X, drone.Y) { VX = 500 * (drone.LI.X1 - drone.LI.X2); VY = 500 * (drone.LI.Y1 - drone.LI.Y2); }