Package engine.interfaces

Examples of engine.interfaces.Library


    }

    @Override
    protected void onAdd() {
        // Get animations from library
        Library l = getStage().getLibrary();
        for (String direction : DIRECTIONS) {
            for (String type : TYPES) {
                String end = type + direction;
                animations.put(end, l.findImage(prefix + end).getFrames(frameWidth));
            }
        }
        animation.setAnimation(animations.get("-stand-right"), STEPS_PER_FRAME);
    }
View Full Code Here

TOP

Related Classes of engine.interfaces.Library

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.