blob: 5d5be6ae5b048b3fc2643e9cc706c8d67e471a00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include "CombatTracker.h"
class DamageSource;
class CombatEntry
{
private:
DamageSource *source;
int time;
float damage;
float health;
CombatTracker::eLOCATION location; // 4J: Location is now an enum, not a string
float fallDistance;
public:
CombatEntry(DamageSource *source, int time, float health, float damage, CombatTracker::eLOCATION nextLocation, float fallDistance);
~CombatEntry();
DamageSource *getSource();
int getTime();
float getDamage();
float getHealthBeforeDamage();
float getHealthAfterDamage();
bool isCombatRelated();
CombatTracker::eLOCATION getLocation();
wstring getAttackerName();
float getFallDistance();
};
|