mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-03-11 05:41:49 +00:00
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];
|
|
}
|
|
}
|