mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 13:12:30 -06:00
34 lines
717 B
Python
34 lines
717 B
Python
from direct.distributed import DistributedObject
|
|
|
|
class DistributedTestObject(DistributedObject.DistributedObject):
|
|
|
|
def setRequiredField(self, r):
|
|
self.requiredField = r
|
|
|
|
def setB(self, B):
|
|
self.B = B
|
|
|
|
def setBA(self, BA):
|
|
self.BA = BA
|
|
|
|
def setBO(self, BO):
|
|
self.BO = BO
|
|
|
|
def setBR(self, BR):
|
|
self.BR = BR
|
|
|
|
def setBRA(self, BRA):
|
|
self.BRA = BRA
|
|
|
|
def setBRO(self, BRO):
|
|
self.BRO = BRO
|
|
|
|
def setBROA(self, BROA):
|
|
self.BROA = BROA
|
|
|
|
def gotNonReqThatWasntSet(self):
|
|
for field in ('B', 'BA', 'BO', 'BR', 'BRA', 'BRO', 'BROA'):
|
|
if hasattr(self, field):
|
|
return True
|
|
|
|
return False
|