mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
Added __all__ declarations to actor, task, fsm
This commit is contained in:
parent
eb2aa16c66
commit
0c888dcaad
@ -1,5 +1,7 @@
|
||||
"""Actor module: contains the Actor class"""
|
||||
|
||||
__all__ = ['Actor']
|
||||
|
||||
from pandac.PandaModules import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from pandac.PandaModules import LODNode
|
||||
|
@ -1,5 +1,7 @@
|
||||
"""DistributedActor module: contains the DistributedActor class"""
|
||||
|
||||
__all__ = ['DistributedActor']
|
||||
|
||||
from direct.distributed import DistributedNode
|
||||
|
||||
import Actor
|
||||
|
@ -1,3 +1,7 @@
|
||||
"""Undocumented Module"""
|
||||
|
||||
__all__ = ['ClassicFSM']
|
||||
|
||||
"""Finite State Machine module: contains the ClassicFSM class.
|
||||
|
||||
This module and class exist only for backward compatibility with
|
||||
|
@ -1,3 +1,7 @@
|
||||
"""Undocumented Module"""
|
||||
|
||||
__all__ = ['FSMException', 'FSM']
|
||||
|
||||
"""
|
||||
The new Finite State Machine module. This replaces the modules
|
||||
previously called FSM.py (now called ClassicFSM.py).
|
||||
|
@ -1,3 +1,7 @@
|
||||
"""Undocumented Module"""
|
||||
|
||||
__all__ = ['FourState']
|
||||
|
||||
|
||||
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
@ -1,3 +1,7 @@
|
||||
"""Undocumented Module"""
|
||||
|
||||
__all__ = ['FourStateAI']
|
||||
|
||||
|
||||
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
@ -1,3 +1,7 @@
|
||||
"""Undocumented Module"""
|
||||
|
||||
__all__ = ['ClassicStyle', 'NewStyle', 'ToonEyes']
|
||||
|
||||
import FSM
|
||||
from pandac.PandaModules import *
|
||||
from direct.task import Task
|
||||
|
@ -1,6 +1,7 @@
|
||||
|
||||
"""State module: contains State class"""
|
||||
|
||||
__all__ = ['State']
|
||||
|
||||
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
import types
|
||||
|
@ -1,6 +1,7 @@
|
||||
|
||||
"""StateData module: contains StateData class"""
|
||||
|
||||
__all__ = ['StateData']
|
||||
|
||||
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
|
||||
from MessengerGlobal import *
|
||||
from direct.task.TaskManagerGlobal import *
|
||||
from direct.task.TaskManagerGlobal import taskMgr
|
||||
from direct.directnotify.DirectNotifyGlobal import *
|
||||
from direct.task.Task import Task
|
||||
|
||||
class EventManager:
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
"""Undocumented Module"""
|
||||
|
||||
__all__ = ['Task', 'TaskPriorityList', 'TaskManager']
|
||||
|
||||
|
||||
# This module may not import pandac.PandaModules, since it is imported
|
||||
# by the Toontown Launcher before the complete PandaModules have been
|
||||
|
@ -1,4 +1,7 @@
|
||||
"""TaskManagerGlobal module: contains the global task manager"""
|
||||
|
||||
__all__ = ['taskMgr']
|
||||
|
||||
import Task
|
||||
|
||||
taskMgr = Task.TaskManager()
|
||||
|
@ -1,3 +1,7 @@
|
||||
"""Undocumented Module"""
|
||||
|
||||
__all__ = []
|
||||
|
||||
from direct.task.TaskManagerGlobal import *
|
||||
import direct.task.Task
|
||||
import random
|
||||
|
@ -1,3 +1,7 @@
|
||||
"""Undocumented Module"""
|
||||
|
||||
__all__ = ['Timer']
|
||||
|
||||
from pandac.PandaModules import *
|
||||
import Task
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user