The next little game in the series where I make a fancy rogue game.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once
|
|
|
|
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);
|
|
};
|
|
}
|
|
|