EightBitNet/LR35902/AbstractColourPalette.cs
Adrian Conlon 3eb3975e37 Add an initial stab at LR35902 (aka GameBoy) support. Untested and no disassembler though...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-14 17:46:57 +01:00

19 lines
452 B
C#

// <copyright file="AbstractColourPalette.cs" company="Adrian Conlon">
// Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
namespace EightBit
{
namespace GameBoy
{
public class AbstractColourPalette
{
private readonly uint[] colours = new uint[4];
protected AbstractColourPalette()
{ }
public uint Colour(int index) => this.colours[index];
}
}
}