bevy_codex/splash/
components.rs

1use bevy::prelude::*;
2
3// Tag component used to tag entities added on the splash screen
4#[derive(Component, Debug, Default, Clone, PartialEq)]
5pub struct SplashScreen;
6
7// Tag component used to tag entities added on the splash screen
8#[derive(Component, Debug, Default, Clone, PartialEq)]
9pub struct SplashUi;
10// Newtype to use a `Timer` for this screen as a resource
11#[derive(Resource, Deref, DerefMut)]
12pub struct SplashTimer(pub Timer);
13
14