fCraft.PlayerClass.CanKick C# (CSharp) Method

CanKick() public method

public CanKick ( PlayerClass other ) : bool
other PlayerClass
return bool
        public bool CanKick( PlayerClass other ) {
            if( maxKick == null ) {
                return rank >= other.rank;
            } else {
                return maxKick.rank >= other.rank;
            }
        }