BCanSee class

Inheritance

Constructors

BCanSee.new({required GameComponent target, required Behavior doBehavior(GameComponent comp), double radiusVision = 32, double? visionAngle, double angle = 3.14159, Behavior? doElseBehavior})

Properties

angle double
final
doBehavior Behavior Function(GameComponent comp)
final
doElseBehavior Behavior?
final
hashCode int
The hash code for this object.
no setterinherited
id → dynamic
finalinherited
radiusVision double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target GameComponent
final
visionAngle double?
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