MCPcopy Create free account
hub / github.com/SpartanJ/eepp / createStatic

Method createStatic

src/eepp/graphics/sprite.cpp:320–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320bool Sprite::createStatic( TextureRegion* TextureRegion ) {
321 reset();
322
323 addFrame( TextureRegion );
324
325 return true;
326}
327
328bool Sprite::createStatic( const Uint32& TexId, const Sizef& DestSize, const Vector2i& offset,
329 const Rect& TexSector ) {

Callers 2

loadImageAsyncMethod · 0.80
mainFunction · 0.80

Calls 2

resetFunction · 0.85
existsIdMethod · 0.45

Tested by

no test coverage detected