AndEngine 分析之9 -ITextureSource,TextureRegion
AndEngine 分析之九 -----ITextureSource,TextureRegion
ITextureSource:
An
implmentation of the ITextureSource-interface like AssetTextureSource
manages to load an image onto a specific position in the Texture.
一个实现了itexturesource-interface像assettexturesource设法负载一个图像到一个具体位置到Texture。
TextureRegion:
A
TextureRegion defines a rectangle on the Texture. A TextureRegion is
used by Sprites to let the system know what part of the big Texture the
Sprite is showing.
一个textureregion定义了一个在Texture上的矩形。它被Sprites用作让系统知道显示那部分。