Package deobf

Source Code of deobf.spc_WorldEditCUI

package deobf;

import wecui.WorldEditCUI;
import wecui.event.CUIEvent;

/**
* Main SinglePlayerCommands class
*
* @author lahwran
* @author yetanotherx
*
*/
public class spc_WorldEditCUI extends SPCPlugin {

    protected WorldEditCUI controller;

    public spc_WorldEditCUI(WorldEditCUI controller) {
        this.controller = controller;
    }

    @Override
    public String getVersion() {
        return WorldEditCUI.getVersion();
    }

    @Override
    public String getName() {
        return "WorldEditCUI";
    }

    @Override
    public void handleCUIEvent(String type, String params[]) {
        if (controller != null) {
            controller.getEventManager().callEvent(new CUIEvent(controller, type, params));
        }
    }
}
TOP

Related Classes of deobf.spc_WorldEditCUI

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.