pr prep
This commit is contained in:
parent
ad20a2771d
commit
ef3d09a54a
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue