Back to project page Castle-Invaders.
The source code is released under:
GNU General Public License
If you think the Android project Castle-Invaders 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.noobygames.utils.ui; /* ww w.ja v a2 s.co m*/ import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.math.Rectangle; /**Typical button has a position, a texture and an onClick method * @extends clickableElement * @author Nerzal**/ public abstract class Button extends ClickableElement { /** Constructor * @param position The position * @param The texture**/ public Button(Rectangle position, Texture tex) { super(position, tex); } public abstract void onClick(); }