dofile ('Data/Scripts/Common/Screens/InputNameScreenBase.lua')

class 'InputNameScreen' (InputNameScreenBase)

function InputNameScreen:__init(name)
    InputNameScreenBase.__init(self, name)

    self.inputNameTextField:attachTo( self:getMainEntity() )
	self.inputNameTextField:setOrder(500)
	self.inputNameTextField:setText('')
	self.inputNameTextField:setMaxLength(8)
	self.inputNameTextField:setFontColor( Colorf(1, 1, 1, 1) )
	self.inputNameTextField:getTextView():setFont( 'Data/Fonts/tool_tip.fnt' ) 
	self.inputNameTextField:setFieldHeight(28)
end
--------------------------------------------------------------------------------
--                      GENERATED CONTENT. DO NOT EDIT.                       --
--------------------------------------------------------------------------------

function InputNameScreen:CreateLoaderTable()
	local objects =
	{
		{ name = 'player_name',  entityType = 'SpriteEntity',  x = 484,  y = 420,  order = 1,  color = {r = 1, g = 1, b = 1, a = 0.00392157},  editingLocked = false,  treeItemIsExpanded = true,  width = 100,  height = 30,  },
		{ name = 'EnterName',  entityType = 'SpriteEntity',  x = 512,  y = 384,  order = 10,  editingLocked = false,  treeItemIsExpanded = true,  hotSpot = {x = 268, y = 125},  texturePath = 'Data/Textures/Screens/Profiles/EnterName.png',  width = 464,  height = 226,  },
		{ name = 'bttn_ok',  entityType = 'ButtonEntity',  parentName = 'EnterName',  x = -94,  y = 98,  order = 2,  editingLocked = false,  treeItemIsExpanded = true,  texturePath = 'Data/Textures/GUI/Buttons/bttn_ok.png',  text = '',  },
		{ name = 'bttn_cancel',  entityType = 'ButtonEntity',  parentName = 'EnterName',  x = 24,  y = 98,  order = 2,  editingLocked = false,  treeItemIsExpanded = true,  texturePath = 'Data/Textures/GUI/Buttons/bttn_cancel.png',  text = '',  },
	}
	return objects
end
