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


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.h

    r8ce793b rc9f6a1c  
    2424   map<unsigned int, Projectile> projectiles;
    2525   WorldMap* worldMap;
    26    int blueScore;
    27    int redScore;
     26   unsigned int blueScore;
     27   unsigned int redScore;
    2828   unsigned int unusedProjectileId;
    2929
     
    3636   string getName();
    3737   int getNumPlayers();
    38    int getBlueScore();
    39    int getRedScore();
     38   unsigned int getBlueScore();
     39   unsigned int getRedScore();
    4040   WorldMap* getMap();
    4141
    4242   void setId(unsigned int id);
    43    void setBlueScore(int score);
    44    void setRedScore(int score);
     43   void setBlueScore(unsigned int score);
     44   void setRedScore(unsigned int score);
    4545
    4646   map<unsigned int, Player*>& getPlayers();
Note: See TracChangeset for help on using the changeset viewer.