Added method addEntity to world