ElixirDoom.Specials.Teleport (elixir_doom v0.1.0)

Copy Markdown View Source

Teleporters: a thing crossing a teleport line from its front arrives at the teleport destination in the tagged sector, facing its way, with fog and a sound at both ends. Missiles never teleport. A player arriving where something stands kills it; anything else finds the way blocked and stays.

Summary

Functions

Thing mobj crosses teleport line from side (0, the front, is the only way that works).

Functions

cross(world, mobj, line, int)

@spec cross(ElixirDoom.World.t(), map(), map(), 0 | 1) :: ElixirDoom.World.t()

Thing mobj crosses teleport line from side (0, the front, is the only way that works).