mroew/blocks/looks

Types

pub type Effect {
  Color
  Fisheye
  Whirl
  Pixelate
  Mosaic
  Brightness
  Ghost
}

Constructors

  • Color
  • Fisheye
  • Whirl
  • Pixelate
  • Mosaic
  • Brightness
  • Ghost
pub type FrontBack {
  Front
  Back
}

Constructors

  • Front
  • Back

Functions

pub fn backdrop_name() -> Operator
pub fn backdrop_number() -> Operator
pub fn change_effect(
  cblocks: List(BlockType),
  effect: Effect,
  difference: Operator,
) -> List(BlockType)
pub fn change_size(
  cblocks: List(BlockType),
  size: Operator,
) -> List(BlockType)
pub fn clear_effects(cblocks: List(BlockType)) -> List(BlockType)
pub fn costume_name() -> Operator
pub fn costume_number() -> Operator
pub fn extreme_layer(
  cblocks: List(BlockType),
  position: FrontBack,
) -> List(BlockType)
pub fn hide(cblocks: List(BlockType)) -> List(BlockType)
pub fn next_backdrop(cblocks: List(BlockType)) -> List(BlockType)
pub fn next_costume(cblocks: List(BlockType)) -> List(BlockType)
pub fn say(
  cblocks: List(BlockType),
  content: Operator,
) -> List(BlockType)
pub fn say_timed(
  cblocks: List(BlockType),
  content: Operator,
  time: Operator,
) -> List(BlockType)
pub fn set_effect(
  cblocks: List(BlockType),
  effect: Effect,
  value: Operator,
) -> List(BlockType)
pub fn set_layer(
  cblocks: List(BlockType),
  layer: Operator,
  position: FrontBack,
) -> List(BlockType)
pub fn set_size(
  cblocks: List(BlockType),
  size: Operator,
) -> List(BlockType)
pub fn show(cblocks: List(BlockType)) -> List(BlockType)
pub fn size() -> Operator
pub fn switch_backdrop(
  cblocks: List(BlockType),
  costume: Operator,
) -> List(BlockType)
pub fn switch_costume(
  cblocks: List(BlockType),
  costume: Operator,
) -> List(BlockType)
pub fn think(
  cblocks: List(BlockType),
  content: Operator,
) -> List(BlockType)
pub fn think_timed(
  cblocks: List(BlockType),
  content: Operator,
  time: Operator,
) -> List(BlockType)
Search Document