aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/src/interfaces/enemy.hpp
blob: 45e004f1072885f53c84fb6f5a224b890922790f (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

class IEnemy
{
public:
	virtual ~IEnemy() noexcept = default;

	virtual int get_health() const noexcept = 0;

	virtual void do_damage(int damage) noexcept = 0;
};