Working on collisions

This commit is contained in:
2018-10-06 11:32:44 +02:00
parent a4b5a735ae
commit 89295b9283
8 changed files with 21 additions and 9 deletions
+4
View File
@@ -229,4 +229,8 @@ impl Drawable for Character {
fn position(&self) -> Vector2<f32> {
self.position
}
fn origin(&self) -> Vector2<f32> {
Vector2::new(16.0, 16.0)
}
}