toggle menu
alchemist
jvm
switch theme
search in API
alchemist
/
it.unibo.alchemist.model.maps.actions
/
RandomTargetInPolygonOnMap
/
RandomTargetInPolygonOnMap
Random
Target
In
Polygon
On
Map
constructor
(
randomGenerator
:
RandomGenerator
,
environment
:
MapEnvironment
<
T
,
O
,
S
>
,
node
:
Node
<
T
>
,
reaction
:
Reaction
<
T
>
,
speed
:
Double
,
polygonCoordinates
:
List
<
List
<
Number
>
>
)
constructor
(
environment
:
MapEnvironment
<
T
,
O
,
S
>
,
node
:
Node
<
T
>
,
reaction
:
Reaction
<
T
>
,
speed
:
Double
,
positionGenerator
:
Polygon
<
GeoPosition
>
)