mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
oops, remove the messenger stuff
This commit is contained in:
parent
6763aa46fa
commit
9263c24050
@ -477,24 +477,3 @@ class DistributedObjectAI(DirectObject.DirectObject):
|
|||||||
def isGridParent(self):
|
def isGridParent(self):
|
||||||
# If this distributed object is a DistributedGrid return 1. 0 by default
|
# If this distributed object is a DistributedGrid return 1. 0 by default
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
# Wrapper functions to have a cleaner, more object oriented approach to
|
|
||||||
# the messenger functionality.
|
|
||||||
|
|
||||||
def accept(self, event, method, extraArgs=[]):
|
|
||||||
return self.air.messenger.accept(event, self, method, extraArgs, 1)
|
|
||||||
|
|
||||||
def acceptOnce(self, event, method, extraArgs=[]):
|
|
||||||
return self.air.messenger.accept(event, self, method, extraArgs, 0)
|
|
||||||
|
|
||||||
def ignore(self, event):
|
|
||||||
return self.air.messenger.ignore(event, self)
|
|
||||||
|
|
||||||
def ignoreAll(self):
|
|
||||||
return self.air.messenger.ignoreAll(self)
|
|
||||||
|
|
||||||
def isAccepting(self, event):
|
|
||||||
return self.air.messenger.isAccepting(event, self)
|
|
||||||
|
|
||||||
def isIgnoring(self, event):
|
|
||||||
return self.air.messenger.isIgnoring(event, self)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user