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