mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-01-06 18:31:05 +00:00
17 lines
393 B
C#
17 lines
393 B
C#
// <copyright file="AbstractColourPalette.cs" company="Adrian Conlon">
|
|
// Copyright (c) Adrian Conlon. All rights reserved.
|
|
// </copyright>
|
|
namespace LR35902
|
|
{
|
|
public class AbstractColourPalette<T>
|
|
{
|
|
protected AbstractColourPalette()
|
|
{
|
|
}
|
|
|
|
protected T[] Colours { get; } = new T[4];
|
|
|
|
public T Colour(int index) => this.Colours[index];
|
|
}
|
|
}
|