MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setPreview

Method setPreview

src/Savegame/Tile.cpp:857–860  ·  view source on GitHub ↗

* set the direction used for path previewing. * @param dir */

Source from the content-addressed store, hash-verified

855 * @param dir
856 */
857void Tile::setPreview(int dir)
858{
859 _preview = dir;
860}
861
862/**
863 * retrieve the direction stored by the pathfinding.

Callers 4

setupAmbushMethod · 0.80
setupEscapeMethod · 0.80
previewPathMethod · 0.80
setupEscapeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected