public class PlayerGroup
extends java.lang.Object
Constructor and Description |
---|
PlayerGroup()
Construct an empty PlayerGroup
|
PlayerGroup(int groupId,
int playerId)
Convienence constructor that initializes the fields.
|
Modifier and Type | Method and Description |
---|---|
int |
getGroupId() |
int |
getId() |
int |
getPlayerId() |
boolean |
isDirty()
Does this PlayerGroup need saving?
|
boolean |
isTagForDelete() |
void |
setDirty(boolean dirty) |
void |
setGroupId(int groupId) |
void |
setId(int id) |
void |
setPlayerId(int playerId) |
void |
setTagForDelete() |
public PlayerGroup()
public PlayerGroup(int groupId, int playerId)
groupId
- The groupId of this new PlayerGroup.playerId
- The playerId of this new PlayerGroup.public int getId()
public void setId(int id)
id
- the id to setpublic int getGroupId()
public void setGroupId(int groupId)
groupId
- the groupId to setpublic int getPlayerId()
public void setPlayerId(int playerId)
playerId
- the playerId to setpublic boolean isDirty()
public void setDirty(boolean dirty)
dirty
- the dirty to setpublic boolean isTagForDelete()
public void setTagForDelete()
tagForDelete
- the tagForDelete to set