Changed colors
This commit is contained in:
28
src/main.rs
28
src/main.rs
@@ -116,32 +116,32 @@ impl Map{
|
||||
|
||||
match self.grid[index as usize]{
|
||||
0 => {
|
||||
//Ground
|
||||
tile_bg = Color::RGB(0x6A,0x9A,0x1D);
|
||||
//Ground
|
||||
tile_bg = Color::RGB(0xA7,0xC9,0x57);
|
||||
}
|
||||
1 =>{
|
||||
//Wall
|
||||
tile_bg = Color::RGB(0x17, 0x2A, 0x33);
|
||||
//Wall 43515a
|
||||
tile_bg = Color::RGB(0x43, 0x51, 0x5A);
|
||||
}
|
||||
2 =>{
|
||||
//Water
|
||||
tile_bg = Color::RGB(0x59, 0xA5, 0xD8);
|
||||
//Water 2887c8
|
||||
tile_bg = Color::RGB(0x28, 0x87, 0xC8);
|
||||
}
|
||||
3 =>{
|
||||
//Sand
|
||||
tile_bg = Color::RGB(0xCA, 0x89, 0x5F);
|
||||
//Sand f2e8cf
|
||||
tile_bg = Color::RGB(0xF2, 0xE8, 0xCF);
|
||||
}
|
||||
4 =>{
|
||||
//Wet Sand
|
||||
tile_bg = Color::RGB(0xA1, 0x5E, 0x49);
|
||||
//Wet Sand DCC27F
|
||||
tile_bg = Color::RGB(0xDC, 0xC2, 0x7F);
|
||||
}
|
||||
5 =>{
|
||||
//Forest 3a5a40
|
||||
tile_bg = Color::RGB(0x3A, 0x5A, 0x40);
|
||||
//Forest 386641
|
||||
tile_bg = Color::RGB(0x38, 0x66, 0x41);
|
||||
}
|
||||
6 =>{
|
||||
//Hole
|
||||
tile_bg = Color::RGB(0xDA, 0x66, 0x7B);
|
||||
//Hole bc4749
|
||||
tile_bg = Color::RGB(0xBC, 0x47, 0x49);
|
||||
}
|
||||
_ => {
|
||||
//uuuuuuh... whatever I guess lets make it black
|
||||
|
||||
Reference in New Issue
Block a user