27 lines
383 B
C++
27 lines
383 B
C++
#pragma once
|
|
#include <concepts>
|
|
#include "Object.h"
|
|
|
|
namespace bio {
|
|
// base class for concepts
|
|
class _Playable : public object{
|
|
public:
|
|
|
|
};
|
|
|
|
template<typename T>
|
|
concept playable = std::is_base_of<_Playable, T>::value;
|
|
|
|
|
|
class Guardian : public _Playable {
|
|
public:
|
|
Guardian();
|
|
~Guardian();
|
|
};
|
|
|
|
class Keymaker : public _Playable {
|
|
Keymaker();
|
|
~Keymaker();
|
|
};
|
|
|
|
} |