2019-07-14 16:46:57 +00:00
|
|
|
|
// <copyright file="AbstractColourPalette.cs" company="Adrian Conlon">
|
|
|
|
|
// Copyright (c) Adrian Conlon. All rights reserved.
|
|
|
|
|
// </copyright>
|
2024-10-12 12:15:14 +00:00
|
|
|
|
namespace LR35902
|
2019-07-14 16:46:57 +00:00
|
|
|
|
{
|
2019-07-28 22:43:22 +00:00
|
|
|
|
public class AbstractColourPalette<T>
|
2019-07-14 16:46:57 +00:00
|
|
|
|
{
|
2019-07-28 10:50:25 +00:00
|
|
|
|
protected AbstractColourPalette()
|
|
|
|
|
{
|
2019-07-14 16:46:57 +00:00
|
|
|
|
}
|
2019-07-28 10:50:25 +00:00
|
|
|
|
|
2019-07-28 22:43:22 +00:00
|
|
|
|
protected T[] Colours { get; } = new T[4];
|
|
|
|
|
|
|
|
|
|
public T Colour(int index) => this.Colours[index];
|
2019-07-14 16:46:57 +00:00
|
|
|
|
}
|
|
|
|
|
}
|