mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 21:22:27 -06:00
28 lines
874 B
Python
28 lines
874 B
Python
|
from direct.distributed import DistributedObject
|
||
|
from toontown.effects.FireworkShowMixin import FireworkShowMixin
|
||
|
|
||
|
class DistributedFireworkShow(DistributedObject.DistributedObject, FireworkShowMixin):
|
||
|
notify = directNotify.newCategory('DistributedFireworkShow')
|
||
|
|
||
|
def __init__(self, cr):
|
||
|
DistributedObject.DistributedObject.__init__(self, cr)
|
||
|
FireworkShowMixin.__init__(self)
|
||
|
|
||
|
def generate(self):
|
||
|
DistributedObject.DistributedObject.generate(self)
|
||
|
|
||
|
def disable(self):
|
||
|
DistributedObject.DistributedObject.disable(self)
|
||
|
FireworkShowMixin.disable(self)
|
||
|
|
||
|
def delete(self):
|
||
|
DistributedObject.DistributedObject.delete(self)
|
||
|
|
||
|
def d_requestFirework(self, x, y, z, style, color1, color2):
|
||
|
self.sendUpdate('requestFirework', (x,
|
||
|
y,
|
||
|
z,
|
||
|
style,
|
||
|
color1,
|
||
|
color2))
|