Comments
parent
b283fadce9
commit
ece82a8c1b
|
@ -36,6 +36,7 @@ trait Build {
|
|||
Self: Sized;
|
||||
}
|
||||
|
||||
/// Represents generic game content, not connected to any game objects.
|
||||
#[derive(Debug)]
|
||||
pub struct Content {
|
||||
pub systems: Vec<system::System>,
|
||||
|
|
|
@ -5,6 +5,7 @@ use crate::{
|
|||
render::{SpriteTexture, SubSprite},
|
||||
};
|
||||
|
||||
/// Represents a gun attached to a specific ship at a certain gunpoint.
|
||||
pub struct ShipGun {
|
||||
pub kind: content::Gun,
|
||||
pub cooldown: f32,
|
||||
|
@ -21,6 +22,7 @@ impl ShipGun {
|
|||
}
|
||||
}
|
||||
|
||||
/// Represents a specific outfit attached to a specific ship
|
||||
pub enum ShipOutfit {
|
||||
Gun(ShipGun),
|
||||
Engine(content::Engine),
|
||||
|
|
Loading…
Reference in New Issue