Package Hexel.things.types

Examples of Hexel.things.types.Thing


    final HashSet<Vector3i> blocksIntersecting = new HashSet<Vector3i>();
    blocksIntersecting.addAll(blocks);
    Set<Thing> things = this.engine.thingSimulator.things;
    synchronized (things){
      for (Thing thing : things){
        final Thing thing0 = thing;
        if (thing instanceof Cuboid){
          final Cuboid c = (Cuboid)thing;
          ArrayList<Vector3i> blocksIntersectingThing = thingTools.getBlocksIntersectingThing(c, fixOffsetTmps);
          for (Vector3i v : blocksIntersectingThing){
            if (blocksIntersecting.contains(v)){
View Full Code Here


      }
      this.thingsToAdd.clear();
      Iterator<Thing> iter = this.things.iterator();
      LogData.set("numberZombies", getNumberOfThingsOfType(Zombie.class));
      while (iter.hasNext()) {
        Thing thing = iter.next();
        thing.step();

        if (thing instanceof Volumetric){
          if (this.thingTools.isOutOfRangeOfCamera((Volumetric)thing)){
            thingsToRemove.add(thing);
            continue;
View Full Code Here

TOP

Related Classes of Hexel.things.types.Thing

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.