Interface RandomFieldOptions

Description

Random field options

interface RandomFieldOptions {
    castle_coeff?: number;
    height?: number;
    numOfCastles?: number;
    numOfCraftsmens?: number;
    numOfPonds?: number;
    territory_coeff?: number;
    wall_coeff?: number;
    width?: number;
}

Properties

castle_coeff?: number

Description

Score of castle

Default

1
height?: number

Description

Field height

Default

10
numOfCastles?: number

Description

Number of castles

Default

5
numOfCraftsmens?: number

Description

Number of craftsmens

Default

5
numOfPonds?: number

Description

Number of ponds

Default

5
territory_coeff?: number

Description

Score of territory

Default

5
wall_coeff?: number

Description

Score of wall

Default

20
width?: number

Description

Field width

Default

10

Generated using TypeDoc