Interface Feedback.Sink

Enclosing class:
Feedback

public static interface Feedback.Sink
Receives what a reaction plays.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    burst(double x, double y, int count, int color)
    Bursts particles.
    void
    sound(String name, double x, double y)
    Plays a named sound.
  • Method Details

    • sound

      void sound(String name, double x, double y)

      Plays a named sound.

      Parameters
      • name: the reaction's sound name
      • x: where in the world, pixels
      • y: where in the world, pixels
    • burst

      void burst(double x, double y, int count, int color)

      Bursts particles.

      Parameters
      • x: where in the world, pixels
      • y: where in the world, pixels
      • count: how many
      • color: ARGB