aboutsummaryrefslogtreecommitdiff
path: root/backend/Enemy.cpp
blob: 9d3b26d8f67645a1eff3a87158770aec1ee11b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "Enemy.h"

Enemy::Enemy(const String & name, const String & description) : name(name), description(description) { }

void Enemy::set_name(const String & name) { this->name = name; }
const String & Enemy::get_name() const { return this->name; }

void Enemy::set_description(const String & description) { this->description = description; }
const String & Enemy::get_description() const { return this->description; }

unsigned Enemy::get_health() const { return this->health_points; }