FileDocCategorySizeDatePackage
Game.javaAPI DocExample700Tue Oct 22 21:03:22 BST 2002com.oreilly.javaxp.junit

Game

public class Game extends Object
author
Eric M. Burke
version
$Id: Game.java,v 1.1 2002/10/23 02:03:22 jepc Exp $

Fields Summary
private Map
ships
Constructors Summary
public Game()


        
    
Methods Summary
public synchronized ShipcreateFighter(java.lang.String fighterId)

        Ship s = (Ship) this.ships.get(fighterId);
        if (s == null) {
            s = new Ship(fighterId);
            this.ships.put(fighterId, s);
        }
        return s;
    
public booleanisPlaying()

        return false;
    
public voidshutdown()

        // dummy method