public class EventPlayerImpl extends PlayerImpl implements EventPlayer
names
Modifier and Type | Method and Description |
---|---|
String |
getBench()
Returns the bench value
The bench value - in case of yellow or red card event, it is relevant to know if the player who is getting the card is sitting on the bench at that exact moment.
|
String |
toString()
|
getId, getName, getNames
public String toString()
toString
in class PlayerImpl
String
describing the current Player
instancepublic String getBench()
EventPlayer
getBench
in interface EventPlayer
Copyright © 2016–2025. All rights reserved.