Back to project page AmazingGame.
The source code is released under:
GNU General Public License
If you think the Android project AmazingGame 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 game.objects; // w ww. ja v a 2 s . c o m import game.helpers.AssetLoader; public class Tree extends TileSprite { public Tree(int x, int y) { super(AssetLoader.tree, x, y); movementCost = 2; defenseBonus = 3; attackBonus = 0; } }