animation framework stuff

This commit is contained in:
Llywelwyn 2023-08-21 23:12:49 +01:00
parent 366c5d6543
commit d277384cc5
4 changed files with 26 additions and 19 deletions

View file

@ -413,6 +413,7 @@ pub struct Charges {
#[derive(Component, Serialize, Deserialize, Clone)]
pub struct SpawnParticleLine {
pub glyph: rltk::FontCharType,
pub tail_glyph: rltk::FontCharType,
pub colour: RGB,
pub lifetime_ms: f32,
pub trail_colour: RGB,
@ -429,6 +430,8 @@ pub struct SpawnParticleSimple {
#[derive(Component, Serialize, Deserialize, Clone)]
pub struct SpawnParticleBurst {
pub glyph: rltk::FontCharType,
pub head_glyph: rltk::FontCharType,
pub tail_glyph: rltk::FontCharType,
pub colour: RGB,
pub lerp: RGB,
pub lifetime_ms: f32,