private static void CrushBlockCollideCheckGroupedFallingBlock(CrushBlock self, Vector2 amount) { GroupedFallingBlock fallingBlock = self.CollideFirst <GroupedFallingBlock>(self.Position + amount); if (fallingBlock != null) { fallingBlock.Trigger(); } }
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(); } }