Professional Documents
Culture Documents
Class Diagram Group Final Lab Exercise UML Andrés Burgos, Angélica Cruz, Cristian Méndez
Class Diagram Group Final Lab Exercise UML Andrés Burgos, Angélica Cruz, Cristian Méndez
Class Diagram Group Final Lab Exercise UML Andrés Burgos, Angélica Cruz, Cristian Méndez
view
Main
- menu Menu
- register Register
- gameplay Gameplay
- score Score
- screen: int
Exception4 1 1 1
1 1 1 1
RegisterMain
NoName NameLenght Win Lose ... ... 1 ... ... Revy Enemy
Register Gameplay
ScoreMain
- app : PApplet - app : PApplet
+ NoName (String + NameLenght (String + Win (String + Lose (String - cp5 :ControlP5 - controlGame Controller
message) message) message) message) - fontText : PFont - game : PImage
- controller ControllerRegister - win, lose : PImage
- register : PImage - posX, screen : int 1 GameplayMain
- correct: boolean - moveScreen, endGame:
- inputs: String [ ] boolean 1 1
- name: String
Score Menu
+ Register (PApplet app) + Gameplay (PApplet app)
+ createText(): void + drawScreen() : void - score : PImage - menu : PImage
+ registerPlayer(): void + revyFall() : void - app : PApplet - app : PApplet
+ drawScreen(): void + winCase() : void - scoreControl ControllerScore
+ button(): int + touchEnemy() : void
+ *gets() & *sets(*):void + ending() : void + Socre(PApplet app) + Menu(PApplet app)
+ button() : int + drawScreen(): void + drawScreen(): void
Exception + getKey(int c) : void + button(): int + button(): int
+ notMove(int c) : void
+ *gets() & *sets(*):void
1 1 1
controller
1 1 1
LogicControllerRegister
LogicController
LogicControllerScore
model
1 1 1
Logic ByDate
Star
+ Player(): void
- PApplet app + drawData: void
<<Interface>> <<Interface>> - PImage star # *gets() &
Paintable Runnable - posXStar: int *sets(*):void
- posYStar: int
+ drawChar(): void - moveXStar: boolean