#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); }; }