I am working on a project for my programming class in which I need to use a Tracker class. The guidelines given to us are as follows:
class Tracker:
def __init__(self,window,objToTrack):
# window is a graphWin and objToTrack is an object whose
# position is to be shown in the window. objToTrack is
# an object that has getX() and getY() methods that
# report its current position.
# Creates a Tracker object and draws a circle in window
# at the curent position of objToTrack.
def update():
# Moves the circle in the window to the current position
# of the object being tracked.
Any help with creating the class and function to go along with it is much appreciated.
Thanks