Class: SystemMountain

SystemMountain

A mountain of the game

new SystemMountain (json)

Name Type Description
json Object optional Json object describing the mountain
Properties:
Name Type Description
id number The ID
collisionKind MountainCollisionKind The collision kind

Extends

Methods

read (json) overrides

Read the JSON associated to the mountain
Name Type Description
json Object Json object describing the mountain

forceAlways ()boolean

Check if the collision is always forced
Returns:
Type Description
boolean

forceNever ()boolean

Check if the collision is never forced
Returns:
Type Description
boolean