EightBit/LR35902/inc/CharacterDefinition.h
Adrian Conlon 9796f9d600 First stab at associating the "Display" class more closely with the Bus.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2017-10-04 15:37:11 +01:00

24 lines
356 B
C++

#pragma once
#include <cstdint>
#include <array>
namespace EightBit {
class Ram;
namespace GameBoy {
class CharacterDefinition {
public:
CharacterDefinition();
CharacterDefinition(Ram* ram, uint16_t address, int height);
std::array<int, 8> get(int row) const;
private:
Ram* m_ram;
uint16_t m_address;
int m_height;
};
}
}