Divooka Reference

Places

4 nodes

On this page 4

Add Place

Function

The world with a new place.

Signature
AddPlace -> World
    world: World
    name: Text
    latitude: Number
    longitude: Number
World AddPlace(
    World world,
    string name,
    double latitude,
    double longitude)

Parameters

nametypedefaultdescription
worldWorld—The world.
nameText—The place's name.
latitudeNumber—Degrees north.
longitudeNumber—Degrees east.

Returns

WorldWorld
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Places
Package
Fantasy Planet Painter

Places

Function

The world's places, in every group the app keeps them in.

Signature
AllPlaces(world: World) -> Place Array
Place[] AllPlaces(World world)

Parameters

nametypedefaultdescription
worldWorld—The world.

Returns

PlacesPlace Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Places
Package
Fantasy Planet Painter

Move Place

Function

The world with the places of one name moved.

Signature
MovePlace -> World
    world: World
    name: Text
    latitude: Number
    longitude: Number
World MovePlace(
    World world,
    string name,
    double latitude,
    double longitude)

Parameters

nametypedefaultdescription
worldWorld—The world.
nameText—The places' name.
latitudeNumber—Degrees north.
longitudeNumber—Degrees east.

Returns

WorldWorld
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Places
Package
Fantasy Planet Painter

Remove Place

Function

The world without the places of one name.

Signature
RemovePlace(world: World, name: Text) -> World
World RemovePlace(World world, string name)

Parameters

nametypedefaultdescription
worldWorld—The world.
nameText—The places' name.

Returns

WorldWorld
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Places
Package
Fantasy Planet Painter