コード例 #1
0
ファイル: Dice.cpp プロジェクト: KiGhost/Risk_AI
bool operator==(const Dice& lhs, const Dice& rhs)
{ 
	return (lhs.getDiceValue() == rhs.getDiceValue());
}
コード例 #2
0
ファイル: Dice.cpp プロジェクト: KiGhost/Risk_AI
bool operator>(const Dice& lhs, const Dice& rhs)
{ 
	return (lhs.getDiceValue() > rhs.getDiceValue());
}