Bejewld

265 palavras 2 páginas
Main main(String[]) 1 Peca Size : Integer FormaPeca : Integer PowerUp : Integer icone : ImageIcon Peca() Peca(int,int) 1..* 1 Tabuleiro pecas : Peca fR : BufferedReader Tabuleiro(int,int) Tabuleiro(String) abreLeitura(String) fechaLeitura() 1..* leTabuleiro() : String verificapeca(int,int,int,int[][]) : boolean VerificaTabuleiro(int[][]) : boolean implementastore(int,int) : int 1 1 Menu dimx : Integer dimy : Integer pecax : Integer pecay : Integer 1 menu : JFrame newAttr : Integer BClassic : JButton BTime : JButton BScores : JButton BDef : JButton Menu() 1 HighScores nomeFicheiro : String fR : BufferedReader fW : BufferedWriter HighSc : File scores : ArrayList HighScores(String) OrganizaHighScores() RetornaTop15() : String concorreScore(long) ActualizaHighScores() abreLeitura(String) abreEscrita(String) escreveLinha(String) escreveScore(long) leScore() : long[] fechaLeitura() fechaEscrita() toString() : String TabelaScores 1 1 dimx : Integer dimy : Integer TabelaScores() 1 1 goToScores() actionPerformed(ActionEvent) 1..* goToJogoComTempo flag : Boolean dimx : Integer dimy : Integer pecax : Integer pecay : Integer 1 1 goToJogoComTempo() actionPerformed(ActionEvent) 1 1..* goToJogo dimx : Integer dimy : Integer pecax : Integer pecay : Integer flag : Boolean goToJogo() actionPerformed(ActionEvent) 1 goToScores 1 1..* goToDef() actionPerformed(ActionEvent) goToExit 1 1 goToExit() actionPerformed(ActionEvent) goToDef

1 1

1 Jogo 1 1 g : GridLayout score : Integer timecount : double scorelvl : Integer lvl : Integer ct : boolean s : HighScores px : Integer py : Integer Jogo(int,intTabuleiro,boolean,boolean) scaled(ImageIcon,Dimension) : ImageIcon verificajogada(int,int,JButton[][]) : int elpec(int[][],JButton[][]) powerup(JButton,int,int,JButton[][]) gres(JFrame,HighScores,int,int) verifjogo2(JButton[][],JFrame) verifjogo(JButton[][]) 1 1

1

1..* 1 ScoreTab label : JLabel ScoreTab() initialize() go() getButton() : JLabel troca mover : boolean bx : JButton bii :

Relacionados