Package moe.maika.ygofm.gamedata
Class Duelist
java.lang.Object
moe.maika.ygofm.gamedata.Duelist
A representation of a Forbidden Memories duelist.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The names of all the duelists in Forbidden Memories. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of cards in this duelist's hand.int
getId()
Returns the ID of this duelist.getName()
Returns the name of this duelist.Returns the drop pool of the given type for this duelist.boolean
Returns true if this duelist will prioritize playing field spells when the current field is not their preferred field.boolean
Returns true if this duelist is a high mage or low mage.boolean
Returns true if this duelist is a high mage.boolean
Returns true if this duelist is a low mage.toString()
-
Method Details
-
getHandSize
public int getHandSize()Returns the number of cards in this duelist's hand.- Returns:
- the number of cards in this duelist's hand
-
getId
public int getId()Returns the ID of this duelist.- Returns:
- the ID of this duelist
-
isEitherMage
public boolean isEitherMage()Returns true if this duelist is a high mage or low mage.- Returns:
- true if this duelist is a mage
-
isLowMage
public boolean isLowMage()Returns true if this duelist is a low mage.- Returns:
- true if this duelist is a low mage
-
isHighMage
public boolean isHighMage()Returns true if this duelist is a high mage.- Returns:
- true if this duelist is a high mage
-
hasMageAggressiveFieldAi
public boolean hasMageAggressiveFieldAi()Returns true if this duelist will prioritize playing field spells when the current field is not their preferred field.- Returns:
- true if this duelist aggressively plays field spells
-
getName
Returns the name of this duelist.- Returns:
- the name of this duelist
-
getPool
Returns the drop pool of the given type for this duelist.- Parameters:
type
- the type of pool- Returns:
- the pool of the given type
-
toString
-