Back to project page SnowLand.
The source code is released under:
GNU General Public License
If you think the Android project SnowLand 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 com.walrus.game; //from w ww. ja v a 2 s.c o m import com.walrus.framework.Image; public class Tile { private int height, width; private Image tileImage; public Tile(Image tile){ tileImage = tile; height = tile.getHeight(); width = tile.getWidth(); } public int getHeight() { return height; } public void setHeight(int height) { this.height = height; } public int getWidth() { return width; } public void setWidth(int width) { this.width = width; } public Image getTileImage() { return tileImage; } public void setTileImage(Image tileImage) { this.tileImage = tileImage; } }