Add get_points accessor
This commit is contained in:
parent
ea103dc6d8
commit
5a3e7c3c0a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user