MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / moveLast

Method moveLast

Engine/source/console/arrayObject.cpp:517–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515//-----------------------------------------------------------------------------
516
517S32 ArrayObject::moveLast()
518{
519 if ( mArray.empty() )
520 mCurrentIndex = 0;
521 else
522 mCurrentIndex = mArray.size() - 1;
523 return mCurrentIndex;
524}
525
526//-----------------------------------------------------------------------------
527

Callers 1

arrayObject.cppFile · 0.80

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected