mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-04-07 16:03:31 +00:00
the whole game
This commit is contained in:
31
src/world/level/LightUpdate.h
Executable file
31
src/world/level/LightUpdate.h
Executable file
@@ -0,0 +1,31 @@
|
||||
#ifndef NET_MINECRAFT_WORLD_LEVEL__LightUpdate_H__
|
||||
#define NET_MINECRAFT_WORLD_LEVEL__LightUpdate_H__
|
||||
|
||||
//package net.minecraft.world.level;
|
||||
|
||||
#include "LightLayer.h"
|
||||
#include "chunk/LevelChunk.h"
|
||||
|
||||
class Level;
|
||||
|
||||
class LightUpdate
|
||||
{
|
||||
public:
|
||||
const LightLayer* layer;
|
||||
int x0, y0, z0;
|
||||
int x1, y1, z1;
|
||||
|
||||
//LightUpdate(); // for using std::set
|
||||
LightUpdate(const LightUpdate* t);
|
||||
LightUpdate(const LightUpdate& t);
|
||||
LightUpdate(const LightLayer& _layer, int _x0, int _y0, int _z0, int _x1, int _y1, int _z1);
|
||||
|
||||
void operator=(const LightUpdate* t);
|
||||
|
||||
void update(Level* level);
|
||||
|
||||
bool expandToContain(int _x0, int _y0, int _z0, int _x1, int _y1, int _z1);
|
||||
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_LEVEL__LightUpdate_H__*/
|
||||
Reference in New Issue
Block a user