text stringlengths 3 1.18M |
|---|
package controlador;
import java.awt.GridLayout;
public class ControladorIntentos {
public ControladorIntentos(ControladorJuego controlador, ControladorSolucion controladorSolucion){
GridLayout g = new GridLayout();
g.setColumns(1);
g.setRows(controlador.getNiveles().getCantIntentos());
controlador.getMast... |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import modelo.Jugador;
import modelo.JugadorDAO;
import vista.DialogJugador;
public class ControladorRegistrar {
public ControladorRegistrar(final JugadorDAO jugadorDAO, final ControladorJuego controlador) {
final Dial... |
package controlador;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Vector;
import javax.swing.JPanel;
import vista.BotonCircular;
public class ControladorColores {
private JPanel panelColores;
private BotonCircular bu... |
package controlador;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import modelo.JugadorDAO;
import modelo.Niveles;
import tiempo.Contador;
import vista.FrameJugarMasterMind;
public c... |
package controlador;
import java.awt.Color;
import java.awt.GridBagLayout;
import java.util.Vector;
import javax.swing.JPanel;
import vista.BotonCircular;
public class ControladorSolucion {
private JPanel panelSolucion;
private BotonCircular buttonOpc[];
private Vector<Color> vectorColores;
public Controlador... |
package controlador;
import java.awt.Color;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Vector;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.border.LineBorder;
import modelo.JugadorDAO;
import modelo.Niveles;
i... |
package controlador;
import java.awt.Color;
import java.awt.GridLayout;
import javax.swing.JPanel;
import javax.swing.border.LineBorder;
import vista.BotonCircular;
public class ControladorEvaluacion {
private JPanel panelEvaluacion;
private int cantBotones;
private Color colorGuardado;
public ControladorEv... |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;
import modelo.Jugador;
import modelo.JugadorDAO;
import vista.VentanaJugadorModeloTabla;
import vista.VentanaListadoJugadores;
public class ControladorRecord {
private VentanaListadoJugadores venta... |
import javax.swing.JFrame;
public class VentanaPrueba extends JFrame {
public VentanaPrueba(){
}
}
|
import javax.swing.JFrame;
import controlador.ControladorJuego;
public class Principal {
public static void main(String[] args) {
new ControladorJuego();
}
} |
package vista;
import java.util.ArrayList;
import java.util.List;
import javax.swing.table.AbstractTableModel;
import modelo.Jugador;
public class VentanaJugadorModeloTabla extends AbstractTableModel {
private static String[] titulos = {"Nombre", "Tiempo"};
private List<Jugador> jugadores = new Arr... |
package vista;
import java.awt.Graphics;
import javax.swing.JFrame;
public class FrameVentana extends JFrame{
/*protected void paintComponent(Graphics g){
if(!getModel().isArmed()){
g.setColor(colorFondo);
}
else{
g.setColor(colorFondo);
}
g.fillOval(0,0,getWidth()-1,getSize().height-1);
super... |
package vista;
import java.awt.Color;
import java.awt.Event;
import java.awt.Graphics;
import java.awt.Shape;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.geom.Ellipse2D;
import javax.swing.Action;... |
package vista;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.SwingConstants;
import javax.swing.WindowConstants;
import javax.swing.border.LineBorder;
import javax.swing.t... |
package vista;
import java.awt.Dimension;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.WindowConstants;
import javax.swing.border.LineBorder;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.sw... |
package vista;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.SwingConstants;
import javax.swing.WindowConstants;
import javax.swing.border.LineBorder;
import javax.swing.... |
package tiempo;
import javax.swing.JLabel;
public class Contador extends Thread{
private int segundos;
private boolean contar;
private JLabel texto;
public Contador(JLabel etiqueta) {
super();
segundos = 0;
contar = false;
texto = etiqueta;
}
@Override
public synchronized void start() {
contar =... |
package modelo;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import bean.Conexion;
public class JugadorDAO extends ConexionDAO{
public JugadorDAO() {
super();
}
public int contarMejores(int nivel){
int cont = 0;
String tiraSQL = "SELECT coun... |
package modelo;
public class Jugador {
private String nombre;
private Long tiempo;
private int nivel;
public Jugador(String nombre, Long tiempo, int nivel) {
this.nombre = nombre;
this.tiempo = tiempo;
this.nivel = nivel;
}
public String getNombre() {
return nombre;
}
public void setNombre(String n... |
package modelo;
import bean.Conexion;
public class ConexionDAO {
public ConexionDAO() {
super();
Conexion.establecerPropiedadesConexion("bdconfig", "jdbc.driver", "jdbc.url", "jdbc.nombrebd", "jdbc.usuario", "jdbc.password");
}
} |
package modelo;
import java.awt.Color;
import java.util.Vector;
import controlador.ControladorJuego;
public class Niveles {
private int difNivel;
private int cantColores;
private int cantIntentos;
private int cantBotones;
public Niveles(){
super();
}
public int getDifNivel() {
return difNivel;
}
pu... |
package imageStitcherAndSplitter;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.awt.image.Raster;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Vector;
import java.util.Arrays;
i... |
package imageStitcherAndSplitter;
public class StitchingPoint{
public static final int NORTH = 1;
public static final int NORTH_EAST = 2;
public static final int EAST = 3;
public static final int SOUTH_EAST = 4;
public static final int SOUTH = 5;
public static final int SOUTH_WEST = 6;
public static... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory... |
package model;
import java.io.Serializable;
/**
* The superclass for army action and pretty much everything else that happens
* on the board
*
* @author shefchik
*
*/
@SuppressWarnings("serial")
public abstract class ArenaAction implements Serializable {
private Player player;
/**
* Gets ... |
package model;
import java.io.Serializable;
/**
* A marker class for when a player's turn is over. The player will send this to
* the server when it has finished its turn to notify it.
*
* @author Kevin Luikens
*
*/
public class TurnDone extends GameAdministration {
/**
* Creates the TurnDon... |
package model;
import java.io.Serializable;
/**
* This class represents a card in the game. It contains the card type enum
* (SOLDIER, HORSE, CANNON, WILD) and the country the card represents. If the
* type is wild there is no country.
*
* @author David Shefchik, Xiaotian Chang
*
*
*/
@Suppres... |
package model;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import model.AI.MapInfo;
/**
* This Class is a type of Arena Action that is sent to the game server and
* specifies that combat is to occur. That's about it.
*
* @author David's David Shefchik, Xiaotian C... |
package model;
import java.awt.Color;
import javax.swing.ImageIcon;
/**
* Territories need to have initial owners for many things in AI to work. Having
* each territory's owner be set to a new nullplayer ensures everything works
* correctly.
*
* @author shefchik
*
*/
@SuppressWarnings("serial"... |
package model;
import java.io.Serializable;
/**
* @author chang
*
*/
public enum LastActionEnum implements Serializable {
/**
* using this if the last movement is add troop into a terrtiroy. only used
* at the beginning of a turn.
*/
addTroops,
/**
* this represent a attack movement.
... |
package model;
/**
* This Class is a type of Arena Action that is sent to the game server and
* specifies that movement is to occur. That's about it.
*
* @author David's David Shefchik, Xiaotian Chang
*
*/
@SuppressWarnings("serial")
public class Movement extends ArmyAction {
/**
* This constr... |
package model;
/**
* Sent to the clients from the server when
* the game is over.
*
* @author Kevin Luikens
*
*/
public class GameOver extends GameAdministration {
private boolean gameIsOver;
/**
* Initializes the shell class
*/
public GameOver() {
gameIsOver = false;
}
/**
... |
package model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Observable;
import java.util.Observer;
/**
*
* This class contains all the relevent information and methods pertaining to a
* continent in Risk. It holds the continent's name, any ownershi... |
package model;
/**
* NextPlayer is a shell class that contains the player
* who has the next turn.
*
* @author Kevin Luikens
*
*/
@SuppressWarnings("serial")
public class NextPlayer extends GameAdministration {
public NextPlayer(Player p) {
super(p);
}
}
|
package model;
import java.io.Serializable;
/**
* @author chang created for GUI to store the last movement of the game.
*/
@SuppressWarnings("serial")
public class LastAction implements Serializable {
private Player player1;
private Player player2;
private Territory t1;
private Territory t2;
priva... |
package model;
/**
* GameConfig is a shell class for transferring information
* from the first client to connect, whom decides the
* configuration of the game, and is sent to the server to
* construct the game.
*
* @author kluikens
*/
public class GameConfig extends GameAdministration {
private in... |
package model;
/**
* Will be spawned by the client when trying to see if there are any games to be
* joined. In response, the Server will send a response and Map if available.
*
* @author Kevin Luikens
*
*/
public class JoinGame extends GameAdministration {
private boolean gameToJoin;
private bool... |
package model;
import java.awt.Point;
import java.util.List;
import java.util.Observable;
/**
* The Classic Map is the default world map being played in Risk. It contains
* all the continents and territories.
*
* @author David Shefchik, Xiaotian Chang
*
*/
public class ClassicMap extends Map {
... |
package model.AI;
import java.awt.Color;
import java.util.Collections;
import java.util.List;
import javax.swing.ImageIcon;
import control.networking.RiskAIClient;
import model.CardType;
import model.Map;
import model.Player;
import model.Territory;
import model.TradeCard;
import model.Map.GamePhase;... |
package model.AI;
import java.awt.Color;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javax.swing.ImageIcon;
import control.networking.RiskAIClient;
import model.Continent;
import model.Map;
import model.Player;
import model.Territory;
import model.TradeCard... |
package model.AI;
import control.networking.RiskAIClient;
/**
* This is an interface that contains the standard behavioral methods to be used
* by the AI combatants. Each implementation of this interface can use these
* methods in vastly different ways, giving personality to the AI bots.
*
* @author Da... |
package model.AI;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
import model.Continent;
import model.Player;
import model.Territory;
import model.TradeCard;
/**
* This class is meant to be a set of *possibly* static methods... |
package model;
/**
* An enum containing the different types of cards to won in the game.
*
* @author David Shefchik
*
*
*/
public enum CardType {
/**
* soldier is a card type.
*/
SOLDIER, /**
* cannon is a card type.
*/
CANNON, /**
* horse is a card type.
*/
HORSE, /**
... |
package model;
import java.awt.Color;
import java.io.File;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import javax.swing.ImageIcon;
/**
* If the Client doesn't already have a profile (serialized)
* on the disk, the GUI should prompt to create a new one
* with new values. Otherwise... |
package model;
/**
* This is an abstract class that dictates the construction and behavior of an
* arena action. An arena action can be either combat or movement. It holds the
* information for the territories and players involved in the action and the
* number of troops in each territory.
*
* @author D... |
package model;
import java.util.ArrayList;
/**
* @author Xiaotian chang
*
*/
public class TradeCard {
/**
* do nothing constructor.
*/
public TradeCard() {
}
/**
* This method takes in a player and 3 cards, checks to see whether they are
* tradable, and if so trades them and gives ... |
package model;
import java.io.Serializable;
/**
* Super class for the marker classes that shoot across the network to
* communicate the status of the game between Server and Client. Mostly, these
* classes don't need the Player field in ArenaAction.
*
* @author Kevin Luikens
*
*/
@SuppressWarning... |
package model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
/**
* The Map class is the main class dealing with the game board. It contains a
* list of the c... |
package model;
import java.awt.Color;
import java.io.EOFException;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InvalidClassException;
import java.io.ObjectInputStream;
import java.io.Ob... |
package model;
import java.awt.Color;
import java.awt.Point;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Observable;
import javax.swing.ImageIcon;
/**
* This class represents a territory in the game. It contains a name, a list of
* its neighbors, its containing continent, ... |
package model;
import java.awt.Color;
import java.io.EOFException;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InvalidClassException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
imp... |
package view;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;... |
package view;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Date;
import java.text.SimpleDateFormat;
import javax.swing.JColorChooser;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import ja... |
package view;
//SplashScreen.java
//A simple application to show a title screen in the center of the screen
//for the amount of time given in the constructor. This class includes
//a sample main() method to test the splash screen, but it's meant for use
//with other applications.
//
import java.awt.*;
impo... |
package view;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import java... |
package view;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import javax.s... |
package view;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ButtonGroup;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.... |
package view;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.O... |
package view;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.Graphics2D;
import java.awt.GridLayout;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.Mouse... |
package view;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.image.BufferedImage;
import java.io.File;
import java.... |
package view;
import java.awt.Color;
import java.util.ArrayList;
import javax.swing.ImageIcon;
import model.ClassicMap;
import model.HumanPlayer;
import model.Map;
import model.Player;
import model.AI.SimpleCyborg;
public class TestGUI {
public static void main(String[] args) throws InterruptedExc... |
package view;
//SplashScreen.java
//A simple application to show a title screen in the center of the screen
//for the amount of time given in the constructor. This class includes
//a sample main() method to test the splash screen, but it's meant for use
//with other applications.
//
import java.awt.*;
impo... |
package view;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JWindow;
import model.Territory;
... |
package view;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.UUID;
import ja... |
package view;
import java.io.File;
import java.io.IOException;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.DataLine;
import javax.sound.sampled.FloatControl;
import javax.sound.sampled.LineUnavailableEx... |
package Testing;
import java.awt.Color;
import model.*;
import javax.swing.ImageIcon;
public class PlayerTest {
public static void main(String [] args) {
Player kevin = new HumanPlayer("Kevin", Color.BLACK, new ImageIcon());
System.out.println("I finished");
... |
package Testing;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.lang.reflect.Field;
import java.util.List;
import java.util.ArrayList;
public class DebuggingObjectOutputStream
extends ObjectOutputStream {
private static final Field DEPTH_FIEL... |
package Testing;
import static org.junit.Assert.*;
import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
import javax.swing.ImageIcon;
import model.ClassicMap;
import model.Continent;
import model.Map;
import model.Player;
import model.Territory;
import model.AI.Cyborg;
import mo... |
package control.networking;
import java.util.List;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import model.*;
import model.Player.PlayerTurn;
/**
* PlayerTurnQueue manages the sequence of turns in the game.
* @author Kevin Luikens
*
*/
public class Pl... |
package control.networking;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.SocketException;
import java.net.UnknownHostException;
import view.ChatPanel;
/**
* ChatClie... |
package control.networking;
import java.awt.Color;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.List;
import javax.swing.ImageIcon;
import model.*;
import model.AI.ExpertCyborg;
im... |
package control.networking;
import java.util.ArrayList;
import java.util.List;
/**
* Keeps track of who is connected to the chat room.
* Main utility is in being able to broadcast to the
* group when someone sends a message.
*
*/
public class ConnectedChatters {
static List<ChatServerHandler> chatt... |
package control.networking;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.net.SocketException;
import java.net.UnknownHostException;
import model.*;
/**
* RiskServerHandler is the interface between the server and
* ... |
package control.networking;
import java.awt.Color;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.util.Iterator;
import javax.swing.ImageIcon;
import view.RiskFrame;
import view.SplashRiskFrame;
import view.SplashScree... |
package control.networking;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.ConnectException;
import java.net.Socket;
import java.util.Iterator;
import java.util.Observable;
import java.util.Observer;
import model.*;
import model.AI.Cyborg;
... |
package control.networking;
import java.util.ArrayList;
import java.util.List;
import model.Player;
/**
* Keeps track of who is connected to the chat room.
* Main utility is in being able to broadcast to the
* group when someone sends a message.
*
* @author Kevin Luikens
*
*/
public class Conn... |
package control.networking;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.SocketException;
import java.net.UnknownHostException;
/**
* This might be a necessary... |
package control.networking;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
/**
* The ChatServer is almost like a cell phone tower, as it simply redirects messages
* from one client and broadcasts them to all connected others.
* @author Kevin Luikens
*
*/
public cl... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Super clase peronsaje
* @author (Roberto Rodriguez)
* @version (27-may-2012)
*/
public abstract class Personaje extends Actor
{
/**
* Se ejecutan constantemente mientas el boton de run este precionado
* esta clase... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Super Clase Enemigos
* @author (Roberto Rodriguez)
* @version (27-may-2012)
*/
public abstract class Enemigos extends Personaje
{
protected int tipoEnemigo; //Recibe el tipo de enemigo que es una variable que heredan las su... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Clase Moneda ella coloca la imagen y hace el movimiento
* @author (Roberto Rodriguez)
* @version (27-may-2012)
*/
public class Moneda extends Personaje
{
/**
* Se ejecutan constantemente mientas el boton de run este pre... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.*;
/**
* Classe botton es donde se encuentra los botones y letreros
* que son utilizadon dentro del juego
* @author (your name)
* @version (a version number or a date)
*/
public class Button extends Actor
{
privat... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Clase de jugador principal
* @author (Roberto Rodriguez)
* @version (27-may-2012)
*/
public class Heroe extends Personaje
{
private int val; //Indica que imagen de animacion se encutra el heroe
... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Clase Enemigo Horizontal
* @author (Roberto Rodriguez)
* @version (27-may-2012)
*/
public class EnemigoH extends Enemigos
{
/**
* Se ejecutan constantemente mientas el boton de run este precionado
* ejecuta el met... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Clase Enemigo Vertical
* @author (Roberto Rodriguez)
* @version (27-may-2012)
*/
public class EnemigoV extends Enemigos
{
private int conta; //Determinda el tiempo de moviento
/**
* Se ejecutan constantemente mient... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.*;
/**
*El mundo es donde se concentra las condiciones del juego
*y como actuara
* @author (Roberto Rodrguez)
* @version (27-may-2012)
*/
public class WorldGather extends World
{
private int ataque; ... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Classe barra aqui coloca la imagen la barra de vida
* @author (Roberto Rodriguez)
* @version (27-may-2012)
*/
public class Barra extends Actor
{
/**
* Se ejecutan constantemente mientas el boton de run este precionado
... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Contador here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Contador extends Actor
{
private int valor;
/**
* Inicializa el valor del contador y crea... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
/*
* ====================================================================
* Copyright (c) 2004-2012 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.