Class: DatasShapes

DatasShapes

All the shapes datas

new DatasShapes ()

Properties:
Name Type Description
list Array.<SystemShape> List of all the shapes of the game according to ID and ShapeKind

Methods

read () async

Read the JSON file associated to shapes

get (kind, id)SystemShape

Get the corresponding shape
Name Type Description
kind CustomShapeKind The shape kind
id number The shape id
Returns:
Type Description
SystemShape