This class is only meant to be used in the MinimalStairs demo scene In it, a blue RectangleAI character will move (semi) randomly on the stairs there As you can see below, it's a very basic AI, that will randomly decide to go up or down every once in a while
More...
This class is only meant to be used in the MinimalStairs demo scene In it, a blue RectangleAI character will move (semi) randomly on the stairs there As you can see below, it's a very basic AI, that will randomly decide to go up or down every once in a while
◆ RandomizeDirection()
virtual void MoreMountains.CorgiEngine.AIStairsRandomizer.RandomizeDirection |
( |
| ) |
|
|
protectedvirtual |
Randomizes the direction this AI is going to take next time it meets stairs
◆ Start()
virtual void MoreMountains.CorgiEngine.AIStairsRandomizer.Start |
( |
| ) |
|
|
protectedvirtual |
◆ Update()
virtual void MoreMountains.CorgiEngine.AIStairsRandomizer.Update |
( |
| ) |
|
|
protectedvirtual |
On Update we pick a new direction if needed
◆ _characterStairs
CharacterStairs MoreMountains.CorgiEngine.AIStairsRandomizer._characterStairs |
|
protected |
◆ DecisionChangeDelay
Vector2 MoreMountains.CorgiEngine.AIStairsRandomizer.DecisionChangeDelay = new Vector2(3f, 6f) |
the frequency, in seconds, at which this AI will change its direction
◆ GoingDown
bool MoreMountains.CorgiEngine.AIStairsRandomizer.GoingDown |
whether or not this AI is currently trying to go down stairs
◆ GoingUp
bool MoreMountains.CorgiEngine.AIStairsRandomizer.GoingUp |
whether or not this AI is currently trying to go up stairs
◆ NextDecisionAt
float MoreMountains.CorgiEngine.AIStairsRandomizer.NextDecisionAt |
the next time this AI will change its direction
The documentation for this class was generated from the following file: