mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 13:15:00 -04:00
PandaObject to DirectObject
This commit is contained in:
parent
6f16cdb12e
commit
8900f25533
@ -1,6 +1,6 @@
|
||||
""" Class used to create and control radamec device """
|
||||
from math import *
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from DirectDeviceManager import *
|
||||
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
@ -1,5 +1,5 @@
|
||||
""" Class used to create and control joybox device """
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from DirectDeviceManager import *
|
||||
from direct.directtools.DirectUtil import *
|
||||
from direct.gui import OnscreenText
|
||||
|
@ -1,6 +1,6 @@
|
||||
""" Class used to create and control radamec device """
|
||||
from math import *
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from DirectDeviceManager import *
|
||||
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
@ -1,4 +1,4 @@
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from DirectUtil import *
|
||||
from DirectGeometry import *
|
||||
from DirectGlobals import *
|
||||
|
@ -1,4 +1,4 @@
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from DirectGlobals import *
|
||||
from DirectUtil import *
|
||||
from DirectGeometry import *
|
||||
|
@ -1,4 +1,4 @@
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from DirectGlobals import *
|
||||
from DirectUtil import *
|
||||
from DirectGeometry import *
|
||||
|
@ -1,4 +1,4 @@
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from DirectGlobals import *
|
||||
from DirectUtil import*
|
||||
from DirectCameraControl import *
|
||||
|
@ -1,4 +1,4 @@
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from direct.directtools.DirectGeometry import *
|
||||
|
||||
from pandac.PandaModules import NodePath
|
||||
|
@ -4,7 +4,8 @@ This module and class exist only for backward compatibility with
|
||||
existing code. New code should use the FSM module instead.
|
||||
"""
|
||||
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
import types
|
||||
import weakref
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
|
||||
"""State module: contains State class"""
|
||||
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
import types
|
||||
|
||||
# This gets set by a dconfig variable in ShowBase.py
|
||||
|
@ -1,7 +1,8 @@
|
||||
|
||||
"""StateData module: contains StateData class"""
|
||||
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
||||
@ -11,7 +12,7 @@ class StateData(DirectObject):
|
||||
State Machine (ClassicFSM).
|
||||
"""
|
||||
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('StateData')
|
||||
notify = directNotify.newCategory('StateData')
|
||||
|
||||
def __init__(self, doneEvent):
|
||||
self.doneEvent = doneEvent
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
from pandac.PandaModules import *
|
||||
from direct.showbase.MessengerGlobal import *
|
||||
from direct.directnotify.DirectNotifyGlobal import *
|
||||
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||||
import Interval
|
||||
import types
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
"""Interval module: contains the Interval class"""
|
||||
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from pandac.PandaModules import *
|
||||
from direct.task import Task
|
||||
from direct.showbase import PythonUtil
|
||||
|
@ -1,5 +1,5 @@
|
||||
from pandac.PandaModules import *
|
||||
from direct.showbase.DirectObject import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from direct.showbase.PhysicsManagerGlobal import *
|
||||
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
@ -1,8 +1,8 @@
|
||||
from DirectObject import *
|
||||
from pandac.PandaModules import *
|
||||
|
||||
class PandaObject(DirectObject):
|
||||
"""
|
||||
This is the class that all Panda/Show classes should inherit from
|
||||
"""
|
||||
pass
|
||||
## from DirectObject import *
|
||||
## from pandac.PandaModules import *
|
||||
##
|
||||
## class PandaObject(DirectObject):
|
||||
## """
|
||||
## This is the class that all Panda/Show classes should inherit from
|
||||
## """
|
||||
## pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user