The resetting of the level is done from within the Hero class when he dies, the level is drawn but the Ghost class and Hero class are not redrawn. The only thing i can think of is the call to redraw the level is from the Hero class or the Hero and Ghost constructors have parameters. As for needing more paths, what do you mean ? .
Very nice, i wrote a box game like this in Borlands c free version many moons ago. At the start of the game i generated random tile positions until i realised mathematically some random start positions were unsolvable. I solved the problem by randomly moving tiles from there original position and then displaying the puzzle so it was always solvable. Nice graphics as well. Good work.
2012/11/22
pirates
2012/11/18
pirates
2012/11/15
pirates
2012/11/15
pirates
2012/10/26
ippopotamo
2012/10/1
Deep Space Sine
2011/9/28
turtleGraphics with Fractals
2011/9/11
15 Puzzle
2011/9/6
Little-crap