コード例 #1
0
        public void HandleDeath(PlayerMobile pm)
        {
            var i = Players.IndexOf(pm);

            if (Dead.InBounds(i))
            {
                Dead[i] = true;
            }
        }
コード例 #2
0
        public bool IsAlive(PlayerMobile pm)
        {
            var i = Players.IndexOf(pm);

            if (Dead.InBounds(i))
            {
                return(!Dead[i]);
            }

            return(false);
        }