Much like ElementDataUnknown but all fields except madeWithRule, liveCell and deadCell are mandatory.

Type Parameters

  • T

Hierarchy

Properties

deadCell?: ((rel: Rel) => void)

Type declaration

    • (rel: Rel): void
    • Every frame of animation, pixelmanipulator iterates through each and every pixel on the screen. If this element is found, it calls this function on each of the locations defined in hitbox so long as the pixel matches the value in defaultId, without calling the same dead pixel twice.

      Parameters

      Returns void

hitbox: Hitbox

deadCell will only be called on empty pixels within the hitbox of a live cell. Array of relative coordinate pairs. Optional, defaults to the result of moore called with no arguments.

liveCell?: ((rel: Rel) => void)

Type declaration

    • (rel: Rel): void
    • Every frame of animation, pixelmanipulator iterates through each and every pixel on the screen. If this element is found, it calls this function.

      Parameters

      Returns void

madeWithRule?: true

If present, indicates that this element was auto-generated

name: string

The name of the element.

renderAs: T

Information on how to render this element

Generated using TypeDoc