org.vizzini.game.cardgame
Class PokerCard
java.lang.Object
org.vizzini.game.AbstractToken
org.vizzini.game.cardgame.AbstractCard
org.vizzini.game.cardgame.PokerCard
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable, ICard, IToken
public class PokerCard
- extends AbstractCard
Provides a poker card for card games in the game framework.
- Since:
- v0.1
- Version:
- v0.2
- Author:
- Jeffrey M. Thompson
- See Also:
- Serialized Form
Method Summary |
int |
getIndex()
Return the index representing the card's name. |
static int |
getIndex(String name)
Return the index representing the card's name. |
Methods inherited from class org.vizzini.game.AbstractToken |
addPropertyChangeListener, clone, configure, copy, getAgent, getName, getPosition, getPropertyChangeManager, getTeam, getValue, isFiringPositionChanges, removePropertyChangeListener, setAgent, setFiringPositionChanges, setIndex, setName, setPosition, setTeam, setValue |
Methods inherited from interface org.vizzini.game.IToken |
addPropertyChangeListener, clone, configure, getAgent, getName, getPosition, getTeam, getValue, removePropertyChangeListener, setAgent, setName, setPosition, setTeam, setValue |
PokerCard
public PokerCard()
getIndex
public static int getIndex(String name)
- Return the index representing the card's name.
- Since:
- v0.1
getIndex
public int getIndex()
- Return the index representing the card's name.
- Specified by:
getIndex
in interface ICard
- Specified by:
getIndex
in interface IToken
- Overrides:
getIndex
in class AbstractToken
- Returns:
- Return index.
- Since:
- v0.1
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |