mirror of
https://github.com/Relintai/gdnative_python.git
synced 2024-11-14 10:27:22 +01:00
12 lines
247 B
Python
12 lines
247 B
Python
from pandemonium import Node, exposed, export, Array
|
|
|
|
|
|
@exposed
|
|
class global_py(Node):
|
|
|
|
accessors = export(Array, default=Array())
|
|
type = export(str, default="Python")
|
|
|
|
def set_accessed(self, name):
|
|
self.accessors.append(name)
|