sugar-toolkit-gtk3/sugar/scene/Actor.py

18 lines
279 B
Python
Raw Normal View History

class Actor:
def __init__(self):
self._x = 0
self._y = 0
self._width = -1
self._height = -1
def set_position(self, x, y):
self._x = x
self._y = y
def set_size(self, width, height):
self._width = width
self._height = height
def render(self, window):
pass