Package com.pointcliki.dizgruntled.grunt

Examples of com.pointcliki.dizgruntled.grunt.Task.start()


    if (fTool.equals("GAUNTLETZ")) t = new RockBreakTask(this, xy);
    else if (fTool.equals("SHOVEL")) t = new HoleDigTask(this, xy);
    else if (fTool.equals("GOOBER")) t = new GooSuckTask(this, xy);
   
    if (t != null) {
      boolean okay = t.start();
      if (okay) {
        fTask = t;
        t.next();
        state(GruntState.ACTING);
        animate("ITEM", "ITEM", xy.subtract(fTile));
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.