14 lines
314 B
C++
14 lines
314 B
C++
#pragma once
|
|
class Chunk;
|
|
class Mob;
|
|
|
|
class DirtyChunkSorter
|
|
{
|
|
private:
|
|
shared_ptr<LivingEntity> cameraEntity;
|
|
int playerIndex; // 4J added
|
|
|
|
public:
|
|
DirtyChunkSorter(shared_ptr<LivingEntity> cameraEntity, int playerIndex); // 4J - added player index
|
|
bool operator()(const Chunk *a, const Chunk *b) const;
|
|
}; |