예제 #1
0
        public override bool AcceptMove(Movable movable)
        {
            if (movable.GetType() == typeof(Movables.Baricade))
                return false;

            return base.AcceptMove(movable);
        }
예제 #2
0
        public override bool AcceptMove(Movable movable)
        {
            if (movable.GetType() == typeof(Movables.Baricade))
                return false;

            if (movable.Owner != Player && !movable.IsHit)
                return false;

            if (Children.Count < 4)
                return base.AcceptMove(movable);

            return false;
        }