|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.game.cardgame.AbstractSuit
public abstract class AbstractSuit
Provides base functionality for a suit for card games in the game framework.
| Constructor Summary | |
|---|---|
AbstractSuit()
|
|
| Method Summary | |
|---|---|
int |
compareTo(Object object)
Compare this to the given object. |
void |
configure(Properties properties,
int index)
Configure this suit. |
boolean |
equals(Object object)
Return true if this equals the given object. |
String |
getName()
Return the name. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setName(String name)
Set the name. |
String |
toString()
Return a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSuit()
| Method Detail |
|---|
public int compareTo(Object object)
compareTo in interface ComparableClassCastException - if another is not an instance of
AbstractCard.
public void configure(Properties properties,
int index)
configure in interface ISuitproperties - Source of configuration information.index - Index of this suit's properties.public boolean equals(Object object)
equals in class Objectpublic String getName()
getName in interface ISuitpublic int hashCode()
hashCode in class Objectpublic void setName(String name)
setName in interface ISuitpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |