Comments added to Measurable.java

This commit is contained in:
Siket Melinda Tekla 2016-05-16 15:20:59 +02:00
parent aa255012da
commit c218726425
1 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,13 @@
package cicaprojekt;
/**
* A játékban súllyal rendelkező tárgyakat/személyeket összefogó interface.
*/
public interface Measurable {
int weight();
/**
* A tárgy/személy súlyával visszatérő függvény.
*
* @return a tárgy/személy súlya
*/
int weight();
}