Function of EntitySpec
entitySpec.on_spawn
Told when one of this kind is spawned; nothing waits on it and its answer is not read.
entitySpec.on_spawn((e: EntityHandle) -> ()) → ?
Parameters
(eEntityHandle) -> ()Returns
?Function of EntitySpec
Told when one of this kind is spawned; nothing waits on it and its answer is not read.
entitySpec.on_spawn((e: EntityHandle) -> ()) → ?
(eEntityHandle) -> ()?