davidswelt / wolvesandsheep

Wolves And Sheep
8 stars 7 forks source link

Visualize paths taken #6

Closed davidswelt closed 11 years ago

davidswelt commented 11 years ago

Is there an easy way to better visualize which paths sheep and and wolf take during the game?

davidswelt commented 11 years ago

One idea would be to draw a line whenever a player moves.

davidswelt commented 11 years ago

It might be easier with JGameGrid to change the color of a cell permanently whenever a player moves there.

davidswelt commented 11 years ago

setting the cell color wouldn't have been easier. drawing into a CGBackground object is the straightforward way - we just need to draw a "GeneralPath".