mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2024-11-16 05:05:09 +00:00
5185346b8d
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
20 lines
464 B
C#
20 lines
464 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];
|
|
}
|
|
}
|
|
}
|