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

Method removeAll

Engine/source/math/mRandomDeck.h:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124
125template<class T>
126inline void MRandomDeck<T>::removeAll( Vector<T> *outItems )
127{
128 if ( outItems )
129 {
130 outItems->merge( mPile );
131 outItems->merge( mDeck );
132 }
133
134 mPile.clear();
135 mDeck.clear();
136}
137
138#endif //_MRANDOMDECK_H_

Callers 2

loadConfigMethod · 0.45
checkAutoUpdateMethod · 0.45

Calls 2

mergeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected