BRandomMovement class
Constructors
- BRandomMovement.new({double? speed, double maxDistance = 50, double minDistance = 25, int timeKeepStopped = 2000, bool checkDirectionWithRayCast = false, bool updateAngle = false, RandomMovementDirections allowDirections = RandomMovementDirections.all, dynamic id})
Properties
- allowDirections → RandomMovementDirections
-
final
- checkDirectionWithRayCast → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → dynamic
-
finalinherited
- maxDistance → double
-
final
- minDistance → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed → double?
-
final
- timeKeepStopped → int
-
final
- updateAngle → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runAction(
double dt, GameComponent comp, BonfireGameInterface game) → bool -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited