Changeset a1a3bd5 in network-game for common/Player.h


Ignore:
Timestamp:
Apr 23, 2013, 1:31:54 AM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
227baaa
Parents:
054b50b
Message:

Made client changes for smooth player movement, changed the player move method to check the map for obstacles and return a bool indicating success or failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.h

    r054b50b ra1a3bd5  
    1414
    1515#include "Common.h"
     16#include "WorldMap.h"
    1617
    1718using namespace std;
     
    3233   void setAddr(sockaddr_in addr);
    3334
    34    void move();
     35   bool move(WorldMap map);
    3536
    3637   int id;
Note: See TracChangeset for help on using the changeset viewer.