Last change
on this file was 1, checked in by Wouter Pasman, 7 years ago |
Initial import : Genius 9.0.0
|
File size:
550 bytes
|
Line | |
---|
1 | package genius.core.events;
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * Indicates that a tournament started.
|
---|
5 | *
|
---|
6 | * @author W.Pasman 15jul15
|
---|
7 | *
|
---|
8 | */
|
---|
9 | public class TournamentStartedEvent implements TournamentEvent {
|
---|
10 |
|
---|
11 | private final int totalNumberOfSessions;
|
---|
12 | private final int tournamentNumber;
|
---|
13 |
|
---|
14 | public TournamentStartedEvent(int tournament, int totalSessions) {
|
---|
15 | tournamentNumber = tournament;
|
---|
16 | totalNumberOfSessions = totalSessions;
|
---|
17 | }
|
---|
18 |
|
---|
19 | public int getTotalNumberOfSessions() {
|
---|
20 | return totalNumberOfSessions;
|
---|
21 | }
|
---|
22 |
|
---|
23 | public int getTournamentNumber() {
|
---|
24 | return tournamentNumber;
|
---|
25 | }
|
---|
26 |
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.