Package transientlibs.maps.units

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

Related Classes of transientlibs.maps.units.GDXUnit

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.