Move tick() from Behavior to Entity.