api: add spawn time to tileitem
This commit is contained in:
@@ -36,4 +36,10 @@ public interface TileItem extends Renderable
|
|||||||
int getId();
|
int getId();
|
||||||
|
|
||||||
int getQuantity();
|
int getQuantity();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Time in game ticks when the item spawned (relative to us)
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
int getSpawnTime();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user