move constants to main and add resize fn
This commit is contained in:
parent
11f9fecba1
commit
a1346780ab
4 changed files with 44 additions and 28 deletions
|
@ -2,7 +2,7 @@ use std::rc::Rc;
|
|||
|
||||
use self::obj_traits::MovingObject;
|
||||
|
||||
use super::{render::RenderCtx, BG, FG};
|
||||
use super::render::RenderCtx;
|
||||
|
||||
pub mod geometry;
|
||||
pub mod obj_traits;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
use crate::engine::{render::RenderCtx, BG, FG};
|
||||
use crate::{
|
||||
engine::{render::RenderCtx, BG},
|
||||
FG,
|
||||
};
|
||||
|
||||
use super::geometry::{Position, Size};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue