mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Delete PlayerColor
This commit is contained in:
2 files changed
-35
No files matched your search
@@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
namespace Reactor
|
||||
{
|
||||
public enum PlayerColor : byte
|
||||
{
|
||||
Red,
|
||||
Blue,
|
||||
Green,
|
||||
Pink,
|
||||
Orange,
|
||||
Yellow,
|
||||
Black,
|
||||
White,
|
||||
Purple,
|
||||
Brown,
|
||||
Cyan,
|
||||
Lime
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user