text
stringlengths
3
1.18M
package pl.polidea.asl.demo; import pl.polidea.asl.*; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.res.Resources.NotFoundException; import android.os.*; import android.v...
package ANALISIS; import VISTA.Frm_AnalizadorLexico; import java.util.Hashtable; import java.util.StringTokenizer; /* * @author ESTUDIANTES DE SISTEMAS DE LA UNIVERSIDAD SAN LUIS GONZAGA DE ICA */ public class AnalizadorLexico { public String resultado = ""; // SE MOSTRARÁ EN EL AREA DE TEXTO DEL RESULTADO DE...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Frm_AnalizadorLexico.java * * Created on 25-may-2013, 22:51:44 */ package VISTA; import ANALISIS.AnalizadorLexico; import CONTROLADOR.JControlador; import java.awt.Image; import java.awt.Toolkit; /** * * @a...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package CONTROLADOR; import VISTA.Frm_AnalizadorLexico; /** * * @author CiberPulpo */ public class PROYECTO_COMPILADOR { /** * @param args the command line arguments */ public static void main(Str...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package CONTROLADOR; import ANALISIS.AnalizadorLexico; import VISTA.Frm_AnalizadorLexico; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java....
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Oso extends Animal { /** * clase Oso, de la clase padre animal, efectua el movimiento del oso y hace las * comparaciones de las vidas al momento de tocarlo un disparo se hace el llamado del * m...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; public class Ovni extends Actor { /** * clase la cual es la maquina todo el proceso que esta aqui es automatico */ protected static final int distancia=4; private MiMundo mundo; ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Play extends Boton { /** * esta clase pone el boton jugar en el mundo */ public void addedToWorld(World world) { this.world=(MiMundo)world; } /** * este metodo ch...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Borrego extends Animal { /** * clase Borrego, de la clase padre animal, efectua el movimiento del borrego y hace las * comparaciones de las vidas al momento de tocarlo un disparo se hace el llamado del ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Animal extends Actor { /** * Esta es la clase padre de los tipos de animales aqui, vemos claro un ejemplo de sobrecarga * de metodos, estos dos metodos se usan en los tres tipos de animales. */...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Cerdo extends Animal { /** * clase Cerdo, de la clase padre animal, efectua el movimiento del cerdo y hace las * comparaciones de las vidas al momento de tocarlo un disparo se hace el llamado del *...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Farol extends Actor { /** * esta clase solo es para pintar el granero en el mundo */ private MiMundo mundo; public void act() { } public void addedToWorld(W...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Sheep extends Actor { /** * esta clase solo es para pintar cuantos borregos faltan para pasar el siguiente escenario */ public void act() { // Add your action code here. } ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Menu extends Boton { /** * esta clase pone el boton menu(regreso) en el mundo */ public void addedToWorld(World world) { this.world=(MiMundo)world; } /** * este ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Pig extends Actor { /** * esta clase solo es para pintar cuantos cerdos faltan para pasar el siguiente escenario */ public void act() { // Add your action code here. } ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Boton extends Actor { /** * clase padre de boton el cual se usa en el menu */ protected MiMundo world; }
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Help extends Boton { /** * esta clase pone el boton ayuda en el mundo */ public void addedToWorld(World world) { this.world=(MiMundo)world; } /** * este metodo ch...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Casa extends Actor { /** * esta clase solo es para pintar la casa en el mundo */ private MiMundo mundo; public void act() { } public void addedToWorld(World wo...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Disparo extends Actor { /** * en esta clase solo esta el movimiento del disparo el cual siempre es en el eje de las Y * de arriba hacia abajo */ /*public Disparo(int x,int y) {...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Wombat extends Actor { /** * esta clase solo es para pintar cuantos osos faltan para pasar el siguiente escenario */ public void act() { // Add your action code here. } ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * se crea esta clase para poder usarla como imagen en el mundo, toda la comparacion * de las vidas se hace en el mundo */ public class Vidas extends Actor { public void act() { // Add yo...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class Credits extends Boton { /** * esta clase pone el boton creditos en el mundo */ public void addedToWorld(World world) { this.world=(MiMundo)world; } /** * este me...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.List; /** * Write a description of class MiMundo here. * La clase escenario donde se efectuara todo el juego. * * @author (Jose Santos Fraga Cordova) * @version (1.0v) */ public class MiMundo extends ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; public class Usuario extends Actor { /** * clase usuario, efectua el movimiento del jugador y al momento de tocar los disparos de los ovnis los bloquea para que * no puedan pasar y dañe a sus anim...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
package edu.uci.ics.crawler4j.url; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Set; public class TLDList { private final String tldNamesFileName = "tld-names.txt"; private Set<String> tldSet = new HashSet<>(); private s...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * This class is adopted from Htmlunit with the following copyright: * * Copyright (c) 2002-2012 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://ww...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"; you may ...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
package edu.uci.ics.crawler4j.parser; public class ExtractedUrlAnchorPair { private String href; private String anchor; public String getHref() { return href; } public void setHref(String href) { this.href = href; } public String getAnchor() { return anchor; } public void setAnchor(String anchor) {...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Esta clase es abstracta se llama personaje tiene dos subclases que utilizan un mismo metodo con diferente contenido aqui se usa el polimorfismo * * @author Araujo Lara Zahaira Lorena * @version 2012 * * Esta clase con...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * No actua * * @author Araujo Lara Zahaira Lorena * @version 2012 */ public class triciclo extends trampa { public void act() { // Add your action code here. } }
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Esta clase es parte de otro enemigo del jugador y contiene los movimientos de este objeto * * @author Araujo Lara Zahaira Lorena * @version 2012 */ public class popis extends Actor { public void...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Esta clase contiene los metodos de moverse,tiraTrampa etc. de otro enemigo externo al jugador y al enemigo * * @author Araujo Lara Zahaira Lorena * @version 20012 */ public class kiko extends Person...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Esta clase contiene los movimientos de ñoño * * @author Araujo Lara Zahaira Lorena * @version 25/11/12 * */ public class nono extends Personaje { /** * Act - * muevete.- Este metodo se usa para des...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * No actua * * @author Araujo Lara Zahaira Lorena * @version 2012 */ public class globo extends trampa { public void act() { } }
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Write a description of class donRamon here. * * @author (your name) * @version (a version number or a date) */ public class donRamon extends Actor { private boolean band=false; private boole...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * No actua * * @author Araujo Lara Zahaira Lorena * @version 2012 */ public class Tiempo extends Actor { Date cont; //hace referencia a un objeto de tipo Date para almacenar el tiempo inicial...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.ArrayList ; /** * Menu del juego * * @author Araujo Lara Zahaira Lorena * @author Maria Guadalupe * @version Programación Orientada a Objetos 2012 */ public class Mundo extends World { private boolean...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Este clase contiene un metodo al cual se le pasa una cadena que puede contener diferentes mensajes * * @author Araujo Lara Zahaira Lorena * @version 25/11/12 */ public class Letrero extends Actor { private String ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Inicializa y agrega a el mundo estos botones con sus respectivas imagenes * * @author Araujo Lara Zahaira Lorena * @version 2012 */ public class Menu extends Actor { int opc; ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** *No actua * * @author Araujo Lara Zahaira Lorena * @version 2012 */ public class trampa extends Actor { }
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Esta clase es parte de otro enemigo del jugador y contiene los movimientos de este objeto * * @author Araujo Lara Zahaira Lorena * @version 2012 */ public class chilindrina extends Actor { /...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * No actua * * @author Araujo Lara Zahaira Lorena * @version 2012 */ public class pelota extends trampa { public void act() { // Add your action code here. } }
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.ArrayList; /** * Esta clase contiene los movimientos del jugador * * @author Araujo Lara Zahaira Lorena * @version 2012 */ public class chavo extends Personaje { private GreenfootImage[] imagen= new Gree...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * crea un objeto para indicar la salida y el cambio de nivel * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Salida extends Actor { /** * Act - do whatever the Salida wants to do. This met...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase para el vheiculo de robot * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Robot extends Jugador { private Jugador band; private int cont; private int i; GreenfootImage[] r...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase que crea todos los objetos y sus posiciones para el mundo 4 * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Nivel4 extends SWorld { private int cajax; private int cajay; /** ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase que crea todos los objetos y sus posiciones para el mundo 3 * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Nivel3 extends SWorld { private int cajax; private int cajay; /** ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase que crea todos los objetos y sus posiciones para el mundo 5 * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Nivel5 extends SWorld { private int cajax; private int cajay; /** ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Crea el objeto de las monedas y checa si el objeto jugador se intersecta con los objetos moneda * regresa un valor que se suma en la clase puntos. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class M...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.Color; /** * De esta clase se derivan las que crean los botones del menu checa si se presiona los * botones del menu del juego. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Menu exten...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Superclase para los objetos de obstculos de esta se derivan las clases para los diferentes * objetos de osbtaculos. * En esta clase se encuentra el metodo que determina si el jugador choca con un obstaculos * y manda un men...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * crea el objeto con la imagen para cuando el jugador pierde * * @author oliverio celestino ochoa * @version 1.0 */ public class GameOver extends Actor { /** * Act - do whatever the GameOver wants to do. This ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase que crea todos los objetos y sus posiciones para el mundo 2 * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Nivel2 extends SWorld { private int cajax; private int cajay; priva...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Crea un objeto que indica que el jugador subio de nivel * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class LevelUp extends Actor { /** * Act - do whatever the LevelUp wants to do. This meth...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Crea un objeto que muestra la imagen cuando el jugador gana el juego * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Gana extends Actor { /** * Act - do whatever the Gana wants to do. Thi...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Crea el objeto del boton ayuda en el menu del juego. * si se presiona regresa a la superclase menu el estado 2 para mostrar la ayuda del juego. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Ayuda...