The next little game in the series where I make a fancy rogue game.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once
|
|
#include "dinkyecs.hpp"
|
|
#include <nlohmann/json.hpp>
|
|
#include <vector>
|
|
|
|
namespace components {
|
|
using namespace nlohmann;
|
|
|
|
struct Device {
|
|
json config;
|
|
std::vector<int> events;
|
|
|
|
void configure_events(json &event_names);
|
|
};
|
|
}
|
|
|