Create class for common method

This commit is contained in:
filoghost 2021-09-01 20:41:31 +02:00
parent 899ade7ce2
commit a942c1725a
3 changed files with 17 additions and 12 deletions

View File

@ -8,11 +8,6 @@ package me.filoghost.holographicdisplays.api.placeholder;
/**
* @since 1
*/
public interface GlobalPlaceholder extends GlobalPlaceholderReplacer {
/**
* @since 1
*/
int getRefreshIntervalTicks();
public interface GlobalPlaceholder extends GlobalPlaceholderReplacer, Placeholder {
}

View File

@ -8,11 +8,6 @@ package me.filoghost.holographicdisplays.api.placeholder;
/**
* @since 1
*/
public interface IndividualPlaceholder extends IndividualPlaceholderReplacer {
/**
* @since 1
*/
int getRefreshIntervalTicks();
public interface IndividualPlaceholder extends IndividualPlaceholderReplacer, Placeholder {
}

View File

@ -0,0 +1,15 @@
/*
* Copyright (C) filoghost and contributors
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package me.filoghost.holographicdisplays.api.placeholder;
public interface Placeholder {
/**
* @since 1
*/
int getRefreshIntervalTicks();
}