public void doLoopAction()
    {
        if (resetMap)
        {
            resetMap();
        }

        collisionDetector.detectCollisionsGameObjects();
        removeObjects();
        addObjects();
        for (StageObject stageObject : mapObjects)
        {
            stageObject.doMapCollision();
            stageObject.doLoopAction();
        }
    }