Snake class
Properties
Methods
-
draw(
) → void -
drawDead(
Direction dir) → void -
drawKing(
) → void -
grow(
) → void -
isCollidingWithPoint(
Point point) → bool -
isCollidingWithPoints(
Set< Point> otherPoints) → bool -
move(
Direction dir, {required Set< Point> walls}) → bool -
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