deathframe 0.0.1

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

/// `InnerSize` is a newtype with `Size`.
/// It is only used by `Camera` (for now).
#[derive(Serialize, Deserialize)]
pub struct InnerSize(pub Size);

impl Component for InnerSize {
    type Storage = HashMapStorage<Self>;
}