| 1 | /* |
| 2 | * Copyright (C) 2015 Gerd Petermann |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 3 or |
| 6 | * version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, but |
| 9 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 11 | * General Public License for more details. |
| 12 | */ |
| 13 | package uk.me.parabola.util; |
| 14 | |
| 15 | import uk.me.parabola.imgfmt.app.Coord; |
| 16 | |
| 17 | /** |
| 18 | * For objects that have a location which can be represented as a Coord instance. |
| 19 | * |
| 20 | * @author Gerd Petermann |
| 21 | */ |
| 22 | public interface Locatable { |
| 23 | |
| 24 | /** |
| 25 | * get the location of the object |
| 26 | */ |
| 27 | public Coord getLocation(); |
| 28 | } |