Game Development Reference
In-Depth Information
flash.display.MovieClip
pacman
Game
Character
#timer: Timer
+
player: Player
#enemyList: Dictionary
#itemList: Dictionary
#gameGrid: Vector
+
speed: Number
+
startGame()
+
endGame()
#frameScript()
#readInput()
#detectColisions()
Enemy
Player
Pickup
+
points: Number
Food
Powerup
Bonus
+
lifespan: Number
Figure 3.2 A UML diagram
representing a game
hierarchy.
Figure 3.3 The generated
classes that resulted from the
UML diagram in Fig. 3.2 .
Search Nedrilad ::




Custom Search