blue tint
Some checks failed
Rust / rustfmt (pull_request) Failing after 24s
Rust / clippy (pull_request) Failing after 1m51s
Rust / build (pull_request) Successful in 4m57s

This commit is contained in:
Glaeder 2024-07-07 18:48:30 +02:00
parent 24db0b0e0f
commit 704dbb69f8

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