public class GoalScorerImpl extends PlayerImpl implements GoalScorer
names
Modifier and Type | Method and Description |
---|---|
String |
getMethod()
Returns the method value
The attribute can assume values such as 'penalty' and 'own goal'.
|
String |
toString()
|
getId, getName, getNames
public String toString()
toString
in class PlayerImpl
String
describing the current Player
instancepublic String getMethod()
GoalScorer
getMethod
in interface GoalScorer
Copyright © 2016–2025. All rights reserved.