Exemple #1
0
 public int getWidth() {
   return mImage.getWidth();
 }
Exemple #2
0
 public void draw(Canvas canvas) {
   mImage.draw(
       canvas, mCurrentFrame, mCombatX - mImage.getWidth() / 2, mCombatY - mImage.getHeight() / 2);
 }