Class GrassType
java.lang.Object
Elements.Grass.GrassType
- All Implemented Interfaces:
ElementType
Represents the Grass elemental type.
Grass-type attacks currently do not receive any bonus damage when used against opposing elemental types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninttellerOfBonusAttackDamage(ElementType elementTypeOfOpponentPokemon) Determines the bonus damage applied when a Grass-type Pokémon attacks an opponent Pokémon of a specific elemental type.
-
Constructor Details
-
GrassType
public GrassType()
-
-
Method Details
-
tellerOfBonusAttackDamage
Determines the bonus damage applied when a Grass-type Pokémon attacks an opponent Pokémon of a specific elemental type.No bonus damage is applied regardless of the opponent’s elemental type.
- Specified by:
tellerOfBonusAttackDamagein interfaceElementType- Parameters:
elementTypeOfOpponentPokemon- the elemental type of the opponent Pokémon- Returns:
- the bonus attack damage applied, which is always
0
-