org.pilotix.server
Class ServerArea

java.lang.Object
  extended by org.pilotix.common.Area
      extended by org.pilotix.server.ServerArea
All Implemented Interfaces:
Transferable

public class ServerArea
extends Area


Field Summary
 
Fields inherited from class org.pilotix.common.Area
balls, nbMaxBalls, nbMaxObstacles, nbMaxShips, ships
 
Fields inherited from interface org.pilotix.common.Transferable
AREA, BALL, COMMAND, INFO, SHIP
 
Constructor Summary
ServerArea(java.lang.String aMapFile)
           
 
Method Summary
 void addShip(ServerShip aShip)
           
 void collideWithBoundary(ServerBall ball)
           
 void collideWithBoundary(ServerShip s)
           
 void collideWithObstacle(ServerBall ball)
           
 void collideWithObstacle(ServerShip s)
           
 void collideWithShip(ServerShip sa, ServerShip sb)
           
 void nextFrame()
           
 void removeShip(ServerShip aShip)
           
 void setMap(java.lang.String aMapFile)
           
 
Methods inherited from class org.pilotix.common.Area
getBalls, getNbBalls, getNbMaxBalls, getNbMaxObstacles, getNbMaxShips, getNbShips, getShips, read, set, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerArea

public ServerArea(java.lang.String aMapFile)
Method Detail

setMap

public void setMap(java.lang.String aMapFile)

addShip

public void addShip(ServerShip aShip)

removeShip

public void removeShip(ServerShip aShip)

nextFrame

public void nextFrame()

collideWithBoundary

public void collideWithBoundary(ServerShip s)

collideWithObstacle

public void collideWithObstacle(ServerShip s)

collideWithBoundary

public void collideWithBoundary(ServerBall ball)

collideWithObstacle

public void collideWithObstacle(ServerBall ball)

collideWithShip

public void collideWithShip(ServerShip sa,
                            ServerShip sb)


artefarita.com/pilotix Pilotix 2003-2013 - Stilisto : G.C.