cz.cuni.amis.pogamut.defcon.utils.quadtree
Class BuildingPlacementQuadTreeLabellingMethod

Package class diagram package BuildingPlacementQuadTreeLabellingMethod
java.lang.Object
  extended by cz.cuni.amis.pogamut.defcon.utils.quadtree.BuildingPlacementQuadTreeLabellingMethod
All Implemented Interfaces:
IQuadTreeLabelingMethod

public class BuildingPlacementQuadTreeLabellingMethod
extends Object
implements IQuadTreeLabelingMethod

Relabels quadtree specifically for a simple building placement points lookup.

Author:
Radek 'Black_Hand' Pibil

Constructor Summary
BuildingPlacementQuadTreeLabellingMethod(DefConWorldView worldview, Logger log)
           
 
Method Summary
 boolean label(QuadTreeNode node)
          Relabels the given node and all nodes underneath it for the purposes of building placing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildingPlacementQuadTreeLabellingMethod

public BuildingPlacementQuadTreeLabellingMethod(DefConWorldView worldview,
                                                Logger log)
Method Detail

label

public boolean label(QuadTreeNode node)
Relabels the given node and all nodes underneath it for the purposes of building placing.

Specified by:
label in interface IQuadTreeLabelingMethod


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.