mirror of
https://github.com/TwoFX/Morris.git
synced 2026-03-22 01:50:39 +00:00
17 lines
256 B
C#
17 lines
256 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Morris
|
|
{
|
|
internal static class ExtensionMethods
|
|
{
|
|
public static Player Opponent(this Player p)
|
|
{
|
|
return ~p;
|
|
}
|
|
}
|
|
}
|