public interface Score
Team.getScore()
method.Modifier and Type | Method | Description |
---|---|---|
int |
getCount(Event event) |
Returns the total number of times that the given event was scored.
|
int |
getPoints(Event event) |
Returns the total number of points that the given event has scored.
|
int |
getTotalPoints() |
Returns the total number of points scored.
|
int getCount(Event event)
Event.Type.ONE_TIME
events, this method will return 0 or 1.event
- the event to countint getPoints(Event event)
getCount(Event)
, multiplied by
the event's Event.getPointValue()
.event
- the event for which to count pointsint getTotalPoints()
getPoints(Event)
for all Event
s.