diff options
| author | Raymond Hogenson <rhogenson@posteo.net> | 2018-08-18 11:01:49 -0400 |
|---|---|---|
| committer | Raymond Hogenson <rhogenson@posteo.net> | 2018-08-18 11:01:49 -0400 |
| commit | dcf41c0ab884c124ffda8f616ec617c1e584255e (patch) | |
| tree | b7e44080dc9f607bd591ce2e52b30b04b668fb13 /src/player.rs | |
| parent | Tune enemy movement logic (diff) | |
| download | stallman-shooter-dcf41c0ab884c124ffda8f616ec617c1e584255e.tar.zst | |
Add textures
These were fun to make
Diffstat (limited to 'src/player.rs')
| -rw-r--r-- | src/player.rs | 6 |
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) } } |
