summaryrefslogtreecommitdiff
path: root/2026/games/rpc2dot0/src/color.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-08-17 20:14:16 -0400
committerLLLL Colonq <llll@colonq>2026-08-17 20:14:16 -0400
commitde99c5f7636a952025ea13de02bafd25bcb6bdec (patch)
treebe359424af4f6717103e3b667b6529ae5a4b4e6a /2026/games/rpc2dot0/src/color.rs
parent4d4d1f24721f27fbf37e1070be6414de130ace61 (diff)
Fix broken
Diffstat (limited to '2026/games/rpc2dot0/src/color.rs')
-rw-r--r--2026/games/rpc2dot0/src/color.rs25
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,
- }
- }
-}