Files
Nuake/Editor/resources/Scripts/test.wren
Antoine Pilote 19db72aa22 Added Wren scripting with module system 📚
Added Input pressed, released system
Added interface button support with wren onclick callback
2021-06-09 22:15:53 -04:00

18 lines
245 B
Plaintext

import "Scripts/Engine" for Engine
class Test {
init() {
System.print("hello init")
}
update(t) {
System.print("hello update %(t)")
}
exit() {
System.print("hello exit ")
}
static hello() {
Engine.Log("Hello from foreign")
}
}