mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-23 15:29:24 +00:00
18 lines
335 B
C
18 lines
335 B
C
|
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
namespace EightBit {
|
||
|
class AddressEventArgs {
|
||
|
private:
|
||
|
uint16_t m_address;
|
||
|
uint8_t m_cell;
|
||
|
|
||
|
public:
|
||
|
AddressEventArgs(uint16_t address, uint8_t cell)
|
||
|
: m_address(address), m_cell(cell) {}
|
||
|
|
||
|
uint16_t getAddress() const { return m_address; }
|
||
|
uint8_t getCell() const { return m_cell; }
|
||
|
};
|
||
|
}
|