Skip to content

Commit

Permalink
feat(perf): Use SparseSet for ActionState
Browse files Browse the repository at this point in the history
Fixes: #29
  • Loading branch information
zkat committed Jan 9, 2022
1 parent b97f927 commit 5fc0817
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use crate::thinker::{ActionEnt, Actor};
The current state for an Action.
*/
#[derive(Debug, Clone, Component, Eq, PartialEq)]
#[component(storage = "SparseSet")]
pub enum ActionState {
/**
Initial state. No action should be performed.
Expand Down

0 comments on commit 5fc0817

Please sign in to comment.