implements PLN-0018
This commit is contained in:
@@ -50,6 +50,7 @@ pub trait GfxBridge {
|
||||
fn present(&mut self);
|
||||
fn render_all(&mut self);
|
||||
fn render_scene_from_cache(&mut self, cache: &SceneViewportCache, update: &ResolverUpdate);
|
||||
fn load_frame_sprites(&mut self, sprites: &[Sprite]);
|
||||
fn draw_text(&mut self, x: i32, y: i32, text: &str, color: Color);
|
||||
fn draw_char(&mut self, x: i32, y: i32, c: char, color: Color);
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ pub struct Sprite {
|
||||
pub glyph: Glyph,
|
||||
pub x: i32,
|
||||
pub y: i32,
|
||||
pub layer: u8,
|
||||
pub bank_id: u8,
|
||||
pub active: bool,
|
||||
pub flip_x: bool,
|
||||
|
||||
Reference in New Issue
Block a user