public class Gigantamax
extends java.lang.Object
Stats
Constructor and Description |
---|
Gigantamax()
Empty constructor for a form which cannot gain the Gigantamax Factor nor Gigantamax.
|
Gigantamax(boolean canHaveFactor)
Constructor for a form which could gain the Gigantamax Factor, but not Gigantamax.
|
Gigantamax(java.lang.String form,
java.lang.String move)
Constructor for a form can gain the Gigantamax Factor and Gigantamax, taking the form ID and the G-Max move.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canGigantamax()
Whether the parent form of this object can Gigantamax.
|
boolean |
canGigantamax(Pokemon pokemon)
Whether the provided
Pokemon can Gigantamax based on this object. |
boolean |
canHaveFactor()
Whether the parent form of this object can gain the Gigantamax Factor, irrespective of whether it can
Gigantamax itself.
|
java.lang.String |
getForm()
The form ID of this form's Gigantamax form.
|
ImmutableAttack |
getMove()
The G-Max move of this form's Gigantamax form.
|
ImmutableAttack |
getMoveIfTypeMatches(Element type)
The G-Max move of this form's Gigantamax form if the provided typing matches, otherwise null.
|
Element |
getType()
The typing of the G-Max move of this form's Gigantamax form.
|
public Gigantamax()
public Gigantamax(boolean canHaveFactor)
public Gigantamax(java.lang.String form, java.lang.String move)
public boolean canHaveFactor()
public boolean canGigantamax()
public boolean canGigantamax(Pokemon pokemon)
Pokemon
can Gigantamax based on this object.pokemon
- the Pokemon to check.Pokemon
can Gigantamax or not.public java.lang.String getForm()
public ImmutableAttack getMove()
public Element getType()
public ImmutableAttack getMoveIfTypeMatches(Element type)
type
- the typing to compare to.