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


Ignore:
Timestamp:
Jul 4, 2014, 8:09:47 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
e98426d
Parents:
a0ce8a3
Message:

Game.addPlayer takes a boolean to indicate wheter it runs on the server. If it's not, the team isn't randomly generated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Game.h

    ra0ce8a3 rea17281  
    4949
    5050   map<unsigned int, Player*>& getPlayers();
    51    bool addPlayer(Player* p);
     51   bool addPlayer(Player* p, bool serverSide);
    5252   bool removePlayer(unsigned int id);
    5353
Note: See TracChangeset for help on using the changeset viewer.