deathframe 0.1.2

My game development framework for the amethyst game engine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::component_prelude::*;

/// If an entity with `Collision` also has this marker component `CheckCollision`, then it will
/// actively check for collision against all other entities which have `Collision`.
#[derive(Serialize, Deserialize)]
pub struct CheckCollision;

impl Component for CheckCollision {
    type Storage = NullStorage<Self>;
}

impl Default for CheckCollision {
    fn default() -> Self {
        Self
    }
}