mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-01-08 16:31:38 +00:00
3eb3975e37
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
19 lines
452 B
C#
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];
|
|
}
|
|
}
|
|
}
|