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