Пример #1
0
 public LTexture getSpriteImage(int idx) {
   if (currentFrameIndex > -1 && currentFrameIndex < size) {
     Animation animation = playAnimations.get(currentFrameIndex);
     return animation.getSpriteImage(idx);
   } else {
     return null;
   }
 }
Пример #2
0
 public void createUI(GLEx g) {
   if (isVisible) {
     g.drawTexture(animation.getSpriteImage(), x(), y());
   }
 }
Пример #3
0
 public LTexture getBitmap() {
   return animation.getSpriteImage();
 }