|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--p1.aplic.cartas.MaiorCarta2
|
+--p1.aplic.cartas.MaiorCartaSegura3
Como a classe MaiorCarta, mas tratando de baralho vazio com exceção. Não usa herança para que os alunos possam ver o exemplo antes de ver herança.
| Constructor Summary | |
MaiorCartaSegura3()
Construtor do jogo. |
|
| Method Summary | |
void |
joga(int rodadas)
Joga o jogo de Maior Carta. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MaiorCartaSegura3()
| Method Detail |
public void joga(int rodadas)
joga in class MaiorCarta2rodadas - O número de rodadas a jogar.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||