pub struct Screen {
pub chars: Vec<String>,
pub x: Vec<i64>,
pub y: Vec<i64>,
pub delay: u64,
pub sprite: Vec<sprite>,
pub orgin: map,
}
Fields§
§chars: Vec<String>
§x: Vec<i64>
§y: Vec<i64>
§delay: u64
§sprite: Vec<sprite>
§orgin: map
Implementations§
Source§impl Screen
impl Screen
pub fn run(&self, cort: &mut Cort) -> map
pub fn load_map(&mut self, map: map)
pub fn set_orgin(&mut self, map: map)
pub fn return_to_orgin(&mut self)
pub fn cgmap(&self) -> map
pub fn gmap(&self) -> map
pub fn push_char(&mut self, x: i64, y: i64, char: &str)
pub fn find_X(&self, ch: String) -> i64
pub fn find_all_of_X(&self, ch: String) -> Vec<i64>
Auto Trait Implementations§
impl Freeze for Screen
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnwindSafe for Screen
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more