mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
fixing documentation
This commit is contained in:
parent
28a0789836
commit
394b86c3cc
@ -294,9 +294,10 @@ class DistributedObjectAI(DistributedObjectBase):
|
|||||||
[newZoneId, oldZoneId])
|
[newZoneId, oldZoneId])
|
||||||
|
|
||||||
def getZoneData(self):
|
def getZoneData(self):
|
||||||
# Call this to get an AIZoneData object for the current zone. This class
|
# Call this to get an AIZoneData object for the current zone.
|
||||||
# will hold onto
|
# This class will hold onto it as self._zoneData
|
||||||
# setLocation destroys self._zoneData if we move away to a different zone
|
# setLocation destroys self._zoneData if we move away to
|
||||||
|
# a different zone
|
||||||
if self._zoneData is None:
|
if self._zoneData is None:
|
||||||
self._zoneData = AIZoneData(self.air, self.parentId, self.zoneId)
|
self._zoneData = AIZoneData(self.air, self.parentId, self.zoneId)
|
||||||
return self._zoneData
|
return self._zoneData
|
||||||
|
Loading…
x
Reference in New Issue
Block a user