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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEAD
public static final java.lang.Integer DEAD
ALIVE
public static final java.lang.Integer ALIVE
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
-
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.