Menu

Commit [r988]  Maximize  Restore  History

Renaming LevelFinishedCausesNullNextBlock to FinNextBlockInterceptor because

this logic now also handles gameOver() states. It was needed to abstain from
calling the underlying nextBlockChanged() after gameOver(), because the game
logic will be calling BlockSource.getNextBlock() any number of times after
gameOver(), and when NextBlockSource is used, it also triggers a call to
nextBlockChanged(). We don't want that.

nerius 2023-09-06

renamed /blockout/src/net/blockout/impl/LevelFinishedCausesNullNextBlock.java -> /blockout/src/net/blockout/impl/FinNextBlockInterceptor.java
changed /blockout/src/net/blockout/production/ComputerPlayerLevelAction.java
changed /blockout/src/net/blockout/production/LevelPlayback.java
changed /blockout/src/net/blockout/production/NextBlockDisplay.java
changed /blockout/src/net/blockout/production/SinglePlayerLevelAction.java
/blockout/src/net/blockout/production/ComputerPlayerLevelAction.java Diff Switch to side-by-side view
Loading...
/blockout/src/net/blockout/production/LevelPlayback.java Diff Switch to side-by-side view
Loading...
/blockout/src/net/blockout/production/NextBlockDisplay.java Diff Switch to side-by-side view
Loading...
/blockout/src/net/blockout/production/SinglePlayerLevelAction.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.