Remove ICloseable
This commit is contained in:
@@ -6,12 +6,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Base/ICloseable.hpp"
|
||||
#include "InputKey.hpp"
|
||||
|
||||
namespace OpenVulkano::Input
|
||||
{
|
||||
class InputDevice : public ICloseable
|
||||
class InputDevice
|
||||
{
|
||||
InputDeviceType deviceType = InputDeviceType::UNKNOWN;
|
||||
int index = -1;
|
||||
@@ -38,11 +37,11 @@ namespace OpenVulkano::Input
|
||||
[[nodiscard]] virtual bool ReadButtonDown(int16_t key) const = 0;
|
||||
|
||||
public:
|
||||
~InputDevice() override = default;
|
||||
virtual ~InputDevice() = default;
|
||||
|
||||
virtual void Tick() {}
|
||||
|
||||
void Close() override
|
||||
virtual void Close()
|
||||
{
|
||||
this->deviceType = InputDeviceType::UNKNOWN;
|
||||
this->index = -1;
|
||||
|
||||
Reference in New Issue
Block a user