Package net.citizensnpcs.guards

Source Code of net.citizensnpcs.guards.GuardType

package net.citizensnpcs.guards;

import net.citizensnpcs.commands.CommandHandler;
import net.citizensnpcs.guards.listeners.GuardCitizensListen;
import net.citizensnpcs.npctypes.CitizensNPC;
import net.citizensnpcs.npctypes.CitizensNPCType;
import net.citizensnpcs.npctypes.NPCTypeManager;
import net.citizensnpcs.properties.Properties;

public class GuardType extends CitizensNPCType {

    @Override
    public CommandHandler getCommands() {
        return GuardCommands.INSTANCE;
    }

    @Override
    public CitizensNPC getInstance() {
        return new Guard();
    }

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

    @Override
    public Properties getProperties() {
        return GuardProperties.INSTANCE;
    }

    @Override
    public void registerEvents() {
        NPCTypeManager.registerEvents(new GuardCitizensListen());
    }
}
TOP

Related Classes of net.citizensnpcs.guards.GuardType

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.