Browse Source

removed setInitLocation

Dave Schuyler 20 years ago
parent
commit
ad4ef50fd9

+ 0 - 5
direct/src/distributed/DistributedObjectAI.py

@@ -209,11 +209,6 @@ class DistributedObjectAI(DirectObject):
                 self.lastNonQuietZone = zoneId
         self.air.storeObjectLocation(self.doId, parentId, zoneId)
 
-    # Set the initial values of parentId,zoneId
-    def setInitLocation(self, parentId, zoneId):
-        self.parentId=parentId
-        self.zoneId=zoneId
-
     def getLocation(self):
         try:
             if self.parentId <= 0 and self.zoneId <= 0:

+ 0 - 5
direct/src/distributed/DistributedObjectUD.py

@@ -204,11 +204,6 @@ class DistributedObjectUD(DirectObject):
                 self.lastNonQuietZone = zoneId
         self.air.storeObjectLocation(self.doId, parentId, zoneId)
 
-    # Set the initial values of parentId,zoneId
-    def setInitLocation(self, parentId, zoneId):
-        self.parentId=parentId
-        self.zoneId=zoneId
-
     def getLocation(self):
         try:
             if self.parentId <= 0 and self.zoneId <= 0: