adding __str__()

This commit is contained in:
Josh Wilson 2007-08-11 06:36:44 +00:00
parent b294026a78
commit 832f0b51e3

View File

@ -34,6 +34,9 @@ class ControlManager:
#self.monitorTask = taskMgr.add(self.monitor, "ControlManager-%s"%(id(self)), priority=-1)
self.forceAvJumpToken = None
def __str__(self):
return 'ControlManager: using \'%s\'' % self.currentControlsName
def add(self, controls, name="basic"):
"""
controls is an avatar control system.