python_notes/Turtle/Drone Invaders/bomb.py

20 lines
416 B
Python
Raw Normal View History

from boundedturtle import BoundedTurtle
import math
from drone import Drone
from pygame import mixer
class Bomb(BoundedTurtle):
def __init__(self, initHeading, speed, xMin, xMax, yMin, yMax, scoreboard):
pass
def move(self):
pass
def distance(self, other):
p1 = self.position()
p2 = other.position()
return math.dist(p1, p2)
def remove(self):
pass