ruffle/core/src/character.rs

17 lines
381 B
Rust
Raw Normal View History

2019-04-25 17:52:22 +00:00
pub enum Character {
Graphic {
2019-04-26 03:27:44 +00:00
x_min: f32,
y_min: f32,
2019-05-03 02:11:47 +00:00
shape_handle: crate::backend::render::ShapeHandle,
2019-04-25 17:52:22 +00:00
},
MovieClip {
num_frames: u16,
2019-04-26 03:27:44 +00:00
tag_stream_start: u64,
2019-04-25 17:52:22 +00:00
},
2019-05-03 02:11:47 +00:00
Bitmap(crate::backend::render::BitmapHandle),
2019-05-02 05:34:02 +00:00
Button(Box<swf::Button>),
2019-05-04 18:45:11 +00:00
Font(Box<crate::font::Font>),
Text(Box<crate::text::Text>),
2019-04-25 17:52:22 +00:00
Sound,
}