mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
parent
47f4107855
commit
5050aae5c8
@ -17,7 +17,6 @@ class StagedObject:
|
||||
call any "handle" functions.
|
||||
"""
|
||||
self.__state = initState
|
||||
pass
|
||||
|
||||
def goOnStage(self, *args, **kw):
|
||||
"""
|
||||
@ -29,8 +28,6 @@ class StagedObject:
|
||||
|
||||
if not self.isOnStage():
|
||||
self.handleOnStage(*args, **kw)
|
||||
pass
|
||||
pass
|
||||
|
||||
def handleOnStage(self):
|
||||
"""
|
||||
@ -39,7 +36,6 @@ class StagedObject:
|
||||
Don't forget to call down to this one, though.
|
||||
"""
|
||||
self.__state = StagedObject.ON
|
||||
pass
|
||||
|
||||
def goOffStage(self, *args, **kw):
|
||||
"""
|
||||
@ -51,8 +47,6 @@ class StagedObject:
|
||||
|
||||
if not self.isOffStage():
|
||||
self.handleOffStage(*args, **kw)
|
||||
pass
|
||||
pass
|
||||
|
||||
def handleOffStage(self):
|
||||
"""
|
||||
@ -61,7 +55,6 @@ class StagedObject:
|
||||
Don't forget to call down to this one, though.
|
||||
"""
|
||||
self.__state = StagedObject.OFF
|
||||
pass
|
||||
|
||||
def isOnStage(self):
|
||||
return self.__state == StagedObject.ON
|
||||
|
Loading…
x
Reference in New Issue
Block a user