text
stringlengths
3
1.18M
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.Color; /** * Suma los puntos de las monedas que recoje el jugador crea el objeto score que es mostrado * en la pantalla que indica el puntaje. * * @author (your name) * @version (a version number or a date) ...
import greenfoot.*; /** * Esta clase deriva las clases del las formas que puede aparecer el jugador * en esta se encuentran los metodos que mueven al jugador y el metodo para saltar * del jugador. */ public class Jugador extends Actor { public int posx; public int posy; static int bandera;...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase que crea el objeto del misil lo mueve y lo hace girar * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Misil extends Obstaculos { /** * Mueve el misil de donde se aya creado lo muev...
import greenfoot.*; /** * Clase que crea todos los objetos y sus posiciones para el mundo 1 */ public class MyWorld extends SWorld { /** * Creates a scrolling world using a main actor, a background, some obstacles, and a non-scrolling score. */ public MyWorld() { su...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Crea el objeto del boton atras en el menu del juego. * si se presiona regresa a la superclase menu el estado 0 para regresar al menu principal. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Atras...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Crea el objeto del boton jugar en el menu del juego. * si se presiona regresa a la superclase menu el estado 1 para comenzar el juego. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Jugar extends...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase para el objeto Moto que es el segundo vehiculo para el jugador. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Moto extends Jugador { /** * En el metodo act se checa que tecla se...
import greenfoot.*; import java.util.List; import java.util.ArrayList; /** * SWorld is a super-class for a scrolling world (horizontal, vertical, or both).<br><br> * Author: danpost<br>Version: January 13, 2013 (v2.0)<br><br> * To implement this super-class: * <l><li>(1) create a sub-class of this class</l...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * En esta clase se cheka si el jugador se intersecta para cambiar al jugador de forma aleatoria * entre los otros dos vehiculos * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Caja extends Actor {...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Crea el objeto del boton de creditos en el menu del juego. * si se presiona regresa a la superclase menu el estado 3 para mostrar los creditos del juego. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public c...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** *Clase para el objeto obstaculo1 contiene el metodo que hace checa si se interssecta el obstaculo con el jugador. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Obstaculo2 extends Obstaculos { /...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase para crearr un objeto que indica la salida y el cambio de nivel. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Door extends Actor { /** * Act - do whatever the Door wants to do. ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase para el objeto obstaculo1 contiene el metodo que hace checa si se interssecta el obstaculo con el jugador. * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Obstaculo1 extends Obstaculos { ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Clase para el objeto del jugador principal es el que representa el jugador con la * mochila propulsora * * @author Oliverio Celestino Ochoa * @version 1.0 */ public class Mochila extends Jugador { /** * E...
package com.indiv.pmy.world; import java.awt.Color; import java.awt.Container; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Graphics; import javax.swing.JFrame; import javax.swing.JPanel; public abstract class World2d extends JFrame implements Runnable { Thread worldThread; ...
package com.indiv.pmy.vector; public class Vector2d { double i, j; public Vector2d() { i = j = 0.0; } public Vector2d(double _i, double _j) { i = _i; j = _j; } public void makeUnitVector() { double norm = norm(); i = i/norm; j = j/norm; } public void scale(double _factor...
package com.indiv.pmy.input; public enum KeyValue { UP, DOWN, LEFT, RIGHT, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ENTER, ESCAPE }
package com.indiv.pmy.input; public enum KeyState { PRESSED, NOTPRESSED }
package com.indiv.pmy.input; import java.awt.event.KeyEvent; import java.util.HashMap; public class EventKeyMap { private HashMap<Integer,KeyValue> map; public void populateMap() { map = new HashMap<Integer,KeyValue>(); map.put(KeyEvent.VK_UP, KeyValue.UP); map.put(KeyEvent.VK_DOWN, KeyValue.DOWN); ...
package com.indiv.pmy.input; import java.util.HashMap; public class KeyboardState { private HashMap<KeyValue,KeyState> valueStateMap; public KeyboardState() { valueStateMap = new HashMap<KeyValue,KeyState>(); } public boolean isPressed(KeyValue key) { return valueStateMap.get(key)==KeyState.PR...
package com.indiv.pmy.input; import java.awt.Component; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.HashMap; public class KeyboardMonitor implements KeyListener { private KeyboardState state; private HashMap<KeyValue,Boolean> monitor; private EventKeyMap ekm; ...
package com.indiv.pmy.transform; public class TransformFactory { public static double[][] generateRotationMatrix(double _degrees) { return generateRotationMatrixRadians(Math.toRadians(_degrees)); } public static double[][] generateRotationMatrixRadians(double _radians) { double[][] rotationMatrix = ne...
package com.indiv.pmy.shape; import java.awt.Color; import java.awt.Graphics; public class Circle extends Shape { Point center; double radius; public Circle() { center = new Point(0.0, 0.0); radius = 10; } public Circle(double _x, double _y, double _radius) { center = new Point(_x, _y); ...
package com.indiv.pmy.shape; import java.awt.Color; import java.awt.Graphics; import com.indiv.pmy.transform.TransformFactory; import com.indiv.pmy.vector.Vector2d; public class Rectangle extends Shape { Point topLeft; Point[] vertices; double width; double height; double rotated; public Re...
package com.indiv.pmy.shape; import java.awt.Graphics; public abstract class Shape { public abstract void draw(Graphics _g); public abstract void destroy(); public abstract void rotate(double[][] _rotationMatrix); public abstract void translate(double[] _translationMatrix); public abstract void scale(do...
package com.indiv.pmy.shape; import java.awt.Color; import java.awt.Graphics; public class FillCircle extends Shape { Point center; double radius; Color color; public FillCircle() { center = new Point(0.0, 0.0); radius = 10; color = Color.black; } public FillCircle(double _x, double _y...
package com.indiv.pmy.shape; public class Point { double x, y; public Point() { x = y = 0.0; } public Point(double _x, double _y) { x = _x; y = _y; } public double getX() { return x; } public double getY() { return y; } public void setX(double _x) { x = _x; } public void setY(doub...
package com.indiv.pmy.demo; import java.awt.Color; import java.awt.Graphics; import com.indiv.pmy.input.KeyValue; import com.indiv.pmy.input.KeyboardMonitor; import com.indiv.pmy.input.KeyboardState; import com.indiv.pmy.shape.FillCircle; import com.indiv.pmy.shape.Rectangle; import com.indiv.pmy.transform....
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Arrays; import java.util.Comparator; import javax.swing.DefaultComboBoxModel; import javax.swing.JFrame; import javax.swing.table.AbstractTableModel; import patronDecorator.ProductoDAO; import Vista.NewJDia...
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Vector; import javax.swing.DefaultComboBoxModel; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.table.AbstractTableModel; import patronDecorator.Pr...
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.*; import javax.swing.DefaultComboBoxModel; import javax.swing.JFrame; import javax.swing.table.AbstractTableModel; import modelo.DetalleOrdenDAO; import modelo.DetalleOrdenDAO.CantidadProd; import Vista.New...
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Vector; import javax.swing.DefaultComboBoxModel; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.table.AbstractTableModel; import modelo.Ingrediente; ...
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Vector; import javax.swing.DefaultComboBoxModel; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.table.AbstractTableModel; import javax.swing.table.Ta...
package controlador; public class ControladorProductosMasUsados { }
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; import patronBuilder.ControladorVentanaAtributo; import modelo.Ingrediente; import modelo.IngredienteDAO; import Vista.NewJDialogIngrediente; public class ControladorIngrediente extends Contr...
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Vector; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.event.ListDataList...
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import patronDecorator.ControladorVentanaProducto; import patronMementoo.ControladorCliente; import Vista.NewJFramePrincipal; public class ControladorPrincipal implements ActionListener{ private NewJFramePrincipal princi...
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import javax.swing.JFrame; import javax.swing.table.AbstractTableModel; import modelo.Ingrediente; import modelo.IngredienteDAO; import Vista.NewJDialogIngredientesAlmecenados; public class Controlad...
import controlador.ControladorOrden; import controlador.ControladorPrincipal; public class Principal { /* INtegrantes dela aplicacion: * Devides, Luis CI 19284794 * Melendez, Jesus CI 19884196 * Salas, Neneskha CI 19106055 */ /** * @param args */ public static void main(String[] args) { new ControladorP...
package patronBuilder; public abstract class ControladorVentanaAtributo { public abstract void mostrar(); }
package patronBuilder; import patronMementoo.ControladorCliente; import controlador.*; public abstract class VentanaBuild { protected ControladorCliente clien; protected ControladorIngrediente ing; public ControladorCliente getVentCliente(){ return clien; } public void CrearVentCliente(){ clien = new Contro...
package patronDecorator; public abstract class Decorator extends ProductoAbstracto { private ProductoAbstracto pr; public Decorator(ProductoAbstracto p) { super(); pr = p; } @Override public String getCodigoProducto() { return pr.getCodigoProducto(); } @Override public void setCodigoProducto(String...
package patronDecorator; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; //import modelo.Producto; import javax.swing.JFrame; import javax.swing.JOptionPane; import patronDecorator.Producto; import patronDecorator.NewJDialogProducto; public class ControladorVentanaProducto { private NewJDi...
package patronDecorator; public class Producto extends ProductoAbstracto { private String codigoProducto; private String nombreProducto; private String descripcion; private float precio; private String codigocategoria; public Producto(String codigoProducto, String nombreProducto, String descripcion, float ...
package patronDecorator; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; /** * This code was edited or generated using CloudGarden's Jigloo * SWT/Swing GUI Builder, which is free for non-comm...
package patronDecorator; public abstract class ProductoAbstracto { public abstract String getCodigoProducto(); public abstract String getCodigocategoria(); public abstract String getNombreProducto(); public abstract String getDescripcion(); public abstract float getPrecio(); public abstract void setCodigoProduct...
package patronDecorator; class DecoradorIva1 extends Decorator { public DecoradorIva1(ProductoAbstracto pr) { super(pr); } public float CalcularOperacion() { return getPrecio() * 1.12f; } }
package patronMementoo; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; import patronBuilder.ControladorVentanaAtributo; import patronMementoo.Cliente.Memento; import modelo.ClienteDAO; public class ControladorCliente extends ControladorVentanaAtributo{ priv...
package patronMementoo; public class Cliente { private String cedula; private String nombre; private String apellido; private double telefono; public Cliente(String cedula, String nombre, String apellido, double telefono) { super(); this.cedula = cedula; this.nombre = nombre; this.apellido = apellido;...
package patronMementoo; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; /** * This code was edited or generated using CloudGarden's Jigloo * SWT/Swing...
package modelo; import java.sql.*; public class Conexion { // La descripcion del driver de la BD private static String driver = "org.postgresql.Driver"; // La direccion URL de la BD private static String url = "jdbc:postgresql://localhost:5432/"; // El nombre de la BD private sta...
package modelo; import java.util.LinkedList; import javax.swing.table.AbstractTableModel; import patronDecorator.Producto; public class ModeloJTable extends AbstractTableModel { LinkedList<Producto> LisPro = new LinkedList<Producto>(); String [] titulos = {"codigoProducto", "Tipo", "nombre", "disponibilidad", "d...
package modelo; public class DetalleCompra { private String codigoIngrediente; private int cantidad, codigo; public DetalleCompra(int codigoDetalle, String codigoIngrediente, int cantidad) { super(); this.codigo = codigoDetalle; this.codigoIngrediente = codigoIngrediente; this.cantidad = cantidad...
package modelo; import java.sql.ResultSet; import java.sql.SQLException; public class DetalleCompraDAO { public DetalleCompraDAO(){ super(); } public void registrarDetalleCompra(DetalleCompra detalleCompra){ String tiraSQL = "INSERT INTO detalleCompra " + "(codigoingrediente, cantidad)"+ "VALUES"+ ...
package modelo; public class Orden { private String codigoOrden; private String codigoCliente; private String descripcion; private float precioTotal; public Orden(String codigoOrden, String codigoCliente, String descripcion, float precioTotal) { super(); this.codigoOrden = codigoOrden; this.codigoCl...
package modelo; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Vector; public class DetalleOrdenDAO { public DetalleOrdenDAO() { super(); } public void RegistrarDetalleOrden(DetalleOrden detalleOrden){ String tiraSQL = "INSERT INTO detalleorden " + "(codigoorden,...
package modelo; public class Cliente { private String cedula; private String nombre; private String apellido; private double telefono; public Cliente(String cedula, String nombre, String apellido, double telefono) { super(); this.cedula = cedula; this.nombre = nombre; this.apellido = apellido; ...
package modelo; public class Plantilla { private String codigoIngrediente; private String codigoProducto; private double cantidad; public Plantilla(String codigoIngrediente, String codigoProducto, double cantidad) { super(); this.codigoIngrediente = codigoIngrediente; this.codigoProducto = codigoProd...
package modelo; public class Ingrediente { private String codigoIngrediente; private String nombreIngrediente; private double stockMin; private double stockMax; private double cantidad; public Ingrediente(String codigoIngrediente, String nombreIngrediente, double stockMin, double stockMax, double cantidad) { ...
package modelo; public class DetalleOrden { private String codigoOrden; private String codigoProducto; public DetalleOrden(String codigoOrden, String codigoProducto) { super(); this.codigoOrden = codigoOrden; this.codigoProducto = codigoProducto; } public String getCodigoOrden() { return codigoOrden; } publi...
package modelo; public class Categoria { private String codigoCategoria; private String nombre; private String descripcion; public Categoria(String codigoCategoria, String nombre, String descripcion) { super(); this.codigoCategoria = codigoCategoria; this.nombre = nombre; this.descripcion = d...
package Vista; import javax.swing.BorderFactory; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTabl...
package Vista; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.SwingUtilities; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableModel; /** * This code was edited or generated using CloudGarden's Jigloo * SWT/...
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.JTextField; import controlador.ControladorCtegoria; /** * This code was edited or generated using CloudGarden's Jigloo * SWT/Swing GUI Bu...
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.JTextField; import controlador.ControladorIngrediente; /** * This code was edited or generated using CloudGarden's Jigloo * SWT/Swing GUI...
package Vista; import java.awt.BorderLayout; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JPanel; import javax.swing.JPasswordField; import java...
package Vista; import java.awt.Canvas; import javax.swing.BorderFactory; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; ...
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.JScrollPane; import javax.swing.JTable; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableModel; import controlador....
package Vista; import java.awt.BorderLayout; import javax.swing.BorderFactory; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScroll...
package Vista; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.SwingUtilities; import javax.swing.tabl...
package Vista; import javax.swing.BorderFactory; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTabl...
package Vista; import javax.swing.BorderFactory; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTabl...
package Vista; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.SwingUtilities; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableModel; /** * This c...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Write a description of class PezTrucha here. * * @author (your name) * @version (a version number or a date) */ public class PezTrucha extends Pez { /** * Act - do whatever the PezTruc...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Titulo here. * * @author (your name) * @version (a version number or a date) */ public class Titulo extends Menu { /** * Act - do whatever the Titulo wants to do. This method i...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Bala here. * * @author (your name) * @version (a version number or a date) */ public class Bala extends Actor { /** * Act - do whatever the Bala wants to do. This method is call...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Write a description of class Play here. * * @author (your name) * @version (a version number or a date) */ public class Play extends Menu { /** * Act - do whatever the Play wants to do. ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Ayuda here. * * @author (your name) * @version (a version number or a date) */ public class Ayuda extends Menu { /** * Act - do whatever the Ayuda wants to do. This method is c...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class RegMenu here. * * @author (your name) * @version (a version number or a date) */ public class RegMenu extends Menu { /** * Act - do whatever the RegMenu wants to do. This method...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class PezGlobo here. * * @author (your name) * @version (a version number or a date) */ public class PezGlobo extends Pez { /** * Act - do whatever the PezGlobo wants to do. This m...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Buzo here. * * @author (your name) * @version (a version number or a date) */ public class Buzo extends Actor { /** * Act - do whatever the Buzo wants to do. This method is cal...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Tiempo here. * * @author (your name) * @version (a version number or a date) */ public class Tiempo extends Puntaje { /** * Act - do whatever the Tiempo wants to do. This method...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Pescador here. * * @author (your name) * @version (a version number or a date) */ public class Pescador extends Actor { /** * Act - do whatever the Pescador wants to do. This m...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Creditos here. * * @author (your name) * @version (a version number or a date) */ public class Creditos extends Menu { /** * Act - do whatever the Creditos wants to do. This me...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Write a description of class PezCarpa here. * * @author (your name) * @version (a version number or a date) * */ public class PezCarpa extends Pez { /** * Constructor que Escala la im...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Write a description of class Menu here. * * @author (your name) * @version (a version number or a date) */ public class Menu extends Actor { /** * Act - do whatever the Menu wants to do....
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Write a description of class CPU here. * * @author (your name) * @version (a version number or a date) */ public class CPU extends Pescador { /** * Act - do whatever the CPU wants to do....
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Pez here. * * @author (your name) * @version (a version number or a date) */ public class Pez extends Actor { /** * Act - do whatever the Pez wants to do. This method is called...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Usuario here. * * @author (your name) * @version (a version number or a date) */ public class Usuario extends Pescador { /** * Act - do whatever the Usuario wants to do. This m...
/* * Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2010 Dynastream Innovations 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
/* * Copyright 2011 Dynastream Innovations 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
/* * Copyright 2010 Dynastream Innovations 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...