hitBy method

void hitBy (Entity e)

Called when Entity e collides with this Entity

Implementation

void hitBy(Entity e);