mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-03-08 19:30:38 +00:00
24 lines
376 B
C++
24 lines
376 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <array>
|
|
|
|
namespace EightBit {
|
|
|
|
class Bus;
|
|
|
|
namespace GameBoy {
|
|
class CharacterDefinition {
|
|
public:
|
|
CharacterDefinition();
|
|
CharacterDefinition(EightBit::Bus* bus, uint16_t address, int height);
|
|
|
|
std::array<int, 8> get(int row) const;
|
|
|
|
private:
|
|
EightBit::Bus* m_bus;
|
|
uint16_t m_address;
|
|
int m_height;
|
|
};
|
|
}
|
|
} |