me.huanmeng.opensource.bukkit.gui.PackageGuiContext Maven / Gradle / Ivy
package me.huanmeng.opensource.bukkit.gui;
import org.bukkit.entity.Player;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;
/**
* 2023/3/17
* Gui
*
* @author huanmeng_qwq
*/
@SuppressWarnings("rawtypes")
public class PackageGuiContext {
@NonNull
private final Player player;
private AbstractGui gui;
public PackageGuiContext(@NonNull Player player) {
this.player = player;
}
@NonNull
public Player getPlayer() {
return player;
}
@Nullable
public AbstractGui getGui() {
return gui;
}
public void gui(@NonNull AbstractGui gui) {
this.gui = gui;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy