direct.showbase.BulletinBoard

from direct.showbase.BulletinBoard import BulletinBoard

Contains the BulletinBoard class.

Inheritance diagram

Inheritance diagram of direct.showbase.BulletinBoard

class BulletinBoard[source]

Bases: object

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.

__init__()[source]
get(postName, default=None)[source]
getEvent(postName)[source]
getRemoveEvent(postName)[source]
has(postName)[source]
notify = <direct.directnotify.Notifier.Notifier object>
post(postName, value=None)[source]
remove(postName)[source]
removeIfEqual(postName, value)[source]
update(postName, value)[source]

can use this to set value the first time