public class Setting
extends java.lang.Object
Constructor | Description |
---|---|
Setting() |
Modifier and Type | Method | Description |
---|---|---|
int |
getNumOfLoosesMulti() |
|
int |
getNumOfLoosesSingle() |
|
int |
getNumOfWinsMulti() |
some seeter and getter for fields
|
int |
getNumOfWinsSingle() |
|
long |
getPlayedTime() |
|
int |
getTankArmor() |
|
java.lang.String |
getTankShapePath() |
|
java.lang.String |
getUserName() |
|
void |
setTankShapePath(java.lang.String tankShapePath) |
|
void |
updateSettingAfterAMultiGame(long startTime,
long endTime,
boolean isWin) |
set the time og=f playing and the game is win or not in network play
|
void |
updateSettingAfterASingleGame(long startTime,
long endTime,
boolean isWin) |
set the time og=f playing and the game is win or not in single play
|
public void updateSettingAfterASingleGame(long startTime, long endTime, boolean isWin)
startTime
- is the time we started the gameendTime
- is the time we finished the gameisWin
- shows e win the game or notpublic void updateSettingAfterAMultiGame(long startTime, long endTime, boolean isWin)
startTime
- is the time we started the gameendTime
- is the time we finished the gameisWin
- shows e win the game or notpublic int getNumOfWinsMulti()
public int getNumOfLoosesMulti()
public long getPlayedTime()
public java.lang.String getUserName()
public int getNumOfWinsSingle()
public int getNumOfLoosesSingle()
public java.lang.String getTankShapePath()
public void setTankShapePath(java.lang.String tankShapePath)
public int getTankArmor()