Add nativescript frame callback, deprecate NimRuntime

This commit is contained in:
Ruslan Mustakov 2017-08-03 14:25:02 +07:00
commit 0062568dbc
5 changed files with 19 additions and 16 deletions

View file

@ -3,6 +3,9 @@
import asyncdispatch
import godot, node
{.warning: ("NimRuntime is deprecated - it is no longer necessary to add it " &
"as an AutoLoad class. It will be removed in v0.5.0.").}
gdobj NimRuntime of Node:
method enterTree*() =
discard getTree().connect("idle_frame", self, "idle", newArray())