mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-01-09 07:34:13 +00:00
19 lines
452 B
C#
19 lines
452 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];
|
|||
|
}
|
|||
|
}
|
|||
|
}
|