GemstoneGames/Different-Game — Issue #19: Fix speed issue in Block::handleInput()
Author: GemstoneGames
Created: 2012-03-05 02:27:12+00:00
State: open
Labels: Bug, Optimization

I'm checking too many blocks for input. Perhaps my algorithm for fixing that should be;

-See which quadrant the cursor is on
-Check the size of the quadrant
-If it's the same as the cellsize, check whatever block is there for input
-Else return

I'll need some rect functions for the Grid.