MCPcopy Create free account
hub / github.com/axmolengine/axmol / create

Method create

tests/cpp-tests/Source/RendererTest/RendererTest.cpp:201–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199};
200
201SpriteInGroupCommand* SpriteInGroupCommand::create(std::string_view filename)
202{
203 SpriteInGroupCommand* sprite = new SpriteInGroupCommand();
204 sprite->initWithFile(filename);
205 sprite->autorelease();
206 return sprite;
207}
208
209void SpriteInGroupCommand::draw(Renderer* renderer, const Mat4& transform, uint32_t flags)
210{

Callers

nothing calls this directly

Calls 2

autoreleaseMethod · 0.80
initWithFileMethod · 0.45

Tested by

no test coverage detected