mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-20 05:54:54 -04:00
added ScratchPad.destroy()
This commit is contained in:
parent
6257151e81
commit
8e40eec7de
@ -2176,6 +2176,10 @@ class ScratchPad:
|
|||||||
def __init__(self, **kArgs):
|
def __init__(self, **kArgs):
|
||||||
for key, value in kArgs.items():
|
for key, value in kArgs.items():
|
||||||
setattr(self, key, value)
|
setattr(self, key, value)
|
||||||
|
self._keys = kArgs.keys()
|
||||||
|
def destroy(self):
|
||||||
|
for key in self._keys:
|
||||||
|
delattr(self, key)
|
||||||
|
|
||||||
class Sync:
|
class Sync:
|
||||||
_SeriesGen = SerialNumGen()
|
_SeriesGen = SerialNumGen()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user