game
Class Round
java.lang.Object
game.Round
public class Round
- extends java.lang.Object
Contains information of one round (sequence of actions and revealed board cards)
- Author:
- Witthold/Korol
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
timestamp
private long timestamp
actions
private java.util.ArrayList<Action> actions
boardCards
private Card[] boardCards
Round
public Round(Card[] boardCards)
add
public void add(Action action)
getBoardCards
public Card[] getBoardCards()
getHistory
public java.util.ArrayList<Action> getHistory()
getHistory
public java.util.ArrayList<Action> getHistory(int n)
boardCardsLength
public int boardCardsLength()
boardCardsToString
public java.lang.String boardCardsToString()
gameStorageToString
public java.lang.String gameStorageToString()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getFolds
public int getFolds()
getChecks
public int getChecks()
getCalls
public int getCalls()
getRaises
public int getRaises()
getTimestamp
public long getTimestamp()