Server.OppositionGroup.IsEnemy C# (CSharp) Méthode

IsEnemy() public méthode

public IsEnemy ( object from, object target ) : bool
from object
target object
Résultat bool
		public bool IsEnemy( object from, object target )
		{
			int fromGroup = IndexOf( from );
			int targGroup = IndexOf( target );

			return ( fromGroup != -1 && targGroup != -1 && fromGroup != targGroup );
		}