Doors, lifts, floors and ceilings moving a tic at a time, and what moving a plane does to the things in its sector: lifting them, stopping against them, crushing them.
step/3 is a Cauldron2D.Thinkers step for a mover of kind :door, :plat, :floor
or :ceiling, answering {:keep, mover, world} or {:done, world}.
Summary
Functions
One tic of mover.
Functions
@spec step(map(), pos_integer(), ElixirDoom.World.t()) :: {:keep, map(), ElixirDoom.World.t()} | {:done, ElixirDoom.World.t()}
One tic of mover.