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

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