import java.util.ArrayList;

// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
import java.util.Random;
// #[regen=yes,id=DCE.A8440868-5330-D9E7-B46D-0C4809FEEB0F]
// </editor-fold> 
public class Risk {

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.19CB9CF0-28BA-CF35-4B01-882B61859522]
    // </editor-fold> 
    private Partida mPartida;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.876022D2-1B64-13AC-D8C6-CAB866574CF0]
    // </editor-fold> 
    private Dado mDadoDef;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.F60AFF08-75C9-BE68-ACED-DA9AAC4550F6]
    // </editor-fold> 
    private Dado mDadoAtq;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.4B273939-09B8-B6F6-BAAA-14FA53528B1F]
    // </editor-fold> 
    private Tablero mTablero;
    private int valor;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.BECB2D07-92E6-FDC5-AC39-865DF7701FA0]
    // </editor-fold> 
    public Risk () {
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.04F745F9-78B1-23DE-41E6-BE0FE3131008]
    // </editor-fold> 
    public int getDadoAtq () {
        return valor;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.2DBB3DD1-4592-C0C6-C979-32AC7E614CE4]
    // </editor-fold> 
    public void setDadoAtq (int valor) {
        this.valor=valor;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.C89D5C0D-98CE-C357-7545-ACE0E16FE877]
    // </editor-fold> 
    public int getDadoDef () {
        return valor;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.816B0077-DBE4-269E-D54F-0FAAF849F58C]
    // </editor-fold> 
    public void setDadoDef (int valor) {
        this.valor=valor;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.5DAE01EE-7DE1-A08C-4D9F-71EE0F368844]
    // </editor-fold> 
    public Partida getPartida () {
        return null;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.DAE30D8F-80A5-B242-D815-910A8013B863]
    // </editor-fold> 
    public void setPartida (Partida val) {
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.03F03A99-616D-ED69-53EC-073CDCE03D18]
    // </editor-fold> 
    public ArrayList<Tablero> getTablero () {
        return null;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.B3F4066A-2AA1-FECF-7AAE-344C6F80A10B]
    // </editor-fold> 
    public void setTablero (Tablero val) {
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.8380FCAB-0D25-D731-B73E-894109FC2ABD]
    // </editor-fold> 
    /*public ArrayList<Carta> getCarta () {
        return null;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.D7E937AB-4A80-D24C-16F6-9C39ABE37EC6]
    // </editor-fold> 
    public void setCarta (ArrayList<Carta> val) {
    }*/

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.08D8B21C-09AA-7800-BAE0-B219DBF1D922]
    // </editor-fold> 
    public void tirarDado() {
       Random rnd=new Random();   
       int n;
       n=rnd.nextInt(6)+1;
       valor=n;
    }

}


