mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-22 17:12:55 +08:00
32 lines
597 B
Python
32 lines
597 B
Python
class Block(SysObj):
|
|
def init():
|
|
pass
|
|
def moveTo(x:int, y:int):
|
|
pass
|
|
def moveLeft(x:int):
|
|
pass
|
|
def moveRight(x:int):
|
|
pass
|
|
def setColor(color:str):
|
|
pass
|
|
def setSize(sizeX:int, sizeY:int):
|
|
pass
|
|
def on():
|
|
pass
|
|
def off():
|
|
pass
|
|
|
|
class MemoryChecker(TinyObj):
|
|
# check memory used now
|
|
def now():
|
|
pass
|
|
# check memory used max
|
|
def max():
|
|
pass
|
|
# check the size of memory pool
|
|
def size():
|
|
pass
|
|
|
|
class PikaMain(SysObj):
|
|
mem = MemoryChecker()
|
|
block = Block() |