blue tint (#22)
Some checks failed
Rust / clippy (push) Waiting to run
Rust / build (push) Waiting to run
Rust / rustfmt (push) Has been cancelled

Reviewed-on: #22
Co-authored-by: Glaeder <niklas@vousten.dev>
Co-committed-by: Glaeder <niklas@vousten.dev>
This commit is contained in:
Glaeder 2024-07-07 16:49:04 +00:00 committed by Glaeder
parent 24db0b0e0f
commit 23ba11596e

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
); );