15 lines
323 B
Swift
15 lines
323 B
Swift
class ChkgfxComponent {
|
|
let ctrl = DialectController(ChkgfxContext())
|
|
static private(set) weak var singleton: ChkgfxComponent?
|
|
|
|
init() {
|
|
Self.singleton = self
|
|
//chkgfxRegisterEffects(ctrl)
|
|
chkgfxRegisterShoulds(ctrl)
|
|
}
|
|
|
|
func setup() {
|
|
chkgfxSet(F.didSetup, true)
|
|
}
|
|
}
|