fCraft.PlayerClass.CanDemote C# (CSharp) 메소드

CanDemote() 공개 메소드

public CanDemote ( PlayerClass other ) : bool
other PlayerClass
리턴 bool
        public bool CanDemote( PlayerClass other ) {
            if( maxDemote == null ) {
                return rank >= other.rank;
            } else {
                return maxDemote.rank >= other.rank;
            }
        }