2021-10-05 09:49:52 +08:00
|
|
|
from PikaObj import *
|
|
|
|
|
|
|
|
|
|
|
|
class BackGround(TinyObj):
|
|
|
|
def init():
|
|
|
|
pass
|
|
|
|
|
|
|
|
def setColor(color: str):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def getColor() -> str:
|
|
|
|
pass
|
|
|
|
|
2021-11-02 22:58:30 +08:00
|
|
|
def update():
|
2021-10-05 09:49:52 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class ElementList(BaseObj):
|
2021-11-02 22:58:30 +08:00
|
|
|
def update():
|
2021-10-05 09:49:52 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class Element(TinyObj):
|
|
|
|
def init():
|
|
|
|
pass
|
|
|
|
|
|
|
|
def move(x: int, y: int):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def right(x: int):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def lift(x: int):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def up(y: int):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def down(y: int):
|
|
|
|
pass
|
|
|
|
|
2021-11-02 22:58:30 +08:00
|
|
|
def update():
|
2021-10-05 09:49:52 +08:00
|
|
|
pass
|
|
|
|
|
2021-11-03 20:11:31 +08:00
|
|
|
def setAlpha(alpha: int):
|
|
|
|
pass
|
|
|
|
|
2021-10-05 09:49:52 +08:00
|
|
|
|
|
|
|
class Box(Element):
|
|
|
|
# override
|
2021-11-02 22:58:30 +08:00
|
|
|
def update():
|
2021-10-05 09:49:52 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
def init():
|
|
|
|
pass
|
|
|
|
|
|
|
|
def setColor(color: str):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def setSize(x: int, y: int):
|
|
|
|
pass
|
|
|
|
|
2021-11-30 19:21:00 +08:00
|
|
|
|
2021-11-02 22:58:30 +08:00
|
|
|
class Window(BaseObj):
|
2021-10-05 09:49:52 +08:00
|
|
|
background = BackGround()
|
|
|
|
elems = ElementList()
|
|
|
|
|
|
|
|
def init():
|
|
|
|
pass
|
|
|
|
|
2021-11-02 22:58:30 +08:00
|
|
|
def update():
|
2021-10-05 09:49:52 +08:00
|
|
|
pass
|