mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
adding __str__()
This commit is contained in:
parent
b294026a78
commit
832f0b51e3
@ -33,7 +33,10 @@ class ControlManager:
|
|||||||
self.enable()
|
self.enable()
|
||||||
#self.monitorTask = taskMgr.add(self.monitor, "ControlManager-%s"%(id(self)), priority=-1)
|
#self.monitorTask = taskMgr.add(self.monitor, "ControlManager-%s"%(id(self)), priority=-1)
|
||||||
self.forceAvJumpToken = None
|
self.forceAvJumpToken = None
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return 'ControlManager: using \'%s\'' % self.currentControlsName
|
||||||
|
|
||||||
def add(self, controls, name="basic"):
|
def add(self, controls, name="basic"):
|
||||||
"""
|
"""
|
||||||
controls is an avatar control system.
|
controls is an avatar control system.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user