PixelsToModify

data class PixelsToModify(val allSetPixels: List<Int>, val allRevertPixels: List<Int>)

Contains lists of pixels so the animation knows what pixels to set and revert during this iteration.

Constructors

Link copied to clipboard
constructor(allSetPixels: List<Int>, allRevertPixels: List<Int>)

Properties

Link copied to clipboard

All pixels that should be reverted

Link copied to clipboard

All pixels that should be set

Link copied to clipboard
val pairedSetRevertPixels: List<<Error class: unknown class><Int, Int>>

A list of paired up pixels from the set and revert lists (used by animations like Runway lights so pixels are set and reverted at nearly the exact same time instead of setting all and then reverting all)

Link copied to clipboard

A list with any remaining pixels that should be reverted that are not included in pairedSetRevertPixels (due to allSetPixels being smaller than allRevertPixels)

Link copied to clipboard

A list with any remaining pixels that should be set that are not included in pairedSetRevertPixels (due to allRevertPixels being smaller than allSetPixels)