Package com.threerings.resource

Examples of com.threerings.resource.ResourceManager


        throws Exception
    {
        super.init(injector);

        // create the resource manager
        rsrcmgr = new ResourceManager("rsrc");
        rsrcmgr.initBundles(null, getResourceConfig(), null);

        // create our tile manager and repository
        tilemgr = new TileManager(null);
        tilemgr.setTileSetRepository(
View Full Code Here


        // create our frame manager
        _framemgr = FrameManager.newInstance(_frame);

        // create our myriad managers, repositories, etc.
        _rmgr = new ResourceManager("rsrc");

        // build up a simple ui for displaying progress
        JPanel progressPanel = new JPanel(new BorderLayout());
        final JLabel progressLabel = new JLabel();
        final JProgressBar progress = new JProgressBar(0,100);
View Full Code Here

        DisplayMode dm = gd.getDisplayMode();
        log.info("Display mode [bits=" + dm.getBitDepth() +
                 ", wid=" + dm.getWidth() + ", hei=" + dm.getHeight() +
                 ", refresh=" + dm.getRefreshRate() + "].");

        _rmgr = new ResourceManager("rsrc");
        _rmgr.initBundles(null, "config/resource/manager.properties", null);
        _imgr = new ImageManager(_rmgr, _frame);
        _tilemgr = new MisoTileManager(_rmgr, _imgr);
        _tilemgr.setTileSetRepository(
            new BundledTileSetRepository(_rmgr, _imgr, "tilesets"));
View Full Code Here

TOP

Related Classes of com.threerings.resource.ResourceManager

Copyright © 2018 www.massapicom. 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.