public interface GameState extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addEvent(GameEvent event) |
void |
addToDiscard(Card card) |
void |
deal(int playerID) |
Card |
drawFromDeck() |
Card |
getCardAt(int player,
int slot) |
GameState |
getCopy() |
Deck |
getDeck() |
Collection<Card> |
getDiscards() |
Hand |
getHand(int player) |
int |
getHandSize() |
LinkedList<GameEvent> |
getHistory() |
int |
getInfomation() |
int |
getLives() |
int |
getPlayerCount() |
int |
getScore() |
int |
getStartingInfomation() |
int |
getStartingLives() |
int |
getTableValue(CardColour colour) |
void |
init() |
void |
init(Long seed) |
boolean |
isGameOver() |
void |
setCardAt(int player,
int slot,
Card newCard) |
void |
setInformation(int newValue) |
void |
setKnownValue(int player,
int slot,
Integer value,
CardColour colour)
Deprecated.
|
void |
setLives(int newValue) |
void |
setTableValue(CardColour c,
int nextValue) |
void |
tick() |
void init()
void init(Long seed)
void addToDiscard(Card card)
Card drawFromDeck()
Card getCardAt(int player, int slot)
Deck getDeck()
GameState getCopy()
void deal(int playerID)
Collection<Card> getDiscards()
Hand getHand(int player)
int getHandSize()
int getInfomation()
int getLives()
void setLives(int newValue)
int getPlayerCount()
int getScore()
int getStartingInfomation()
int getStartingLives()
int getTableValue(CardColour colour)
boolean isGameOver()
void setCardAt(int player, int slot, Card newCard)
void setInformation(int newValue)
@Deprecated void setKnownValue(int player, int slot, Integer value, CardColour colour)
void setTableValue(CardColour c, int nextValue)
void tick()
void addEvent(GameEvent event)
LinkedList<GameEvent> getHistory()
Copyright © 2017 FOSS Galaxy. All rights reserved.