Examples of GDXUnit


Examples of transientlibs.maps.units.GDXUnit

public class GDXCreatureFactory extends AbstractCreatureFactory{
   
        @Override
        public GenericUnit produceUnit(int creatureID, int onX, int onY, TilelessMap onMap) {
        GenericUnit newUnit;
        newUnit = new GDXUnit(onX, onY, creatureID, onMap);
        if (onMap != null) {           
            onMap.placeUnit(onX, onY, newUnit);
            Log.info("PLACED UNIT");
        } else {
            Log.warn("No map!");
View Full Code Here
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.