use core::controller::ControllerManager;
use core::render::Renderer;
use geometry::{Point, Dimension};
-use point; // defined in common, but loaded from main...
+use point;
use rand::Rng;
use sdl2::event::{Event, WindowEvent};
use sdl2::keyboard::Keycode;
use core::app::*;
mod boll;
-mod common;
mod core;
mod geometry;
mod sprites;
mod teststate;
+mod util;
const SCREEN_WIDTH: u16 = 1280;
const SCREEN_HEIGHT: u16 = (SCREEN_WIDTH as f64 * (1440.0 / 2560.0)) as u16;
mod time;
-pub use common::time::ScopeTimer;
+pub use util::time::ScopeTimer;
#[macro_export]
macro_rules! hashmap {
#[macro_export]
macro_rules! time_scope {
() => {
- use common::ScopeTimer;
+ use util::ScopeTimer;
let _magical_scope_timer_ = ScopeTimer::new("scope");
};
( $name:expr ) => {
- use common::ScopeTimer;
+ use util::ScopeTimer;
let _magical_scope_timer_ = ScopeTimer::new($name);
};
}