예제 #1
0
파일: Tile.cs 프로젝트: Chapmania/Juniper
        public override int GetHashCode()
        {
            var hashCode = -1601273053;

            hashCode = hashCode * -1521134295 + Fore.GetHashCode();
            hashCode = hashCode * -1521134295 + Back.GetHashCode();
            hashCode = hashCode * -1521134295 + Token.GetHashCode();
            return(hashCode);
        }
예제 #2
0
파일: Tile.cs 프로젝트: DeanReynolds/Orbis
 public bool EitherForeIs(Tile tile, params Types[] types)
 {
     return(Fore.Matches(types) && tile.Fore.Matches(types));
 }