Drawing a simple tile
This commit is contained in:
parent
aac66bffb5
commit
b848a6fe67
2 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ use piston::*;
|
|||
mod app;
|
||||
mod board;
|
||||
mod settings;
|
||||
mod tile;
|
||||
|
||||
type GameWindowBackEnd = GameWindowSDL2;
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ pub static TILES_COLOR: [[f32, ..4], ..10] = [
|
|||
// 512 color
|
||||
[237.0 / 255.0, 200.0 / 255.0, 80.0 / 255.0, 1.0],
|
||||
];
|
||||
pub static TILE_UNKNOW_COLOR: [f32, ..4] = [0.8, 0.0, 0.0, 1.0];
|
||||
|
||||
pub static LABEL_COLOR: [f32, ..4] = [187.0 / 255.0, 173.0 / 255.0, 160.0 / 255.0, 1.0];
|
||||
pub static BUTTON_COLOR: [f32, ..4] = [142.0 / 255.0, 122.0 / 255.0, 102.0 / 255.0, 1.0];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue