CST 338 - Final Project - Uml Diagram
CST 338 - Final Project - Uml Diagram
+ frameIconImage : String
+ titleScreenImage : String
+ instructionScreenImage : String
+ gameScreenImage : String
+ gameOverScreenImage : String
+ gameWinScreenOneImage : String
+ gameWinScreenTwoImage : String
- screenFile : String
- heartValues : ArrayList<String>
+ getPlayerHeartsIcon(int) : ImageIcon
+ imageToAdd(String) : JLabel
+ getImageAsBuffered(fString) : BufferedImage
GameView
- tilesPerRow : int
- gameModel : GameModel
- gameWindow : GameWindow
- gameTiles : JButton[][]
GameWindow
- soundFile : string
- playerHitFile : File InstructionSwitchListener
- enemyHitFile : File
- necroLaughFile : File
- introFile : File Updates 1
- gameThemeFile : File
- gameWinFile : File + actionPerformed(ActionEvent) : void
- playerHit : Clip GameController
<<interface>> <<interface>> <<interface>>
IMovementComponent IVitalityComponent ICombatComponent + getPlayerHit() : Clip
+ getEnemyHit() : Clip - gameView : GameView
+ getMoveSpeed() : int + getMaxHealth() : int + getNecroLaugh() : Clip - gameModel : GameModel GameTileListener
+ getCoords() : int[] + getHealth() : int + getAttackPower() : int + getIntro() : Clip - currentTheme : Clip
+ move(int, int) : void + takeDamage(int) : void + attack() : int + getGameTheme() : Clip
+ ableToMove() : boolean + isAlive() : boolean + getGameWin() : Clip
- makeClip(File, Clip) : Clip
- makeSoundEffect(File, Clip) : Clip + GameController(GameView, GameModel)
+ actionPerformed(ActionEvent) : void
1 Updates
GameOverListener
+ actionPerformed(ActionEvent) : void
+ Player()
+ Player(int, int)
+ Moth(int, int) + Wight(int, int) + move(int, int) : void <<override>>
+ move(int, int) : void <<override>> + move(int, int) : void <<override>> + attack() : int <<override>>
+ attack() : int <<override>> + attack() : int <<override>> + getXPos() : int
+ getYPos() : int
SpriteGenerator
+ loadSprites() : void
+ getSprite(String) : ImageIcon