GameInfo Class

Properties
availableAnimals availablePlants availableTrees climatType ecosystemTimeCoeficient landSize levelCode resourcesBlockStates resourcesLimits resourcesStored startGameInfo tutorial

Functions
addStoredResource checkLandSize getCategoryLimit getCategoryLimitStored getResourceLimit getResourceStored isAvailableAnimals isAvailablePlant isAvailableTree isResourceBlocked setAvailableAnimal setAvailablePlant setAvailableTree setCategoryLimit setResourceBlocked setResourceLimit updateStoredResources

.availableAnimals
Type: table [Read Only]

.availablePlants
Type: table [Read Only]

.availableTrees
Type: table [Read Only]

.climatType
Type: ClimatType [Read Only]

.ecosystemTimeCoeficient
Type: number [Read Only]

.landSize
Type: number

.levelCode
Type: string [Read Only]

.resourcesBlockStates
Type: table [Read Only]

.resourcesLimits
Type: table [Read Only]

.resourcesStored
Type: table [Read Only]

.startGameInfo
Type: StartGameInfo

.tutorial
Type: boolean [Read Only]

addStoredResource
function addStoredResource(srcName string, count number )

checkLandSize
function checkLandSize

getCategoryLimit
function getCategoryLimit(srcName string ) -> number

getCategoryLimitStored
function getCategoryLimitStored(category string ) -> number

getResourceLimit
function getResourceLimit(srcName string ) -> number

getResourceStored
function getResourceStored(srcName string ) -> number

isAvailableAnimals
function isAvailableAnimals(type string ) -> boolean

isAvailablePlant
function isAvailablePlant(type string ) -> boolean

isAvailableTree
function isAvailableTree(type string ) -> boolean

isResourceBlocked
function isResourceBlocked(srcName string ) -> boolean

setAvailableAnimal
function setAvailableAnimal(type string, enable boolean )

setAvailablePlant
function setAvailablePlant(type string, enable boolean )

setAvailableTree
function setAvailableTree(type string, enable boolean )

setCategoryLimit
function setCategoryLimit(srcName string, limit number )

setResourceBlocked
function setResourceBlocked(resource string, state boolean )

setResourceLimit
function setResourceLimit(srcName string, limit number )

updateStoredResources
function updateStoredResources(dtGame number )