*** empty log message ***

This commit is contained in:
Joe Shochet 2001-03-20 20:10:50 +00:00
parent 23b6a154be
commit 4eeab21a64
1 changed files with 6 additions and 0 deletions

View File

@ -172,6 +172,12 @@ class State(DirectObject):
else:
self.__FSMList.append(FSM)
def removeChild(self, FSM):
"""addChild(self, FSM)
Add the given FSM to list of child FSMs"""
if FSM in self.__FSMList:
self.__FSMList.remove(FSM)
def hasChildren(self):
"""hasChildren(self)
Return true if state has child FSMs"""