mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-07 19:30:48 +01:00
Remove redundant interface public modifiers
This commit is contained in:
parent
5c158c66e4
commit
6cc68ad806
@ -28,121 +28,121 @@ public interface GameType {
|
||||
/**
|
||||
* @return the displayName
|
||||
*/
|
||||
public String getDisplayName();
|
||||
String getDisplayName();
|
||||
|
||||
/**
|
||||
* @param displayName the displayName to set
|
||||
*/
|
||||
public void setDisplayName(String displayName);
|
||||
void setDisplayName(String displayName);
|
||||
|
||||
/**
|
||||
* @return the signName
|
||||
*/
|
||||
public String getSignName();
|
||||
String getSignName();
|
||||
|
||||
/**
|
||||
* @param signName the signName to set
|
||||
*/
|
||||
public void setSignName(String signName);
|
||||
void setSignName(String signName);
|
||||
|
||||
/**
|
||||
* @return the goal of the game
|
||||
*/
|
||||
public GameGoal getGameGoal();
|
||||
GameGoal getGameGoal();
|
||||
|
||||
/**
|
||||
* @param gameGoal the goal of the game to set
|
||||
*/
|
||||
public void setGameGoal(GameGoal gameGoal);
|
||||
void setGameGoal(GameGoal gameGoal);
|
||||
|
||||
/**
|
||||
* @return the playerVersusPlayer
|
||||
*/
|
||||
public Boolean isPlayerVersusPlayer();
|
||||
Boolean isPlayerVersusPlayer();
|
||||
|
||||
/**
|
||||
* @param playerVersusPlayer the playerVersusPlayer to set
|
||||
*/
|
||||
public void setPlayerVersusPlayer(Boolean playerVersusPlayer);
|
||||
void setPlayerVersusPlayer(Boolean playerVersusPlayer);
|
||||
|
||||
/**
|
||||
* @return the friendlyFire
|
||||
*/
|
||||
public Boolean isFriendlyFire();
|
||||
Boolean isFriendlyFire();
|
||||
|
||||
/**
|
||||
* @param friendlyFire the friendlyFire to set
|
||||
*/
|
||||
public void setFriendlyFire(Boolean friendlyFire);
|
||||
void setFriendlyFire(Boolean friendlyFire);
|
||||
|
||||
/**
|
||||
* @return if players get rewards after the dungeon
|
||||
*/
|
||||
public Boolean hasRewards();
|
||||
Boolean hasRewards();
|
||||
|
||||
/**
|
||||
* @param rewards enable / disable rewards
|
||||
*/
|
||||
public void setRewards(Boolean rewards);
|
||||
void setRewards(Boolean rewards);
|
||||
|
||||
/**
|
||||
* @return if players shall see how long they play
|
||||
*/
|
||||
public Boolean getShowTime();
|
||||
Boolean getShowTime();
|
||||
|
||||
/**
|
||||
* @param showTime set if players shall see how long they play
|
||||
*/
|
||||
public void setShowTime(Boolean showTime);
|
||||
void setShowTime(Boolean showTime);
|
||||
|
||||
/**
|
||||
* @return if all blocks may be destroyed
|
||||
*/
|
||||
public Boolean canBreakBlocks();
|
||||
Boolean canBreakBlocks();
|
||||
|
||||
/**
|
||||
* @param breakBlocks if blocks may be destroyed
|
||||
*/
|
||||
public void setBreakBlocks(Boolean breakBlocks);
|
||||
void setBreakBlocks(Boolean breakBlocks);
|
||||
|
||||
/**
|
||||
* @return if blocks placed in game may be destroyed
|
||||
*/
|
||||
public Boolean canBreakPlacedBlocks();
|
||||
Boolean canBreakPlacedBlocks();
|
||||
|
||||
/**
|
||||
* @param breakPlacedBlocks if placed blocks may be destroyed
|
||||
*/
|
||||
public void setBreakPlacedBlocks(Boolean breakPlacedBlocks);
|
||||
void setBreakPlacedBlocks(Boolean breakPlacedBlocks);
|
||||
|
||||
/**
|
||||
* @return if blocks may be placed
|
||||
*/
|
||||
public Boolean canPlaceBlocks();
|
||||
Boolean canPlaceBlocks();
|
||||
|
||||
/**
|
||||
* @param placeBlocks if blocks may be placed
|
||||
*/
|
||||
public void setPlaceBlocks(Boolean placeBlocks);
|
||||
void setPlaceBlocks(Boolean placeBlocks);
|
||||
|
||||
/**
|
||||
* @return the gameMode
|
||||
*/
|
||||
public GameMode getGameMode();
|
||||
GameMode getGameMode();
|
||||
|
||||
/**
|
||||
* @param gameMode the gameMode to set
|
||||
*/
|
||||
public void setGameMode(GameMode gameMode);
|
||||
void setGameMode(GameMode gameMode);
|
||||
|
||||
/**
|
||||
* @return if players lose lives
|
||||
*/
|
||||
public Boolean hasLives();
|
||||
Boolean hasLives();
|
||||
|
||||
/**
|
||||
* @param lives set if the gametype uses player lives
|
||||
*/
|
||||
public void setLives(Boolean lives);
|
||||
void setLives(Boolean lives);
|
||||
|
||||
}
|
||||
|
@ -26,11 +26,11 @@ public interface RequirementType {
|
||||
/**
|
||||
* @return the identifier
|
||||
*/
|
||||
public String getIdentifier();
|
||||
String getIdentifier();
|
||||
|
||||
/**
|
||||
* @return the handler
|
||||
*/
|
||||
public Class<? extends Requirement> getHandler();
|
||||
Class<? extends Requirement> getHandler();
|
||||
|
||||
}
|
||||
|
@ -26,11 +26,11 @@ public interface RewardType {
|
||||
/**
|
||||
* @return the identifier
|
||||
*/
|
||||
public String getIdentifier();
|
||||
String getIdentifier();
|
||||
|
||||
/**
|
||||
* @return the handler
|
||||
*/
|
||||
public Class<? extends Reward> getHandler();
|
||||
Class<? extends Reward> getHandler();
|
||||
|
||||
}
|
||||
|
@ -26,26 +26,26 @@ public interface DSignType {
|
||||
/**
|
||||
* @return the name
|
||||
*/
|
||||
public String getName();
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* @return the buildPermission
|
||||
*/
|
||||
public String getBuildPermission();
|
||||
String getBuildPermission();
|
||||
|
||||
/**
|
||||
* @return if the sign gets initialized when the dungeon is loaded instead of when the game starts
|
||||
*/
|
||||
public boolean isOnDungeonInit();
|
||||
boolean isOnDungeonInit();
|
||||
|
||||
/**
|
||||
* @return if the sign block should be destroyable after the initialization
|
||||
*/
|
||||
public boolean isProtected();
|
||||
boolean isProtected();
|
||||
|
||||
/**
|
||||
* @return the handler
|
||||
*/
|
||||
public Class<? extends DSign> getHandler();
|
||||
Class<? extends DSign> getHandler();
|
||||
|
||||
}
|
||||
|
@ -26,11 +26,11 @@ public interface TriggerType {
|
||||
/**
|
||||
* @return the identifier
|
||||
*/
|
||||
public String getIdentifier();
|
||||
String getIdentifier();
|
||||
|
||||
/**
|
||||
* @return the handler
|
||||
*/
|
||||
public Class<? extends Trigger> getHandler();
|
||||
Class<? extends Trigger> getHandler();
|
||||
|
||||
}
|
||||
|
@ -1,7 +1,18 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
* Copyright (C) 2012-2019 Frank Baumann
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package de.erethon.dungeonsxl.util;
|
||||
|
||||
|
@ -25,6 +25,6 @@ import org.bukkit.block.Block;
|
||||
*/
|
||||
public interface MultiBlock {
|
||||
|
||||
public Block getAttachedBlock();
|
||||
Block getAttachedBlock();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user