//Copyright (c) 2016, jMonkeyEngine. All rights reserved. 
//Distributed under the BSD licence. 
//Read "rottShortcut/graphical/steer/license.txt".

package rottShortcut.graphical.steer;

import com.jme3.ai.agents.util.control.MonkeyBrainsAppState;
import com.jme3.scene.Node;

/**
 * @author Jesús Martín Berlanga
 */
public class MonkeyBrainsAppStateRootAvaliable extends MonkeyBrainsAppState 
{
    public void setRootNode(Node root)
    {
        super.rootNode = root;
    }
    
    public static MonkeyBrainsAppStateRootAvaliable getInstance() {
        return GameHolder.INSTANCE;
    }
    
    private static class GameHolder 
    {
        private static final MonkeyBrainsAppStateRootAvaliable INSTANCE 
                = new MonkeyBrainsAppStateRootAvaliable();
    }
}