Пример #1
0
 public int getFrameCnt() {
   return mImage.getNumber();
 }
Пример #2
0
 public int getHeight() {
   return mImage.getHeight();
 }
Пример #3
0
 public void draw(Canvas canvas, int x, int y) {
   mImage.draw(canvas, mCurrentFrame, x, y);
 }
Пример #4
0
 public int getWidth() {
   return mImage.getWidth();
 }
Пример #5
0
 public void draw(Canvas canvas) {
   mImage.draw(
       canvas, mCurrentFrame, mCombatX - mImage.getWidth() / 2, mCombatY - mImage.getHeight() / 2);
 }