text
stringlengths
3
1.18M
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
package reso.testing; import org.junit.Test; import reso.ip.IPAddress; import junit.framework.TestCase; public class TestIPAddress extends TestCase { @Test public void testGetByAddress() throws Exception { IPAddress a1= IPAddress.getByAddress(192, 168, 1, 2); assertEquals(a1.addr[0], (byte) (192-128)); ass...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
package reso.examples.gobackn.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.GridLayout; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import org.jfree.chart.ChartFactory; import org.jfree.ch...
package reso.examples.gobackn.gui; import java.awt.BorderLayout; import javax.swing.JFrame; public class PlotGui extends JFrame { private static final long serialVersionUID = 1L; private PlotGui(){ this.setTitle("Plot Gui"); GuiJfreeChartModel guiJfreeChartModel=new GuiJfreeChartModel(); GuiVi...
package reso.examples.gobackn.gui; import java.util.ArrayList; import java.util.List; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import reso.examples.gobackn.transport.DummyProtocol; ...
package reso.examples.gobackn.gui; import reso.examples.gobackn.gui.GuiJfreeChartModel.Operation; import reso.examples.gobackn.transport.App; import reso.examples.gobackn.transport.DummyPacket; import reso.examples.gobackn.transport.GoBackNWithCongestionControl; public class GBNCongContrControler extends GoBac...
package reso.examples.gobackn.gui; import reso.examples.gobackn.transport.App; import reso.examples.gobackn.transport.DummyPacket; import reso.examples.gobackn.transport.DummyProtocol; import reso.examples.gobackn.transport.TransportHost; public class DummyProtocolControler extends DummyProtocol{ private G...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
package reso.examples.gobackn.transport; import reso.common.Host; /** An TransportHost is just an IPHost with an Transport Layer. */ public class TransportHost extends Host { private TransportLayer transportLayer; public TransportHost(String name,TransportLayer transportLayer) { super(name); this.t...
package reso.common; public interface MessageWithPayload extends Message { public Message getPayload(); public int getProtocol(); }
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
package reso.common; public interface InterfaceAttrListener { void attrChanged(Interface iface, String attr); }
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
/******************************************************************************* * Copyright (c) 2011 Bruno Quoitin. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available a...
//esta es identica para cualquier proyecto con conexion hibernate // crea la sesion a la base de datos en base al archivo de configuracion package code.hibernate; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.cfg.Configuration; /** * Configures and provides acc...
package code.vista; import javax.swing.JLabel; import java.util.Calendar; public class Cronometro extends JLabel implements Runnable { private static final long serialVersionUID = 1L; private long tiempoInicial; private int horas, minutos, segundos; private String tiempoTotal; Thread hilo; public...
package code.vista; import java.awt.Graphics; import java.awt.Image; import javax.swing.ImageIcon; import javax.swing.JPanel; public class JPanelImagen extends JPanel implements java.io.Serializable { /** * */ private static final long serialVersionUID = -1986932355273632046L; private String r...
package code.vista; import javax.swing.JTable; import javax.swing.border.LineBorder; import javax.swing.table.DefaultTableModel; public class Tabla extends JTable { /** * */ private static final long serialVersionUID = -3882589782565637966L; public Tabla() { super(); DefaultTableModel mod...
//esta clase package code.vista; import java.awt.*; public class Circulo { public static Color colores[] = { Color.CYAN, Color.PINK, Color.RED, Color.BLUE, Color.GREEN, Color.YELLOW, Color.BLACK, Color.WHITE }; private int colorActivo; private int x, y, size; private Rectangle clickArea; private in...
//esta clase se encarga de verificar los circulos blancos y negras y ademas //dibuja la fila de tablero package code.vista; import java.awt.*; import java.util.ArrayList; public class FilaTablero { private int combinacionSeleccionada[] = new int[8]; private int blancas, negras; private int numeroCol...
//es el que contiene los metodos guardar borrar y consultar en la base de datos package code.modelo; import java.util.List; import org.hibernate.Session; import code.hibernate.HibernateSessionFactory; public class JuegoDao { Session session = HibernateSessionFactory.getSession(); public void guardar(Jueg...
// esta es una clase que tiene todos los atributos que se almacenan en la base de datos // en el patron arquitectural modelo vista-controlador ES EL MODELO package code.modelo; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedVal...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Iterator; import java.util.Vector; import javax.swing.JOptionPane; import modelo.Categoria; import modelo.I...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; import modelo.Categoria; import vista.JFrameCategoria; public class controladorCategoria i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Iterator; import java.util.Vector; import modelo.Ingrediente; import modelo.Listado; import modelo.Orden; i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Iterator; import java.util.Vector; import javax.swing.JOptionPane; import modelo.Orden; import modelo.Produ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; import vista.*; import modelo.Ingrediente; public class controladorIngrediente implement...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package laboratorio1; public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { } }
package laboratorio1; import java.sql.*; import java.util.logging.Level; import java.util.logging.Logger; public class Conexion{ ResultSet rs; Connection con; Statement stmt; public Connection getCon() { return con; } public void setCon(Connection con) { this.con = con; } ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Menu.java * * Created on 05/04/2011, 11:33:08 PM */ package laboratorio1; import java.awt.event.ActionEvent; import javax.swing.JMenu; import javax.swing.JMenuItem; import vista.*; /** * This code was edit...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * JFrameIngrediente.java * * Created on 03/04/2011, 01:54:04 PM */ package vista; import controlador.controladorIngrediente; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * JFrameOrden.java * Created on 08/04/2011, 11:40:57 PM */ package vista; import com.toedter.calendar.JDateChooser; import controlador.controladorOrden; import java.util.Date; import javax.swing.JButton; import ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * JFrameCategoria.java * * Created on 06/04/2011, 01:16:48 AM */ package vista; import controlador.controladorCategoria; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JScrollPane; im...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * JFrameProducto.java * * Created on 08/04/2011, 03:25:27 PM */ package vista; import controlador.controladorProducto; import java.util.Iterator; import javax.swing.JButton; import javax.swing.JComboBox; import...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * JFrameListado.java * * Created on 10/04/2011, 02:42:02 AM */ package vista; import controlador.controladorListado; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JScrollPane; import...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; public class Listado { String nombreProducto; float cantidadProducto,precioOrden; public float getCantidadProducto() { return cantidadProducto; } public void setCantidadP...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.sql.SQLException; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import laboratorio1.Conexion; public class Categoria { String codigo,nombre,d...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import laboratorio1.Conexion; public class Ingredient...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.sql.SQLException; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import laboratorio1.Conexion; public class Producto { ...
package vista; import java.util.ArrayList; import java.util.List; import javax.swing.table.AbstractTableModel; import modelo.dto.PartidaRecord; /** *Esta clase se encarga de crear el modelo con el cual se van a mostrar los datos en la vista. * * @author Lilianny Rodriguez C.I.: 19.323.400 * @author Jose Jerez...
package code; import java.beans.SimpleBeanInfo; import bean.JTextFieldValidator; public class Componente1BeanInfo extends SimpleBeanInfo { Class<Componente1> beanClass = Componente1.class; }
package code; //public class Componente1 extends JFrame implements Serializable{ import javax.swing.JButton; import javax.swing.Timer; import java.awt.event.*; import java.io.Serializable; import java.awt.Color; public class Componente1 extends JButton implements ActionListener,Serializable { Timer timer; p...
package code; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.WindowConstants; import javax.swing.SwingUtilities; import code.Componente1; import java.awt.BorderLayout; /** * This code was edited or generated using CloudGarden's Jigloo * SWT/Swing GUI Builder, which is free for non-commercial...
package code; import java.awt.BorderLayout; import javax.swing.JButton; import javax.swing.JPanel; import javax.swing.Timer; import javax.swing.WindowConstants; import javax.swing.SwingUtilities; /** * This code was edited or generated using CloudGarden's Jigloo * SWT/Swing GUI Builder, which is free for non-commerc...
package Vista; import java.util.*; import java.util.Random; import java.util.Vector; public class JPrueba { public static void main(String args[]){ //private Vector<codigo> vector= new Vector<codigo> (); //Codigo codigo(); //random para el Nivel Basico Random rnd = new Random(); rnd.setSeed(new...
package Vista; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javabean.JPanelImagen; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JPanel; impo...
package Vista; import java.awt.BorderLayout; import javabean.JPanelImagen; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.Windo...
package controlador; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; import java.util.Random; import java.util.Vector; import javax.swing.JButton; import javax.swing.JOptionPane; import javax.swing.JPanel; import modelo.dao.PartidaRe...
package vista; import bean.Botonera; import bean.JLabelCronometro; import java.awt.BorderLayout; import java.awt.event.ActionListener; import javabean.JPanelImagen; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.sw...
package vista; import java.util.ArrayList; import java.util.List; import javax.swing.table.AbstractTableModel; import modelo.dto.PartidaRecord; /** *Esta clase se encarga de crear el modelo con el cual se van a mostrar los datos en la vista. * * @author Lilianny Rodriguez C.I.: 19.323.400 * @author Jose Jerez...
package com.model3d.ModelViewer; import java.io.IOException; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; import com.model3d.ModelLoader.Model3dsAnim; import android.content.res.Resources; import android.content.res.Resources.NotFoundException; import android.ope...
package com.model3d.ModelViewer; import android.content.Context; import android.opengl.GLSurfaceView; import android.view.KeyEvent; import android.view.MotionEvent; public class MVView extends GLSurfaceView { private MVRenderer mvr; public MVView(Context c) { super(c); mvr = new MVRenderer(this.getResource...
package com.model3d.ModelViewer; import android.app.Activity; import android.os.Bundle; public class ModelViewer extends Activity { private MVView mvv; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceSta...
/** * */ package com.model3d.ModelLoader; import java.io.BufferedReader; import java.io.IOException; import java.util.StringTokenizer; import javax.microedition.khronos.opengles.GL10; /** * @author bhanu * */ public class Frame implements Model { public float vertexArr[]; public int frameno; public Frame(B...
/** * */ package com.model3d.ModelLoader; import java.io.BufferedReader; import java.io.IOException; import java.util.StringTokenizer; import javax.microedition.khronos.opengles.GL10; import android.util.Log; /** * @author bhanu * */ public class Action implements Model { public int numVerts; public String...
/** * */ package com.model3d.ModelLoader; import javax.microedition.khronos.opengles.GL10; import android.util.Log; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatB...
/** * */ package com.model3d.ModelLoader; import javax.microedition.khronos.opengles.GL10; /** * @author bhanu * */ public interface Model { /** * Called to render a model object * @param gl */ void render(GL10 gl, float frameno); }
package combat; /** * @author DevB * @version $Id: Game.java,v 1.26 2012/04/08 03:50:18 DevA Exp $ * * This is the Game class... * * Revision History: * $Log: Game.java,v $ * Revision 1.26 2012/04/08 03:50:18 DevA * Cleaned up the code to run with Java 1.6: removed unused imports, * fi...
package combat; /** * @author DevA * @version $Id: Barrier.java,v 1.7 2012/04/08 03:50:18 DevA Exp $ * Revisions: * $Log: Barrier.java,v $ * Revision 1.7 2012/04/08 03:50:18 DevA * Cleaned up the code to run with Java 1.6: removed unused imports, * fixed some UI focus issues (introduced by new focus "f...
package combat; /** * Command object used to set key bindings as given by user input. * * @author Casey Klimkowsky cek3403@rit.edu * */ public class KeyBindingCommand implements Command { /** * The player in question. */ private PlayerManager player; /** * The player in question's current command a...
package combat; /** * Command interface as part of the Command pattern. * * @author Casey Klimkowsky cek3403@rit.edu */ public interface Command { /** * Declares an interface for executing an operation. */ public void execute(); }