Added Difficulty API.

This commit is contained in:
EvilSeph
2011-10-03 01:25:39 -04:00
parent ed6b4882d1
commit ab1591b013
3 changed files with 79 additions and 4 deletions

View File

@@ -323,18 +323,18 @@ public interface Server {
* @return World with the given Unique ID, or null if none exists.
*/
public World getWorld(UUID uid);
/**
* Gets the map from the given item ID.
*
*
* @param id ID of the map to get.
* @return The MapView if it exists, or null otherwise.
*/
public MapView getMap(short id);
/**
* Create a new map with an automatically assigned ID.
*
*
* @param world The world the map will belong to.
* @return The MapView just created.
*/