Changeset c9f6a1c in network-game for common/Game.cpp


Ignore:
Timestamp:
Dec 23, 2013, 8:05:55 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
3e44a59
Parents:
8ce793b
Message:

New GameSummary class for storing game results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Game.cpp

    r8ce793b rc9f6a1c  
    7373}
    7474
    75 int Game::getRedScore() {
     75unsigned int Game::getRedScore() {
    7676   return this->redScore;
    7777}
    7878
    79 int Game::getBlueScore() {
     79unsigned int Game::getBlueScore() {
    8080   return this->blueScore;
    8181}
     
    8989}
    9090
    91 void Game::setRedScore(int score) {
     91void Game::setRedScore(unsigned int score) {
    9292   this->redScore = score;
    9393}
    9494
    95 void Game::setBlueScore(int score) {
     95void Game::setBlueScore(unsigned int score) {
    9696   this->blueScore = score;
    9797}
Note: See TracChangeset for help on using the changeset viewer.