Skip to content

Commit

Permalink
Removed tabs.
Browse files Browse the repository at this point in the history
Fixed returning type
  • Loading branch information
mcat95 committed Sep 11, 2014
1 parent 99c0f6e commit e600c6d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
36 changes: 18 additions & 18 deletions src/main/java/org/spongepowered/api/world/GameRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@
* A Gamerule with a value
*/
public interface GameRule {
/**
* Get current value of gamerule.
* @return Current value of the gamerule
*/
public void getValue();
/**
* Set current value of gamerule.
* @param v Value to update the gamerule
*/
public void setValue(boolean v);
/**
* Returns the name of the gamerule.
* @return Name of the gamerule
*/
public String getGameRuleName();

/**
* Get current value of gamerule.
* @return Current value of the gamerule
*/
public boolean getValue();

/**
* Set current value of gamerule.
* @param v Value to update the gamerule
*/
public void setValue(boolean v);

/**
* Returns the name of the gamerule.
* @return Name of the gamerule
*/
public String getGameRuleName();

}
8 changes: 4 additions & 4 deletions src/main/java/org/spongepowered/api/world/World.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ public interface World extends EntityUniverse, VoxelVolume {
Chunk loadChunk(int cx, int cz, boolean shouldGenerate);

/**
* Returns the value of the {@link GameRule} specified.
* @param gr The {@link GameRule} element to get the value from
* @return The boolean value of the selected GameRule on the world
* Returns the value of the {@link GameRule} specified.
* @param gr The {@link GameRule} element to get the value from
* @return The boolean value of the selected GameRule on the world
*/
boolean getGameRule(GameRule gr);

/**
* Changes the value of the {@link GameRule} specified to the selected boolean value.
* @param gr The {@link GameRule} which is going to be updated
* @param gr The {@link GameRule} which is going to be updated
* @param value The boolean value to set the GameRule
*/
void setGameRule(GameRule gr,boolean value);
Expand Down

0 comments on commit e600c6d

Please sign in to comment.