Add get_points accessor

This commit is contained in:
Dan Williams 2006-10-19 09:52:15 -04:00
parent ea103dc6d8
commit 5a3e7c3c0a

View File

@ -24,6 +24,9 @@ class Sketch:
def add_point(self, x, y): def add_point(self, x, y):
self._points.append((x, y)) self._points.append((x, y))
def get_points(self):
return self._points
def draw(self, ctx): def draw(self, ctx):
start = True start = True