Introduce a textured cube with raylib (#2)
This commit was merged in pull request #2.
This commit is contained in:
1 parent
925b8602e8
commit
e59610cc90
35 files changed
+861
-14
No files matched your search
@@ -0,0 +1,14 @@
|
||||
class RootComponent {
|
||||
let ctrl = DialectController(RootContext())
|
||||
static private(set) weak var singleton: RootComponent?
|
||||
|
||||
init() {
|
||||
Self.singleton = self
|
||||
rootRegisterEffects(ctrl)
|
||||
rootRegisterShoulds(ctrl)
|
||||
}
|
||||
|
||||
func setup() {
|
||||
rootSet(F.didSetup, true)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user