|
Panda3D
|
Public Member Functions | |
| def | __init__ |
| def | __repr__ |
| def | get |
| def | getEvent |
| def | getRemoveEvent |
| def | has |
| def | post |
| def | remove |
| def | removeIfEqual |
| def | update |
Static Public Attributes | |
| tuple | notify = DirectNotifyGlobal.directNotify.newCategory('BulletinBoard') |
This class implements a global location for key/value pairs to be stored. Intended to prevent coders from putting global variables directly on showbase, so that potential name collisions can be more easily detected.
| def __init__ | ( | self | ) |
| def __repr__ | ( | self | ) |
| def get | ( | self, | |
| postName, | |||
default = None |
|||
| ) |
| def getEvent | ( | self, | |
| postName | |||
| ) |
| def getRemoveEvent | ( | self, | |
| postName | |||
| ) |
| def has | ( | self, | |
| postName | |||
| ) |
| def post | ( | self, | |
| postName, | |||
value = None |
|||
| ) |
| def remove | ( | self, | |
| postName | |||
| ) |
| def removeIfEqual | ( | self, | |
| postName, | |||
| value | |||
| ) |
| def update | ( | self, | |
| postName, | |||
| value | |||
| ) |
can use this to set value the first time
tuple notify = DirectNotifyGlobal.directNotify.newCategory('BulletinBoard') [static] |
1.7.3