Skip to content

Commit

Permalink
add PoissonScrollerGenerator to type registry
Browse files Browse the repository at this point in the history
  • Loading branch information
SET001 committed Nov 2, 2023
1 parent a3d1166 commit 7ea69bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugin.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
pub struct ScrollerPlugin;

use crate::{
generator::generator, generators::poisson::poisson_generator, scroller::*, ScrollerGenerator,
generator::generator, generators::poisson::poisson_generator, poisson::PoissonScrollerGenerator,
scroller::*, ScrollerGenerator,
};
use bevy::prelude::*;

Expand All @@ -15,6 +16,7 @@ impl Plugin for ScrollerPlugin {
.register_type::<ScrollerGenerator>()
.register_type::<ScrollerSize>()
.register_type::<ScrollerDirection>()
.register_type::<PoissonScrollerGenerator>()
.register_type::<Vec<String>>()
.register_type::<Vec<Entity>>()
.add_systems(PreUpdate, init)
Expand Down

0 comments on commit 7ea69bf

Please sign in to comment.