common_game/components/
asteroid.rs

1/// Represents an asteroid object, instanciable by the orchestrator.
2///
3#[derive(Debug)]
4pub struct Asteroid {
5    _private: (),
6}
7
8#[allow(dead_code)]
9impl Default for Asteroid {
10    fn default() -> Self {
11        Self::new()
12    }
13}
14
15impl Asteroid {
16    /// Creates a new, default instance of an [Asteroid].
17    ///
18    /// This method is the basic constructor and does not require any
19    /// specific initial parameters.
20    ///
21    /// # Returns
22    ///
23    /// Returns a new instance of [Asteroid].
24    pub(crate) fn new() -> Asteroid {
25        Asteroid { _private: () }
26    }
27}