osb/source/game/interfaces/StarActivatableItem.hpp

18 lines
302 B
C++
Raw Normal View History

2024-09-05 19:15:47 +10:00
#pragma once
2023-06-20 14:33:09 +10:00
#include "StarConfig.hpp"
namespace Star {
STAR_CLASS(ActivatableItem);
class ActivatableItem {
public:
virtual ~ActivatableItem() {}
virtual bool active() const = 0;
virtual void setActive(bool active) = 0;
virtual bool usable() const = 0;
virtual void activate() = 0;
};
2024-09-05 19:15:47 +10:00
}