kohii
1.4.0.2017001
kohii-core
/
kohii.v1.utils
/
Capsule
/
Capsule
Capsule
fun
<
T
:
Any
,
in
A
>
Capsule
(
creator
:
(
A
)
->
T
,
onCreate
:
(
T
)
->
Unit
=
{ if (it is Engine<*>) it.master.registerEngine(it) }
)
Content copied to clipboard