better font support
This commit is contained in:
parent
71576f36c3
commit
a7b4f621fb
36 changed files with 129 additions and 78 deletions
|
|
@ -2,8 +2,9 @@ use notan::prelude::*;
|
|||
use notan::draw::{ Draw, Font };
|
||||
use specs::prelude::*;
|
||||
use super::TILESIZE;
|
||||
use crate::Fonts;
|
||||
|
||||
pub fn draw_inventory(ecs: &World, draw: &mut Draw, font: &Font) {
|
||||
pub fn draw_inventory(ecs: &World, draw: &mut Draw, font: &Fonts) {
|
||||
let inv = super::get_player_inventory(ecs);
|
||||
let offsets = crate::camera::get_offset();
|
||||
super::print_options(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue