Class GesturePlayground.BrushHit

java.lang.Object
net.paulhertz.pixelaudio.example.GesturePlayground.BrushHit
Enclosing class:
GesturePlayground

static class GesturePlayground.BrushHit extends Object
Simple container for a brush hit-test result. Holds the brush that was hit and its index in the corresponding list.
  • Field Details

    • brush

      final AudioBrush brush
    • index

      final int index
  • Constructor Details

    • BrushHit

      BrushHit(AudioBrush brush, int index)