From dcf41c0ab884c124ffda8f616ec617c1e584255e Mon Sep 17 00:00:00 2001 From: Raymond Hogenson Date: Sat, 18 Aug 2018 11:01:49 -0400 Subject: Add textures These were fun to make --- src/player.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/player.rs') 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) } } -- cgit v1.3.1