~starkingdoms/starkingdoms

ref: 6c1144c90bfffed676ce395061837d61a42245f4 starkingdoms/crates/unified/src/client/components/mod.rs -rw-r--r-- 977 bytes
6c1144c9 — core chore(netcode-rewrite): general codebase refactor 28 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
use crate::prelude::{Component, Deserialize, GizmoConfigGroup, Handle, Image, Reflect, Resource, Serialize};

#[derive(Component)]
pub struct MainCamera;

#[derive(Component)]
pub struct StarguideCamera;

#[derive(Component)]
pub struct OrbitCamera;

#[derive(Default, Reflect, GizmoConfigGroup)]
pub struct StarguideGizmos;

#[derive(Component)]
pub struct StarfieldFront;

#[derive(Component)]
pub struct StarfieldMid;

#[derive(Component)]
pub struct StarfieldBack;

#[derive(Component)]
pub struct FuelText;

#[derive(Component)]
pub struct PowerText;

#[derive(Component)]
pub struct PlanetSensor(pub String);

#[derive(Component)]
pub struct Me;

#[derive(Component)]
pub struct StarguideMe;

#[derive(Resource)]
pub struct StarguideOrbitImage(pub Handle<Image>);

#[derive(Component)]
pub struct StarguideOrbit;

#[derive(Component, Serialize, Deserialize, Debug)]
pub struct CraftingUi;

#[derive(Component, Serialize, Deserialize, Debug)]
pub struct TemperatureSprite;