mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-01-08 16:31:38 +00:00
fc84e05839
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
17 lines
402 B
C#
17 lines
402 B
C#
// <copyright file="AbstractColourPalette.cs" company="Adrian Conlon">
|
|
// Copyright (c) Adrian Conlon. All rights reserved.
|
|
// </copyright>
|
|
namespace EightBit.GameBoy
|
|
{
|
|
public class AbstractColourPalette<T>
|
|
{
|
|
protected AbstractColourPalette()
|
|
{
|
|
}
|
|
|
|
protected T[] Colours { get; } = new T[4];
|
|
|
|
public T Colour(int index) => this.Colours[index];
|
|
}
|
|
}
|