Libs/CellColorDictionary.cs

(完整代码) 870B

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace VS2048
{
    internal class CellColorDictionary : Dictionary<int, Color>
    {
        public CellColorDictionary()
        {
            this.Add(2, Color.FromArgb(237, 228, 218));
            this.Add(4, Color.FromArgb(250, 230, 191));
            this.Add(8, Color.FromArgb(243, 177, 115));
            this.Add(16, Color.FromArgb(247, 149, 93));
            this.Add(32, Color.FromArgb(248, 124, 90));
            this.Add(64, Color.FromArgb(249, 93, 50));
            this.Add(128, Color.FromArgb(238, 207, 107));
            this.Add(256, Color.FromArgb(238, 205, 88));
            this.Add(512, Color.FromArgb(237, 201, 66));
            this.Add(1024, Color.FromArgb(237, 198, 49));
            this.Add(2048, Color.FromArgb(237, 196, 31));
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。