Game Development Reference
In-Depth Information
The game graphics
In this section, we will go through and see how to cut the picture into pieces,
manage them, keep track of the pieces that can be connected and also check if
they are connected.
DisplayManager
This is a top level class that manages all the action when a picture is selected to play.
It contains two other important class instances, one being the PieceCutter , which
takes in an image and cuts them to pieces, the other being the group , which is a
collection of already connected pieces.
 
Search WWH ::




Custom Search