class 'ToolFound' (BaseScreen)

function ToolFound:__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 ToolFound:CreateLoaderTable()
	local objects =
	{
		{ name = 'ToolFoundWindow',  entityType = 'SpriteEntity',  x = 512,  y = 384,  order = 20,  editingLocked = false,  treeItemIsExpanded = true,  hotSpot = {x = 206, y = 236},  texturePath = 'Data/Textures/GUI/ToolFound/ToolFoundWindow.png',  width = 400,  height = 482,  },
		{ name = 'new_item_txt',  entityType = 'SpriteEntity',  parentName = 'ToolFoundWindow',  x = 0,  y = -208,  order = 0,  isVisible = false,  isRespondable = false,  editingLocked = false,  treeItemIsExpanded = false,  texturePath = 'Data/Textures/GUI/ToolFound/new_item_txt.png',  width = 84,  height = 16,  },
		{ name = 'MessageTxt',  entityType = 'TextEntity',  parentName = 'ToolFoundWindow',  x = 0,  y = 105,  order = 0,  editingLocked = false,  treeItemIsExpanded = true,  text = ' ',  font = 'Data/Fonts/Options.fnt',  height = 34,  boundsX = 300,  boundsY = 0,  },
		{ name = 'ToolAnchor',  entityType = 'SpriteEntity',  parentName = 'ToolFoundWindow',  x = 0,  y = -70,  order = 0,  isRespondable = false,  color = {r = 1, g = 1, b = 1, a = 0.01},  editingLocked = false,  treeItemIsExpanded = false,  hotSpot = {x = 125, y = 125},  width = 250,  height = 250,  },
		{ name = 'OKButton',  entityType = 'ButtonEntity',  parentName = 'ToolFoundWindow',  x = 0,  y = 190,  order = 5,  editingLocked = false,  treeItemIsExpanded = true,  texturePath = 'Data/Textures/GUI/Buttons/bttn_ok.png',  text = '',  },
		{ name = 'click_close_tool',  entityType = 'SpriteEntity',  parentName = 'ToolFoundWindow',  x = 0,  y = 0,  order = 4,  scaleX = 4,  scaleY = 4.7,  color = {r = 1, g = 1, b = 1, a = 0.00392157},  editingLocked = false,  treeItemIsExpanded = false,  width = 100,  height = 100,  },
	}
	return objects
end
