switch (entity)
{
case PLAYER: return new Player( anim, dyingAnim, width, height);
case BALOON: return new BaloonEnemy( anim, dyingAnim, width, height, x, y);
case HELIUM: return new HeliumEnemy( anim, dyingAnim, width, height, x, y);
case EXIT: return new Exit( anim, dyingAnim, width, height, x, y);
case SPEED: return new SpeedBonus( anim, dyingAnim, width, height, x, y);
case AREA_INC: return new IncreaseBombAreaBonus( anim, dyingAnim, width, height, x, y);
case BOMB_INC: return new IncreaseBombAmountBonus( anim, dyingAnim, width, height, x, y);
case LIFE_INC: return new IncreaseLifeNumberBonus( anim, dyingAnim, width, height, x, y);
case BOUNCING_BOMB: return new BouncingBomb( anim, dyingAnim, width, height, x, y);