--
-- created with TexturePacker (http://www.codeandweb.com/texturepacker)
--
-- $TexturePacker:SmartUpdate:4d61981243351a1f24e7b1311f58d8d9:1/1$
--
-- local sheetInfo = require("mysheet")
-- local myImageSheet = graphics.newImageSheet( "mysheet.png", sheetInfo:getSheet() )
-- local sprite = display.newSprite( myImageSheet , {frames={sheetInfo:getFrameIndex("sprite")}} )
--

local SheetInfo = {}

SheetInfo.sheet =
{
    frames = {
    
        {
            -- 1
            x=2,
            y=2,
            width=54,
            height=92,

            sourceX = 3,
            sourceY = 4,
            sourceWidth = 68,
            sourceHeight = 100
        },
        {
            -- hu1
            x=398,
            y=2,
            width=80,
            height=80,

            sourceX = 12,
            sourceY = 6,
            sourceWidth = 96,
            sourceHeight = 96
        },
        {
            -- hu2
            x=314,
            y=2,
            width=82,
            height=80,

            sourceX = 11,
            sourceY = 6,
            sourceWidth = 96,
            sourceHeight = 96
        },
        {
            -- hu3
            x=144,
            y=2,
            width=84,
            height=80,

            sourceX = 10,
            sourceY = 6,
            sourceWidth = 96,
            sourceHeight = 96
        },
        {
            -- hu4
            x=658,
            y=2,
            width=86,
            height=78,

            sourceX = 9,
            sourceY = 8,
            sourceWidth = 96,
            sourceHeight = 96
        },
        {
            -- hu5
            x=480,
            y=2,
            width=88,
            height=78,

            sourceX = 8,
            sourceY = 8,
            sourceWidth = 96,
            sourceHeight = 96
        },
        {
            -- hu6
            x=570,
            y=2,
            width=86,
            height=78,

            sourceX = 9,
            sourceY = 8,
            sourceWidth = 96,
            sourceHeight = 96
        },
        {
            -- hu7
            x=58,
            y=2,
            width=84,
            height=80,

            sourceX = 10,
            sourceY = 6,
            sourceWidth = 96,
            sourceHeight = 96
        },
        {
            -- hu8
            x=230,
            y=2,
            width=82,
            height=80,

            sourceX = 11,
            sourceY = 6,
            sourceWidth = 96,
            sourceHeight = 96
        },
    },
    
    sheetContentWidth = 746,
    sheetContentHeight = 96
}

SheetInfo.frameIndex =
{

    ["1"] = 1,
    ["hu1"] = 2,
    ["hu2"] = 3,
    ["hu3"] = 4,
    ["hu4"] = 5,
    ["hu5"] = 6,
    ["hu6"] = 7,
    ["hu7"] = 8,
    ["hu8"] = 9,
}

function SheetInfo:getSheet()
    return self.sheet;
end

function SheetInfo:getFrameIndex(name)
    return self.frameIndex[name];
end

return SheetInfo
