it.unibas.morracineseping.modello
Class Mano

java.lang.Object
  extended by it.unibas.morracineseping.modello.Mano

public class Mano
extends java.lang.Object


Field Summary
static int CARTA
           
static int FORBICI
           
static int MANOINPAREGGIO
           
static int MANOVINTADALCOMPUTER
           
static int MANOVINTADALGIOCATORE
           
static int SASSO
           
 
Constructor Summary
Mano()
           
 
Method Summary
 int getEsito()
           
 int getGiocataComputer()
           
 int getGiocataGiocatore()
           
 void gioca(int giocataGiocatore)
           
 boolean isValida(int giocata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CARTA

public static final int CARTA
See Also:
Constant Field Values

FORBICI

public static final int FORBICI
See Also:
Constant Field Values

SASSO

public static final int SASSO
See Also:
Constant Field Values

MANOVINTADALCOMPUTER

public static final int MANOVINTADALCOMPUTER
See Also:
Constant Field Values

MANOVINTADALGIOCATORE

public static final int MANOVINTADALGIOCATORE
See Also:
Constant Field Values

MANOINPAREGGIO

public static final int MANOINPAREGGIO
See Also:
Constant Field Values
Constructor Detail

Mano

public Mano()
Method Detail

gioca

public void gioca(int giocataGiocatore)

isValida

public boolean isValida(int giocata)

getGiocataGiocatore

public int getGiocataGiocatore()

getGiocataComputer

public int getGiocataComputer()

getEsito

public int getEsito()