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

Method setSprite

src/Ruleset/MapData.cpp:76–79  ·  view source on GitHub ↗

* Sets the sprite index for a certain frame. * @param frameID Animation frame * @param value The sprite index in the surfaceset of the mapdataset. */

Source from the content-addressed store, hash-verified

74 * @param value The sprite index in the surfaceset of the mapdataset.
75 */
76void MapData::setSprite(int frameID, int value)
77{
78 _sprite[frameID] = value;
79}
80
81/**
82 * Gets whether this is an animated ufo door.

Callers 1

loadDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected