games.strategy.triplea.attatchments
Class PlayerAttachment

java.lang.Object
  extended by games.strategy.engine.data.DefaultAttachment
      extended by games.strategy.triplea.attatchments.PlayerAttachment
All Implemented Interfaces:
IAttachment, java.io.Serializable

public class PlayerAttachment
extends DefaultAttachment

Version:
1.0
Author:
Adam Jette
See Also:
Serialized Form

Constructor Summary
PlayerAttachment()
          Creates new PlayerAttachment
 
Method Summary
static PlayerAttachment get(PlayerID p)
          Convenience method.
 java.lang.String getCaptureVps()
           
 boolean getGiveUnitControl()
           
 boolean getTakeUnitControl()
           
 java.lang.String getVps()
           
 void setCaptureVps(java.lang.String value)
           
 void setGiveUnitControl(java.lang.String value)
           
 void setTakeUnitControl(java.lang.String value)
           
 void setVps(java.lang.String value)
           
 
Methods inherited from class games.strategy.engine.data.DefaultAttachment
getAttatchedTo, getBool, getData, getInt, getName, setAttatchedTo, setData, setName, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlayerAttachment

public PlayerAttachment()
Creates new PlayerAttachment

Method Detail

get

public static PlayerAttachment get(PlayerID p)
Convenience method.


setVps

public void setVps(java.lang.String value)

getVps

public java.lang.String getVps()

setCaptureVps

public void setCaptureVps(java.lang.String value)

getCaptureVps

public java.lang.String getCaptureVps()

setTakeUnitControl

public void setTakeUnitControl(java.lang.String value)

getTakeUnitControl

public boolean getTakeUnitControl()

setGiveUnitControl

public void setGiveUnitControl(java.lang.String value)

getGiveUnitControl

public boolean getGiveUnitControl()