blue tint #22

Merged
Glaeder merged 1 commit from help into main 2024-07-07 16:49:05 +00:00

View file

@ -1,8 +1,7 @@
use super::{furniture::Furniture, grid::Grid}; use super::{furniture::Furniture, grid::Grid};
use crate::game::{self, ZLayer}; use crate::game::{self, ZLayer};
use comfy::{ use comfy::{
draw_rect, draw_rect_outline, draw_sprite, error, random_i32, texture_id, vec2, draw_rect, draw_rect_outline, draw_sprite, error, random_i32, texture_id, vec2, EngineContext, HashSet, RandomRange as _, Vec2, BLUE, GREEN, PURPLE, RED, WHITE
EngineContext, HashSet, RandomRange as _, Vec2, GREEN, PURPLE, RED, WHITE
}; };
use indexmap::IndexSet; use indexmap::IndexSet;
@ -465,7 +464,7 @@ impl Room {
draw_sprite( draw_sprite(
texture, texture,
pos * SCALE, pos * SCALE,
WHITE, BLUE,
game::ZLayer::MagneticLayer as i32 + tile.z, game::ZLayer::MagneticLayer as i32 + tile.z,
tile.size * SCALE tile.size * SCALE
); );