19 lines
311 B
Python
19 lines
311 B
Python
from godot import exposed, export
|
|
from godot import *
|
|
|
|
|
|
@exposed
|
|
class helloworld(Node):
|
|
|
|
# member variables here, example:
|
|
a = export(int)
|
|
b = export(str, default='foo')
|
|
|
|
def _ready(self):
|
|
print("hello world")
|
|
"""
|
|
Called every time the node is added to the scene.
|
|
Initialization here.
|
|
"""
|
|
pass
|