pt.ua.gboard.games
Class Card

java.lang.Object
  extended by pt.ua.gboard.games.Card

public class Card
extends java.lang.Object


Field Summary
 Rank rank
           
 Suits suits
           
 
Constructor Summary
Card(Suits suits, Rank rank)
           
 
Method Summary
 boolean equal(Card other)
           
 boolean equalRank(Card other)
           
 boolean equalSuits(Card other)
           
static Gelem getBackBlueGelem(GBoard gboard)
           
static Gelem getBackRedGelem(GBoard gboard)
           
 Gelem getGelem(GBoard gboard)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

suits

public final Suits suits

rank

public final Rank rank
Constructor Detail

Card

public Card(Suits suits,
            Rank rank)
Method Detail

equalSuits

public boolean equalSuits(Card other)

equalRank

public boolean equalRank(Card other)

equal

public boolean equal(Card other)

getGelem

public Gelem getGelem(GBoard gboard)

getBackBlueGelem

public static Gelem getBackBlueGelem(GBoard gboard)

getBackRedGelem

public static Gelem getBackRedGelem(GBoard gboard)