Moved physics to physics.

This commit is contained in:
2016-06-15 19:51:24 +02:00
parent 4c2b5a994c
commit 65909c4275
4 changed files with 21 additions and 7 deletions

View File

@@ -67,7 +67,7 @@ fn main() {
let timer = Timer::new();
let mut player = GameObject::new(390.0, 390.0, Box::new(PlayerPhysicsComponent), Box::new(PlayerGraphicsComponent::new(&player_sprites)));
let mut player = GameObject::new(390.0, 390.0, Box::new(PlayerPhysicsComponent::new()), Box::new(PlayerGraphicsComponent::new(&player_sprites)));
let mut keyboard = KeyboardHandler::new();