Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new class Chunk #17

Open
luffy84217 opened this issue Mar 24, 2021 · 0 comments
Open

Add new class Chunk #17

luffy84217 opened this issue Mar 24, 2021 · 0 comments

Comments

@luffy84217
Copy link
Contributor

Add new class Chunk with following properties:

  • x: X position of the chunk (in chunks, from the origin, not relative to region).
  • y: Y position of the chunk (in chunks, from the origin, not relative to region).
  • lights: An array that store instances of light sources per chunk.
  • palette: Set of different blocks used in the chunk.
  • entities: An array that store instances of entities per chunk.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants