Back to project page mazer.
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.
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); } }