Position Maze: +getposition :dime Nsion +checkobstacle :B Oolean

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Position

+getPosition():dime
nsion
+checkObstacle():b
oolean
PACMAN
+name:string
+score:Score
+life:number
Move():void
Eat():void
getDetail():String
+getPosition():di
mension
+checkObstacle(
):boolean
Score
score:integer
bonus:integer
+calScore():integ
er
+addBonus():int
eger

Maze
horPass:integer
vertPass:integer
generate(data:st
ring[][]):void
Monster
getMazeData():st
+name:string
ring[][]
+color:string
position:dimensi
on
Move():void
isEdible():Boolea
PACMAN GAME
maze:Maze
n
player:Pacman
+getPosition():di
enemies:Monster
mension
s
+checkObstacle(
Start():void
):boolean
Restart():void
ClearHS():void
Exit():void
Edible
description:string
points:integer
Pac-Dot
generate():void
clear():void
Generate():void
+getPosition():di
Clear():void
mension
+checkObstacle(
):boolean

Fruit
#time:integer
Generate():void
Clear():void

You might also like