Saturday, April 12, 2008

The Selector

After deep meditation, I decided that the Selector is a Robo, meaning a Character type class.

This way I don't have to add any extra code for navigation.

I was going to use the mouse to select blocks, but since blocks are singletons and therefore have no real coordinates, this was problematical.


The picture to the right here shows a rendering bug I can't seem to quite figure out. Which is odd since all of this code is really simple!

Once the Selector walks onto an empty cell it gets redrawn across the screen. What's really odd is that if I move another cell to the right it's still repeating from the first blank cell across.

Using PyDev's debug mode doesn't reveal anything being abnormal. What gives?!!!

No comments: