Panes class
Panes of ice: flat polygons that fly, spin and tumble end over end, bounce on the floor, skid, settle and fade.
Constructors
Properties
- count → int
-
no setter
- ground → double Function(double x)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
list
→ List<
IcePane> -
final
- onCrumble → void Function(IcePane q)?
-
final
- onLand → void Function(IcePane q, double x, double y, double speed)?
-
final
- onSkid → void Function(IcePane q, double x, double y)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
IcePane q) → void -
corners(
IcePane q) → List< (double, double)> - The pane's corners as drawn: tumbled (squashed across its own width), turned and placed.
-
draw(
Painter p, List< int> c) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
seat(
IcePane q) → double -
toString(
) → String -
A string representation of this object.
inherited
-
update(
double dt) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited