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, getNamespublic String toString()
toString in class PlayerImplString describing the current Player instancepublic String getMethod()
GoalScorergetMethod in interface GoalScorerCopyright © 2016–2025. All rights reserved.