Javadoc, small bugfix in levels.xml
[AntiTD.git] / src / se / umu / cs / dit06ajnajs / Clickable.java
blobe55a9964c8edee41d8459001ce529a3b8ce2d822
1 package se.umu.cs.dit06ajnajs;
3 /**
4 * Interface Clickable is an interface for acting upon mouse clicks.
6 * @author Anton Johansson (dit06ajn@cs.umu.se)
7 * @version 1.0
8 */
9 public interface Clickable {
11 /**
12 * Reacts on mouse clicks
14 public void click();
16 /**
17 * Checks if the specified x and y position is inside of this Units bounds.
19 * @param x The x-value to check.
20 * @param y The y-value to check.
21 * @return If the specified x and y position is inside of this Units bounds.
23 public boolean contains(int x, int y);