Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | setScreenDimensions |
def | getScreenDimensions |
def | setScreenMargins |
def | getScreenAspectRatio |
def | setScreenAspectRatio |
def | getScreenMargins |
def | dispatchMessage |
def | broadcastMessage |
def | broadcastRoomMessage |
def | registerObject |
def | keyEvent |
def | registerRoom |
def | deregisterObject |
def | deregisterAllObjects |
def | deregisterAllRooms |
def | redrawIfNeeded |
def | getRoomById |
Data Fields | |
aspect | |
needRedraw | |
modalElement | |
keyTarget | |
screenX | |
screenY | |
marginX | |
marginY | |
nextId | |
objects | |
rooms | |
def __init__ | ( | self, | |
screenX = None , |
|||
screenY = None , |
|||
marginX = None , |
|||
marginY = None , |
|||
aspect = None |
|||
) |
Definition at line 336 of file GUI.py.
References GUIRoot.deregisterAllObjects(), GUIRoot.deregisterAllRooms(), and GUIRoot.setScreenDimensions().
def broadcastMessage | ( | self, | |
message, | |||
params | |||
) |
def broadcastRoomMessage | ( | self, | |
roomindex, | |||
message, | |||
params | |||
) |
Definition at line 392 of file GUI.py.
References GUIRoot.objects, and inspect.trace().
def deregisterAllObjects | ( | self) |
def deregisterAllRooms | ( | self) |
def deregisterObject | ( | self, | |
id | |||
) |
def dispatchMessage | ( | self, | |
id, | |||
message, | |||
params | |||
) |
Definition at line 380 of file GUI.py.
References GUIRoot.objects, locale.str(), and inspect.trace().
def getRoomById | ( | self, | |
id | |||
) |
def getScreenAspectRatio | ( | self) |
Definition at line 371 of file GUI.py.
References GUIRoot.aspect.
def getScreenDimensions | ( | self) |
Definition at line 363 of file GUI.py.
References GUIRoot.screenX, and GUIRoot.screenY.
def getScreenMargins | ( | self) |
Definition at line 377 of file GUI.py.
References GUIRoot.marginX, and GUIRoot.marginY.
def keyEvent | ( | self) |
def redrawIfNeeded | ( | self) |
def registerObject | ( | self, | |
room, | |||
object | |||
) |
Definition at line 398 of file GUI.py.
References GUIRoot.nextId, and GUIRoot.objects.
def registerRoom | ( | self, | |
room | |||
) |
Definition at line 416 of file GUI.py.
References GUIRoot.rooms.
def setScreenAspectRatio | ( | self, | |
aspect | |||
) |
Definition at line 374 of file GUI.py.
References GUIRoot.aspect.