Area class abstract

An abstract definition for areas. A cluster of Point saved in points defines it. If your area is supposed to not be enterable, set passable to false.

Implementers

Constructors

Area({required List<Point> points, bool passable = true})

Properties

hashCode int
The hash code for this object.
no setterinherited
passable bool
final
points List<Point>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copy() Area
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pointInArea(Point point) bool
A method which checks if a certain point is in the Area
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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