Changeset 11d21ee in network-game for common/Player.h


Ignore:
Timestamp:
Jun 9, 2013, 9:30:32 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
ff2133a
Parents:
8c74150
Message:

When a player tries to attack someone, they will now move toward the target until they are in range and then start the actual attack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.h

    r8c74150 r11d21ee  
    5959   unsigned long long timeLastUpdated;
    6060   unsigned long long timeAttackStarted;
     61   bool isChasing;
    6162   bool isAttacking;
    6263   int targetPlayer;
     
    6768   int attackType;
    6869   int damage;
     70   int range;
    6971   unsigned long long attackCooldown;
    7072   int team; // 0 is blue, 1 is red
Note: See TracChangeset for help on using the changeset viewer.