11 lines
138 B
C++
11 lines
138 B
C++
#pragma once
|
|
|
|
namespace components {
|
|
struct Combat {
|
|
int hp;
|
|
int damage;
|
|
bool dead;
|
|
|
|
int attack(Combat &target);
|
|
};
|
|
}
|