From d39b31059fbab65cf214ffa9eb431e135a735234 Mon Sep 17 00:00:00 2001 From: js6pak Date: Tue, 2 Nov 2021 20:24:23 +0100 Subject: [PATCH] Delete PlayerColor --- Reactor/Extensions/PlayerControlExtensions.cs | 17 ----------------- Reactor/PlayerColor.cs | 18 ------------------ 2 files changed, 35 deletions(-) delete mode 100644 Reactor/Extensions/PlayerControlExtensions.cs delete mode 100644 Reactor/PlayerColor.cs diff --git a/Reactor/Extensions/PlayerControlExtensions.cs b/Reactor/Extensions/PlayerControlExtensions.cs deleted file mode 100644 index 9b4a5c7..0000000 --- a/Reactor/Extensions/PlayerControlExtensions.cs +++ /dev/null @@ -1,17 +0,0 @@ -using UnityEngine; - -namespace Reactor.Extensions -{ - public static class PlayerControlExtensions - { - public static Color32 ToPlayerColor(this PlayerColor color) - { - return Palette.PlayerColors[(byte) color]; - } - - public static Color32 ToShadowColor(this PlayerColor color) - { - return Palette.ShadowColors[(byte) color]; - } - } -} diff --git a/Reactor/PlayerColor.cs b/Reactor/PlayerColor.cs deleted file mode 100644 index 240e400..0000000 --- a/Reactor/PlayerColor.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Reactor -{ - public enum PlayerColor : byte - { - Red, - Blue, - Green, - Pink, - Orange, - Yellow, - Black, - White, - Purple, - Brown, - Cyan, - Lime - } -}