Package rakama.worldtools.data

Examples of rakama.worldtools.data.Chunk


   
    public void addTileEntity(TileEntity e)
    {
        int x = e.getX();
        int z = e.getZ();
        Chunk chunk = manager.getChunk(x >> 4, z >> 4, true);
        chunk.addTileEntity(e);
    }
View Full Code Here


   
    public boolean removeEntity(Entity e)
    {
        int x = (int)e.getX();
        int z = (int)e.getZ();
        Chunk chunk = manager.getChunk(x >> 4, z >> 4);
        if(chunk == null)
            return false;
        return chunk.removeEntity(e);
    }
View Full Code Here

TOP

Related Classes of rakama.worldtools.data.Chunk

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.