| Package | Description |
|---|---|
| com.almasb.fxgl.ai.btree.decorator | |
| com.almasb.fxgl.ai.btree.leaf | |
| com.almasb.fxgl.ai.btree.utils | |
| com.almasb.fxgl.ai.utils.random |
| Modifier and Type | Field and Description |
|---|---|
FloatDistribution |
Random.success
Optional task attribute specifying the random distribution that determines the success probability.
|
| Constructor and Description |
|---|
Random(FloatDistribution success)
Creates a
Random decorator with no child that succeeds with the specified probability. |
Random(FloatDistribution success,
Task<E> task)
Creates a
Random decorator with the given child that succeeds with the specified probability. |
| Modifier and Type | Field and Description |
|---|---|
FloatDistribution |
Wait.seconds
Mandatory task attribute specifying the random distribution that determines the timeout in seconds.
|
| Constructor and Description |
|---|
Wait(FloatDistribution seconds)
Creates a
Wait task running for the specified number of seconds. |
| Modifier and Type | Class and Description |
|---|---|
static class |
DistributionAdapters.FloatAdapter<D extends FloatDistribution> |
| Modifier and Type | Class and Description |
|---|---|
class |
ConstantFloatDistribution |
class |
GaussianFloatDistribution |
class |
TriangularFloatDistribution |
class |
UniformFloatDistribution |
Copyright © 2018. All rights reserved.