Ejemplo n.º 1
0
        public override void CollisionTransition()
        {
            NeedsUpdating = true;

            foreach (ISprite sprite in brokenParts)
            {
                ((BrokenBlock)sprite).SetPosition((int)Position.X, (int)Position.Y);
            }
            BlockState.Collision();
        }
Ejemplo n.º 2
0
        public override void CollisionTransition()
        {
            NeedsUpdating = true;
            if (Items.Count > 0)
            {
                Items.Dequeue().Execute();
            }

            BlockState.Collision();
        }