My Project v1
Project
载入中...
搜索中...
未找到
Game.WorldPalette

Public 成员函数

 WorldPalette ()
 
 WorldPalette (ValuesDictionary valuesDictionary)
 
ValuesDictionary Save ()
 
void CopyTo (WorldPalette palette)
 

静态 Public 成员函数

static bool VerifyColorName (string name)
 

Public 属性

Color[] Colors
 
string[] Names
 

静态 Public 属性

const int MaxColors = 16
 
const int MaxNameLength = 16
 
static readonly Color[] DefaultColors
 

构造及析构函数说明

◆ WorldPalette() [1/2]

Game.WorldPalette.WorldPalette ( )

◆ WorldPalette() [2/2]

Game.WorldPalette.WorldPalette ( ValuesDictionary valuesDictionary)
函数调用图:

成员函数说明

◆ CopyTo()

void Game.WorldPalette.CopyTo ( WorldPalette palette)
这是这个函数的调用关系图:

◆ Save()

ValuesDictionary Game.WorldPalette.Save ( )
函数调用图:
这是这个函数的调用关系图:

◆ VerifyColorName()

static bool Game.WorldPalette.VerifyColorName ( string name)
static
这是这个函数的调用关系图:

类成员变量说明

◆ Colors

Color [] Game.WorldPalette.Colors

◆ DefaultColors

readonly Color [] Game.WorldPalette.DefaultColors
static
初始值:
= new Color[16]
{
new(255, 255, 255),
new(181, 255, 255),
new(255, 181, 255),
new(160, 181, 255),
new(255, 240, 160),
new(181, 255, 181),
new(255, 181, 160),
new(181, 181, 181),
new(112, 112, 112),
new(32, 112, 112),
new(112, 32, 112),
new(26, 52, 128),
new(87, 54, 31),
new(24, 116, 24),
new(136, 32, 32),
new(24, 24, 24)
}
Engine.Color Color
定义 GlobalUsings.cs:1

◆ MaxColors

const int Game.WorldPalette.MaxColors = 16
static

◆ MaxNameLength

const int Game.WorldPalette.MaxNameLength = 16
static

◆ Names

string [] Game.WorldPalette.Names

该类的文档由以下文件生成: