mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-28 08:54:53 +00:00
16 lines
288 B
C++
16 lines
288 B
C++
#pragma once
|
|
|
|
#include <string_view>
|
|
|
|
#include "simdjson/simdjson.h"
|
|
|
|
#include "byte_t.h"
|
|
|
|
class cycle_t final : public byte_t {
|
|
public:
|
|
cycle_t(const simdjson::dom::array input) noexcept
|
|
: byte_t(input) {}
|
|
|
|
[[nodiscard]] auto action() const noexcept { return at(2).get_string(); }
|
|
};
|