summaryrefslogtreecommitdiffstats
path: root/src/player.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.rs')
-rw-r--r--src/player.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/player.rs b/src/player.rs
index efd396e..9e4d418 100644
--- a/src/player.rs
+++ b/src/player.rs
@@ -104,12 +104,12 @@ impl state::Positioned for Player {
self.y
}
fn radius(&self) -> u32 {
- 5
+ 13
}
}
impl state::Drawable for Player {
- fn color(&self) -> sdl2::pixels::Color {
- sdl2::pixels::Color::RGB(0, 0, 0)
+ fn center(&self) -> (u32, u32) {
+ (30, 19)
}
}