private static void CrushBlockCollideCheckGroupedFallingBlock(CrushBlock self, Vector2 amount)
        {
            GroupedFallingBlock fallingBlock = self.CollideFirst <GroupedFallingBlock>(self.Position + amount);

            if (fallingBlock != null)
            {
                fallingBlock.Trigger();
            }
        }
Пример #2
0
        private static void CrushBlockCollideCheckGroupedFallingBlock(CrushBlock self, Vector2 amount)
        {
            Console.WriteLine($"Tryina check {self.Position + amount}");
            GroupedFallingBlock fallingBlock = self.CollideFirst <GroupedFallingBlock>(self.Position + amount);

            if (fallingBlock != null)
            {
                fallingBlock.Trigger();
            }
        }