Android Open Source - mazer Tile






From Project

Back to project page mazer.

License

The source code is released under:

GNU General Public License

If you think the Android project mazer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.spatialia.santa;
/*from   w  w w. j  ava2  s .c  o m*/
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;

public class Tile {
  protected int x;
  protected int y;
  protected Bitmap bitmap;

  public Tile(Bitmap bitmap, int x, int y) {
    this.bitmap = bitmap;
    this.x = x;
    this.y = y;
  }

  public Tile() {
  }

  public void draw(Canvas canvas, Paint paint) {
    canvas.drawBitmap(bitmap, x, y, paint);
  }
}




Java Source Code List

org.spatialia.santa.AlertDialog.java
org.spatialia.santa.GameEngine.java
org.spatialia.santa.GameInput.java
org.spatialia.santa.GameView.java
org.spatialia.santa.MainActivity.java
org.spatialia.santa.Sprite.java
org.spatialia.santa.Tile.java
org.spatialia.santa.logic.LevelManager.java
org.spatialia.santa.logic.Level.java
org.spatialia.santa.logic.Settings.java
org.spatialia.santa.util.JobRunner.java
org.spatialia.santa.util.Perf.java
org.spatialia.santa.util.Post.java