Examples of PartidoGuardado


Examples of org.javahispano.javacup.modelo.PartidoGuardado

    public void update(GameContainer gc, int fps) throws SlickException {
        Input i = gc.getInput();
        if (guardado && progreso) {
            if (i.isMouseButtonDown(0)) {
                double y = 1 - (double) (Math.max(20, Math.min(i.getMouseY(), sy - 20)) - 20) / (double) (sy - 40);
                PartidoGuardado pguardado = (PartidoGuardado) partido;
                pguardado.setTiempo((int) (y * (double) pguardado.getIterciones()));
            }
        }
        if (i.isKeyDown(Input.KEY_SUBTRACT)) {
            escala = escala * 0.970;
        } else if (i.isKeyDown(Input.KEY_ADD)) {
View Full Code Here

Examples of org.javahispano.javacup.modelo.PartidoGuardado

    private static XStream xs = new XStream();

    public static void main(String[] args) throws Exception {
        String url = System.getProperty("partido.url");
        boolean visorBasico = System.getProperty("visor.basico") != null;
        PartidoGuardado pg = new PartidoGuardado(new URL(url));
        PrincipalDatos datos = new PrincipalDatos();
        FileInputStream fis = null;
        try {
            fis = new FileInputStream(System.getProperty("user.home") + File.separator + "javacup2009" + File.separator + "config.xml");
            datos = (PrincipalDatos) xs.fromXML(fis);
View Full Code Here

Examples of org.javahispano.javacup.modelo.PartidoGuardado

                }
                toDatos();
                URL url = (URL) guardados.get(jList3.getSelectedIndex());

                try {
                    PartidoGuardado p = new PartidoGuardado(url);
                    setCursor(Cursor.getDefaultCursor());
                    p.iterar();
                    int sx = Integer.parseInt(jTextField6.getText().trim());
                    int sy = Integer.parseInt(jTextField7.getText().trim());
                    if (jComboBox1.getSelectedIndex() == 0) {
                        setVisible(false);
                        VisorBasico.dibujaJugadores = datos.dibujaJugadores;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.