Game Development Reference
In-Depth Information
What We Covered
In this unit, you've learned:
•
Creating the class
Sprite
, this class encapsulates all the members and meth-
ods of sprites and it's the base of creating hero, NPC, monster, and other ob-
jects.
•
Building the subclasses
Hero
and
Monster
, those are derived from the base
class
Sprite,
overriding its
move()
method.
•
Implementing the animations of sprites and objects using the Bitmap sheets.
Search WWH ::
Custom Search