graphmine-core / io.github.sof3.graphmine.entity / EntityController
interface EntityController
Controls the actions of an entity.
Each instance of EntityController should only be applied on one entity.
onGainControl | abstract fun onGainControl(): Unit Invoked when the controller is added to the entity |
onLoseControl | abstract fun onLoseControl(): Unit Invoked when the controller is removed from the entity |