com.mlw.fps.model.business.vo
Class PlayerStatus

java.lang.Object
  |
  +--com.mlw.fps.model.business.vo.PlayerStatus

public class PlayerStatus
extends java.lang.Object

Author:
mwilson To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
static java.lang.Integer ALIVE
           
static java.lang.Integer DEAD
           
 
Constructor Summary
PlayerStatus(java.lang.String team, Player player)
           
PlayerStatus(java.lang.String team, Player player, java.lang.Integer status, long secondsAlive)
           
 
Method Summary
 Player getPlayer()
           
 long getSecondsAlive()
           
 java.lang.Integer getStatus()
           
 java.lang.String getTeam()
           
 PlayerStatus reset(long secondsAlive)
           
 void setStatus(java.lang.Integer status, long secondsAlive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEAD

public static final java.lang.Integer DEAD

ALIVE

public static final java.lang.Integer ALIVE
Constructor Detail

PlayerStatus

public PlayerStatus(java.lang.String team,
                    Player player)
Parameters:
team -
player -

PlayerStatus

public PlayerStatus(java.lang.String team,
                    Player player,
                    java.lang.Integer status,
                    long secondsAlive)
Parameters:
team -
player -
status -
Method Detail

getPlayer

public Player getPlayer()
Returns:

getStatus

public java.lang.Integer getStatus()
Returns:

getTeam

public java.lang.String getTeam()
Returns:

setStatus

public void setStatus(java.lang.Integer status,
                      long secondsAlive)

reset

public PlayerStatus reset(long secondsAlive)

getSecondsAlive

public long getSecondsAlive()
Returns:


Copyright © 2003 mlavilson. All Rights Reserved.