Auto attacking now based on click position. Damage numbers will stop when they reach a certain height. Monsters not counted in range if dead.
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
struct DamageNumber{
|
||||
vf2d pos;
|
||||
int damage;
|
||||
float moveUpTime;
|
||||
float lifeTime;
|
||||
float lifeTime=0;
|
||||
const static float MOVE_UP_TIME;
|
||||
DamageNumber();
|
||||
DamageNumber(vf2d pos,int damage);
|
||||
};
|
||||
Reference in New Issue
Block a user