You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
281 B

  1. use space_crush_common::components::ShipCount;
  2. use specs::{hibitset::BitSet, Component, HashMapStorage};
  3. #[derive(Default, Debug)]
  4. pub struct FleetInfo {
  5. pub owned: BitSet,
  6. pub count: ShipCount,
  7. }
  8. impl Component for FleetInfo {
  9. type Storage = HashMapStorage<Self>;
  10. }