Skip to main content
Skip to main content

IngameMapMobile

IngameMapMobile

Description

IngameMap Mobile Subclass for mobile ingame map

Parent

IngameMap

Functions

setScale

Description

Set this element's scale.

Definition

setScale()

Arguments

anyuiScale

Code

function IngameMapMobile:setScale(uiScale)
IngameMapMobile:superClass().setScale( self , uiScale, uiScale)

local posX, posY = self:getBackgroundPosition(uiScale)
self:setPosition(posX, posY)
end