First coverage reports. Tests don't get near enough coverage but running the program does.
This commit is contained in:
parent
988edf13d7
commit
97255eb813
7 changed files with 127 additions and 5 deletions
|
@ -4,6 +4,8 @@ namespace components {
|
|||
struct Combat {
|
||||
int hp;
|
||||
int damage;
|
||||
|
||||
/* NOTE: This is used to _mark_ entities as dead, to detect ones that have just died. Don't make attack automatically set it.*/
|
||||
bool dead;
|
||||
|
||||
int attack(Combat &target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue