cleanup
This commit is contained in:
parent
880993762e
commit
636e9d04e2
10 changed files with 10 additions and 35 deletions
|
@ -1,7 +1,7 @@
|
|||
use std::collections::HashMap;
|
||||
|
||||
use raylib::prelude::*;
|
||||
use super::tile::*;
|
||||
use raylib::prelude::*;
|
||||
|
||||
#[derive(Debug, Default, Clone, Copy, PartialEq)]
|
||||
pub struct Pos {
|
||||
|
@ -94,7 +94,7 @@ impl Board {
|
|||
textures: &HashMap<String, Texture2D>,
|
||||
offset: Vector2,
|
||||
zoom: i32,
|
||||
){
|
||||
) {
|
||||
let tile_size = 16 << zoom;
|
||||
for x in 0..self.width {
|
||||
for y in 0..self.height {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue