Versions in this module Expand all Collapse all v0 v0.4.2 Oct 18, 2017 v0.4.1 Oct 17, 2017 v0.3.0 Jan 9, 2017 v0.2.0 Sep 7, 2016 Changes in this version + const BlockTypeDirt + const BlockTypeEmpty + const BlockTypeGrass + const BlockTypeStones + const ChunkSize + const ChunkSize2 + const ChunkSize3 + const ChunkSizeF + type Block struct + Type BlockType + func (b *Block) IsVisible() bool + type BlockType uint32 + type Chunk struct + AABBCollider *glider.AABBox + Blocks [ChunkSize3]Block + BoxColliders []*glider.AABBox + Colliders []physics.Collider + Owner *Manager + Renderable *fizzle.Renderable + X int + Y int + Z int + func NewChunk(chunkX, chunkY, chunkZ int) *Chunk + func (c *Chunk) BlockAt(x, y, z int) *Block + func (c *Chunk) Clone() *Chunk + func (c *Chunk) Destroy() + func (c *Chunk) GetTheRenderable(textureIndexes fizzle.TextureArrayIndexes) *fizzle.Renderable + func (c *Chunk) IsBlockMovementBlocking(x, y, z int) bool + func (c *Chunk) IsBlockVisible(x, y, z int) bool + func (c *Chunk) SetBlock(x, y, z int, ty BlockType) + func (c *Chunk) UpdateColliders() + type Manager struct + Chunks []*Chunk + Size int + X int + Y int + Z int + func NewManager(length int, x, y, z int) *Manager + func (m *Manager) GetBlockAt(worldX, worldY, worldZ int) (*Block, *Chunk) + func (m *Manager) GetHeightAt(localX, localZ int) int + func (m *Manager) RegisterChunk(c *Chunk) bool + func (m *Manager) RegisterChunks(cs []*Chunk) + func (m *Manager) SetBlockAt(worldX, worldY, worldZ int, bt BlockType) *Chunk