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

Method moveLast

Engine/source/console/arrayObject.cpp:523–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521//-----------------------------------------------------------------------------
522
523S32 ArrayObject::moveLast()
524{
525 if ( mArray.empty() )
526 mCurrentIndex = 0;
527 else
528 mCurrentIndex = mArray.size() - 1;
529 return mCurrentIndex;
530}
531
532//-----------------------------------------------------------------------------
533

Callers 1

arrayObject.cppFile · 0.80

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected