Game Development Reference
In-Depth Information
What just happened?
The
collapseGrid
method collects all the gems affected by matches or gems which ex-
ploded into diamonds. The resulting array is sent to
GridAnimations
for the proper an-
imations to be performed.
We'll work on those next and finish our game.