C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

MapElement::Previous

Defined in:  C4Map.h
Returns the previous element in a map.
Prototype

type *Previous(voidconst;

Description
The Previous function returns a pointer to the element immediately preceding an object in its owning map. If the object is the first element in a map, or the object does not belong to a map, then the return value is nullptr.
See Also

MapElement::Next