1
2
3
4
5
6
7
8
9
use serde::{Deserialize, Serialize};
use specs::{Component, DerefFlaggedStorage, NullStorage};

#[derive(Copy, Clone, Default, Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct Hardcore;

impl Component for Hardcore {
    type Storage = DerefFlaggedStorage<Self, NullStorage<Self>>;
}