gecco.game.testgame
Class ServerTest

java.lang.Object
  |
  +--gecco.game.testgame.ServerTest

public class ServerTest
extends Object

Description of the Class


Field Summary
(package private) static int actionCtr
          Description of the Field
(package private) static byte[] cols
          Description of the Field
(package private) static Dimension d
          Description of the Field
(package private) static int repaintCtr
          Description of the Field
(package private) static HashMap role2BufferedImage
          Description of the Field
(package private) static HashMap role2Frame
          Description of the Field
(package private) static Server server
          Description of the Field
 
Constructor Summary
ServerTest(Server _server)
          Constructor for the ServerTest object
 
Method Summary
static void actionCompleted(String role)
          Description of the Method
private  void initRoleGfx(String role)
          Description of the Method
static void refresh(String role)
          Description of the Method
static void restorePixel(String role, int x, int y)
          Description of the Method
static void updatePixel(String role, int x, int y, Color c)
          Description of the Method
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

actionCtr

static int actionCtr
Description of the Field

role2BufferedImage

static HashMap role2BufferedImage
Description of the Field

role2Frame

static HashMap role2Frame
Description of the Field

server

static Server server
Description of the Field

cols

static byte[] cols
Description of the Field

repaintCtr

static int repaintCtr
Description of the Field

d

static Dimension d
Description of the Field
Constructor Detail

ServerTest

public ServerTest(Server _server)
Constructor for the ServerTest object
Parameters:
_server - Description of Parameter
Method Detail

initRoleGfx

private void initRoleGfx(String role)
Description of the Method
Parameters:
role - Description of Parameter

actionCompleted

public static void actionCompleted(String role)
Description of the Method
Parameters:
role - Description of Parameter

refresh

public static void refresh(String role)
Description of the Method
Parameters:
role - Description of Parameter

updatePixel

public static void updatePixel(String role,
                               int x,
                               int y,
                               Color c)
Description of the Method
Parameters:
role - Description of Parameter
x - Description of Parameter
y - Description of Parameter
c - Description of Parameter

restorePixel

public static void restorePixel(String role,
                                int x,
                                int y)
Description of the Method
Parameters:
role - Description of Parameter
x - Description of Parameter
y - Description of Parameter