diff options
| author | LLLL Colonq <llll@colonq> | 2026-08-26 23:47:59 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-08-26 23:47:59 -0400 |
| commit | 0d2d8cd897e94bd94e0b3ae7c6ce9aa580a44a0a (patch) | |
| tree | e9039d1c3aedca515d6cb499451d4b73aca4f5fd /2026/games/rpc2dot0/src/color.rs | |
| parent | 242943e5b023ce40eb3be826c418a478d4672f78 (diff) | |
Add a_tension_span
Diffstat (limited to '2026/games/rpc2dot0/src/color.rs')
| -rw-r--r-- | 2026/games/rpc2dot0/src/color.rs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/2026/games/rpc2dot0/src/color.rs b/2026/games/rpc2dot0/src/color.rs deleted file mode 100644 index ed81ec4..0000000 --- a/2026/games/rpc2dot0/src/color.rs +++ /dev/null @@ -1,25 +0,0 @@ -use crate::assets;
-
-#[derive(Debug, Copy, Clone, PartialEq, Eq)]
-
-pub enum EntityColor {
- Red = 0,
- Green = 1,
- Bleu = 2,
- Yellow = 3,
-}
-
-pub trait ColorExt {
- fn texture(&self) -> assets::Texture;
-}
-
-impl ColorExt for EntityColor {
- fn texture(&self) -> assets::Texture {
- match self {
- EntityColor::Red => assets::Texture::Mrred,
- EntityColor::Green => assets::Texture::Mrgreen,
- EntityColor::Bleu => assets::Texture::Mrbleu,
- EntityColor::Yellow => assets::Texture::Mryellow,
- }
- }
-}
|
