class 'RescueTrollScreen' (BaseScreen)

function RescueTrollScreen:__init(name)
    BaseScreen.__init(self, name)

    -- add sfx-sound on click
    do
        self:getMainEntity():getEntityNamed('OKButton'):setSFXTrackOnPress( getCommonSoundEntity('ButtonClick') )
    end
end

--------------------------------------------------------------------------------
--                      GENERATED CONTENT. DO NOT EDIT.                       --
--------------------------------------------------------------------------------

function RescueTrollScreen:CreateLoaderTable()
	local objects =
	{
		{ name = 'AchievmentUnlockedWindow',  entityType = 'SpriteEntity',  x = 512,  y = 384,  order = 20,  isRespondable = false,  editingLocked = false,  treeItemIsExpanded = true,  hotSpotX = 210, hotSpotY = 317,  texturePath = 'Data/Textures/Achievments/AchivementWindow.png',  width = 464,  height = 600,  },
		{ name = 'MessageTxt',  entityType = 'TextEntity',  parentName = 'AchievmentUnlockedWindow',  x = 0,  y = 130,  order = 0,  editingLocked = false,  treeItemIsExpanded = true,  localizationKey = 'RescueTroll',  font = 'Data/Fonts/Options.fnt',  height = 34,  boundsX = 370,  boundsY = 0,  hotSpotType = TextEntity.ETextHotSpotTypeTop,  },
		{ name = 'AchievmentPic',  entityType = 'SpriteEntity',  parentName = 'AchievmentUnlockedWindow',  x = -13,  y = -60,  order = 0,  editingLocked = false,  treeItemIsExpanded = false,  texturePath = 'Data/Textures/Achievments/RescueTroll/achievment_pic.png',  width = 121,  height = 370,  },
		{ name = 'OKButton',  entityType = 'ButtonEntity',  x = 722,  y = 112,  order = 30,  color = {r = 1, g = 1, b = 1, a = 0.00392157},  editingLocked = false,  treeItemIsExpanded = true,  texturePath = 'Data/Textures/GUI/Zoom/close.png',  },
	}
	return objects
end
