This commit is contained in:
gallant 2022-05-22 18:14:18 -05:00
parent ad20a2771d
commit ef3d09a54a
2 changed files with 2 additions and 2 deletions

BIN
a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -92,7 +92,7 @@ use std::{
slice::IterMut, slice::IterMut,
}; };
use sdl2::{ pub use sdl2::{
image::ImageRWops, image::ImageRWops,
keyboard::Scancode, keyboard::Scancode,
mouse::MouseButton, mouse::MouseButton,
@ -189,7 +189,7 @@ impl Iterator for Events {
/// Representation of a sprite. /// Representation of a sprite.
pub struct Sprite { pub struct Sprite {
rect: Rect, pub rect: Rect,
surf: Surface<'static>, surf: Surface<'static>,
angle: f64, angle: f64,
} }