The method cpp CCArray.removeAllObjects is used in C++ to remove all objects from a CCArray. CCArray is a class in the Cocos2d framework that represents an array of objects. By calling this method, all objects stored in the CCArray will be removed, effectively emptying the array. This method is useful when you need to reset or clear an array that is no longer needed or when you want to remove all objects in preparation for adding new ones.
C++ (Cpp) CCArray::removeAllObjects - 17 examples found. These are the top rated real world C++ (Cpp) examples of CCArray::removeAllObjects extracted from open source projects. You can rate examples to help us improve the quality of examples.