CCanSee class

Inheritance

Constructors

CCanSee({required GameComponent target, double radiusVision = 32, double? visionAngle, double angle = 3.14159, dynamic observed(GameComponent)?})

Properties

angle double
final
hashCode int
The hash code for this object.
no setterinherited
observed → dynamic Function(GameComponent)?
final
radiusVision double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target GameComponent
final
visionAngle double?
final

Methods

execute(GameComponent comp, BonfireGameInterface game) bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited