Package net.paulhertz.pixelaudio

# Class Lindenmayer.AnimUnit

java.lang.Object
net.paulhertz.pixelaudio.Lindenmayer.AnimUnit

Enclosing class:
  Lindenmayer

public class Lindenmayer.AnimUnit extends Object
Data storage for number of steps n each of duration d, with additional scaling factor s.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `(package private) int`
  `d`
  `(package private) int`
  `n`
  `(package private) float`
  `s`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AnimUnit(int duration, int count)`
  `AnimUnit(int duration, int count, float stepSize)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `frames()`
  `int`
  `getCount()`
  `int`
  `getDuration()`
  `float`
  `getStepSize()`
  `void`
  `setCount(int n)`
  `void`
  `setDuration(int d)`
  `void`
  `setStepSize(float s)`
  `int`
  `slide()`
  `int[]`
  `toArray()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### d

    int d

  - ### n

    int n

  - ### s

    float s

- ## Constructor Details

  - ### AnimUnit

    public AnimUnit(int duration, int count)

  - ### AnimUnit

    public AnimUnit(int duration, int count, float stepSize)

- ## Method Details

  - ### getDuration

    public int getDuration()

  - ### setDuration

    public void setDuration(int d)

  - ### getCount

    public int getCount()

  - ### setCount

    public void setCount(int n)

  - ### getStepSize

    public float getStepSize()

  - ### setStepSize

    public void setStepSize(float s)

  - ### frames

    public int frames()

  - ### slide

    public int slide()

  - ### toArray

    public int[] toArray()