Changeset 60017fc in network-game for common/Player.h


Ignore:
Timestamp:
Feb 18, 2013, 6:58:40 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
093c141
Parents:
62ee2ce
Message:

Added code for player movement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.h

    r62ee2ce r60017fc  
    1212
    1313#include <string>
     14#include <sys/time.h>
    1415
    1516#include "Common.h"
     
    3233   void setAddr(sockaddr_in addr);
    3334
     35   void move();
     36
    3437   int id;
    3538   string name;
    3639   string password;
    3740   sockaddr_in addr;
    38    POSITION pos;
     41   FLOAT_POSITION pos;
     42   POSITION target;
     43   timespec timeLastUpdated;
    3944};
    4045
Note: See TracChangeset for help on using the changeset viewer.