dispose
This method is called when the entity has been activated, run at least one process and has no further processes to run. Subclasses can override this method to provide logic after all processes have been completed by the entity. By default, nothing happens.
Parameters
entity
The entity that just completed all of its processes