Package Hexel.things.types

Examples of Hexel.things.types.Deer


          if (zombie.health <= 0){
            thingsToRemove.add(zombie);
          }
        }
        else if (thing instanceof Deer){
          Deer deer = (Deer)thing;
          if (deer.health <= 0){
            thingsToRemove.add(deer);
          }
        }
View Full Code Here


      }

      @Override
      public void spawn(double x, double y, double z, int bx, int by, int bz, int step, Chunk c, Chunks chunks) {
        if (engine.thingSimulator.getNumberOfThingsOfType(Deer.class) < 10){
          Deer deer = new Deer(x, y, z, engine.getThingBridge());
          engine.addThing(deer);
        }
      }
    });
View Full Code Here

TOP

Related Classes of Hexel.things.types.Deer

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.