M
Mark Fisher
I have created a class that records the number of games won by two players
playing a match.
The class has the following properties:
MatchLength
PlayerAGamesWon
PlayerBGamesWon
I also need to record whether the match is over (one player has won more
than half the games, if the score is 4-1 in a best of 7 then the match is
over).
My question is should this be a property or method, or is there no real
preference.
Thanks
playing a match.
The class has the following properties:
MatchLength
PlayerAGamesWon
PlayerBGamesWon
I also need to record whether the match is over (one player has won more
than half the games, if the score is 4-1 in a best of 7 then the match is
over).
My question is should this be a property or method, or is there no real
preference.
Thanks