piecemeal 0.4.1 piecemeal: ^0.4.1 copied to clipboard
Basic data structures your 2D game may need.
0.4.1 #
- Add
Vec.nearestDirection
. - Add
Vec.intercardinalNeighbors
.
0.4.0 #
Rng.take()
no longer preserves order, but is faster. To preserve order, useRng.takeOrdered()
.- Add
Rng.round()
. - Add
Vec.neighbors
andVec.cardinalNeighbors
.
0.3.8 #
- Add
Rng.countFromFloat()
andRng.normal()
.
0.3.6 #
- Add
Array2D.fill()
.
0.3.5 #
- Add
Rng.shuffle()
andRng.setSeed()
.
0.3.4 #
- Add Line and Circle classes.
0.3.3 #
- Add
Rng.percent()
.
0.3.2 #
- Add
Rect.offset()
.
0.3.1 #
- Fix type error.
- Use real generic method syntax.
0.3.0 #
- Get rid of implicit casts and dynamic.
- Make
Rng.item()
andRng.take()
generic methods. - Add
Rng.float()
.
0.2.1 #
- Make strong mode clean.
- Fix bug in
Rect.clamp()
.
0.2.0 #
- Make constants
lowerCamelCase
. - Remove
sign()
andclamp()
since the Dart core libraries have them now.
0.1.1 #
- Add
CARDINAL
andINTERCARDINAL
direction lists toDirection
.