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(): UnitInvoked when the controller is added to the entity |
| onLoseControl | abstract fun onLoseControl(): UnitInvoked when the controller is removed from the entity |