ElixirDoom.Specials.Plats (elixir_doom v0.1.0)

Copy Markdown View Source

Starting lifts and the floors that rise and take another sector's texture, stopping them, and starting stopped ones again.

Kinds: :down_wait_up_stay (a lift), :blaze_dwus, :perpetual_raise, :raise_and_change (by an amount) and :raise_to_nearest_and_change.

Summary

Functions

Start type in every sector tagged by line that no mover has taken: {world, started?}.

Stop every moving lift tagged tag where it is.

Functions

by_tag(world, line, type, amount)

@spec by_tag(ElixirDoom.World.t(), map(), atom(), number()) ::
  {ElixirDoom.World.t(), boolean()}

Start type in every sector tagged by line that no mover has taken: {world, started?}.

stop(world, tag)

Stop every moving lift tagged tag where it is.