static bool KnightCanMove(DataStructure.Point possition, int[,] boardMatrix, DataStructure.Color color) { if (Validation.IsEmpty(possition, boardMatrix)) { return(true); } else { if (Validation.IsOpponent(possition, boardMatrix)) { return(true); } } return(false); }
public static Color ProtoToUnity(DataStructure.Color c) { return(new Color((float)c.R, (float)c.G, (float)c.B, (float)c.A)); }