class 'AchievmentInform1Clock' (InformContent)

function AchievmentInform1Clock:__init(panel)
    Node.__init(self, panel:getMainEntity(), 'AchievmentInform1Clock', 5)
    self.game_scene = panel.game_scene

    if self.CreateLoaderTable then
		local table_resource = self:CreateLoaderTable()
		LoadScene(self.main_entity, table_resource)
	end

	self:getEntityNamed('inform_achievmentClock_trigger').onPress:add(bind(self.onTriggerClicked, self))
end

---------------------------------------------------------------------------------------------------
function AchievmentInform1Clock:onTriggerClicked()
	InformContent.onContentClick(self)
    self.game_scene:loadPlayField('Room')
end

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

function AchievmentInform1Clock:CreateLoaderTable()
	local objects =
	{
		{ name = 'inform_achievmentClock_trigger',  entityType = 'SpriteEntity',  x = 510,  y = 426,  order = 0,  color = {r = 1, g = 1, b = 1, a = 0.00392157},  editingLocked = false,  treeItemIsExpanded = true,  width = 74,  height = 120,  },
		{ name = 'inform_clock',  entityType = 'SpriteEntity',  parentName = 'inform_achievmentClock_trigger',  x = 0,  y = 0,  order = 0,  isRespondable = false,  scale = 0.5,  editingLocked = false,  treeItemIsExpanded = false,  texturePath = 'Data/Textures/Achievments/FindClock/achievment_pic.png',  width = 127,  height = 229,  },
	}
	return objects
end
