public override int GetHashCode()
{
int i;
if (action == Action.Build) { i = shiptype.GetHashCode(); }
else if (action == Action.Move || action == Action.Jump || action == Action.Enter) { i = 1; }
else { i = 2; }
return (start.GetHashCode() + i.GetHashCode()).GetHashCode() ;
}