com.aranai.dungeonator
Class DWorldListener

java.lang.Object
  extended by org.bukkit.event.world.WorldListener
      extended by com.aranai.dungeonator.DWorldListener
All Implemented Interfaces:
org.bukkit.event.Listener

public class DWorldListener
extends org.bukkit.event.world.WorldListener


Field Summary
private  DungeonChunkProvider dcp
           
private  int fCount
           
private  java.util.HashSet<java.lang.String> flattened
          Debug field: flattened: flattened chunks
private  Dungeonator plugin
          Dungeonator plugin instance.
 
Constructor Summary
DWorldListener(Dungeonator plugin)
          Instantiates a new world listener.
 
Method Summary
 void flatten(org.bukkit.World w, org.bukkit.Chunk c)
           
 void onChunkLoad(org.bukkit.event.world.ChunkLoadEvent e)
           
 
Methods inherited from class org.bukkit.event.world.WorldListener
onChunkUnload, onSpawnChange, onWorldLoad, onWorldLoad, onWorldSave, onWorldSave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

plugin

private Dungeonator plugin
Dungeonator plugin instance.


dcp

private DungeonChunkProvider dcp

flattened

private java.util.HashSet<java.lang.String> flattened
Debug field: flattened: flattened chunks


fCount

private int fCount
Constructor Detail

DWorldListener

public DWorldListener(Dungeonator plugin)
Instantiates a new world listener.

Parameters:
plugin - the Dungeonator plugin instance
Method Detail

onChunkLoad

public void onChunkLoad(org.bukkit.event.world.ChunkLoadEvent e)
Overrides:
onChunkLoad in class org.bukkit.event.world.WorldListener

flatten

public void flatten(org.bukkit.World w,
                    org.bukkit.Chunk c)