mirror of https://github.com/axmolengine/axmol.git
fix grammar in comment
This commit is contained in:
parent
4985653f5b
commit
d1d4ec2ac6
|
@ -67,12 +67,12 @@ class CC_DLL SpriteBatchNode : public Node, public TextureProtocol
|
|||
|
||||
public:
|
||||
/** creates a SpriteBatchNode with a texture2d and capacity of children.
|
||||
The capacity will be increased in 33% in runtime if it run out of space.
|
||||
The capacity will be increased in 33% in runtime if it runs out of space.
|
||||
*/
|
||||
static SpriteBatchNode* createWithTexture(Texture2D* tex, ssize_t capacity = DEFAULT_CAPACITY);
|
||||
|
||||
/** creates a SpriteBatchNode with a file image (.png, .jpeg, .pvr, etc) and capacity of children.
|
||||
The capacity will be increased in 33% in runtime if it run out of space.
|
||||
The capacity will be increased in 33% in runtime if it runs out of space.
|
||||
The file will be loaded using the TextureMgr.
|
||||
*/
|
||||
static SpriteBatchNode* create(const std::string& fileImage, ssize_t capacity = DEFAULT_CAPACITY);
|
||||
|
@ -168,11 +168,11 @@ CC_CONSTRUCTOR_ACCESS:
|
|||
virtual ~SpriteBatchNode();
|
||||
|
||||
/** initializes a SpriteBatchNode with a texture2d and capacity of children.
|
||||
The capacity will be increased in 33% in runtime if it run out of space.
|
||||
The capacity will be increased in 33% in runtime if it runs out of space.
|
||||
*/
|
||||
bool initWithTexture(Texture2D *tex, ssize_t capacity = DEFAULT_CAPACITY);
|
||||
/** initializes a SpriteBatchNode with a file image (.png, .jpeg, .pvr, etc) and a capacity of children.
|
||||
The capacity will be increased in 33% in runtime if it run out of space.
|
||||
The capacity will be increased in 33% in runtime if it runs out of space.
|
||||
The file will be loaded using the TextureMgr.
|
||||
* @js init
|
||||
* @lua init
|
||||
|
|
Loading…
Reference in New Issue