|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjskat.player.AIPlayerMJL.GameInfo
public class GameInfo
| Constructor Summary | |
|---|---|
GameInfo()
default constructor |
|
GameInfo(int type,
int suit,
int player)
Constructor for setting up the game info with initial values |
|
| Method Summary | |
|---|---|
int |
getGameType()
get the current game type |
int |
getSinglePlayer()
get the current single player |
int |
getTrump()
get the current trump suit |
void |
setGameType(int gameType)
set the current game type |
void |
setSinglePlayer(int id)
set the current single player |
void |
setTrump(int suit)
set the trump suit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GameInfo()
public GameInfo(int type,
int suit,
int player)
type - game typesuit - trump colorplayer - id of the single player| Method Detail |
|---|
public int getGameType()
public int getSinglePlayer()
public int getTrump()
public void setGameType(int gameType)
gameType - game typepublic void setSinglePlayer(int id)
id - ID of the single playerpublic void setTrump(int suit)
suit - trump suit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||