Menu

Commit [r899]  Maximize  Restore  History

Putting the slide possibilities in the outer loop. This, for now, is a minor

rearrangement of loops, where the outer loop iterates through the
slidePossibilities array, and the secondary loop iterates through the array of
BlockOrientation. As a result the order specified in slidePossibilities, which
currently has Move.POST_DROP_NO_ACTION at the top, takes precedence over block
orientations and block center of rotations. In particular it will cause the
slide moves earlier in the list to take precedence. I need to study this code
a bit more, in order to verify that these statements are accurate. In
addition, some fairly massive optimizations can now be made, which I'm about to
do.

nerius 2023-08-25

changed /blockout/src/net/blockout/impl/BlockPlacementStrategy.java
/blockout/src/net/blockout/impl/BlockPlacementStrategy.java Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.