first commit
This commit is contained in:
14
Minecraft.Client/DirtyChunkSorter.h
Normal file
14
Minecraft.Client/DirtyChunkSorter.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
class Chunk;
|
||||
class Mob;
|
||||
|
||||
class DirtyChunkSorter : public std::binary_function<const Chunk *,const Chunk *,bool>
|
||||
{
|
||||
private:
|
||||
shared_ptr<Mob> cameraEntity;
|
||||
int playerIndex; // 4J added
|
||||
|
||||
public:
|
||||
DirtyChunkSorter(shared_ptr<Mob> cameraEntity, int playerIndex); // 4J - added player index
|
||||
bool operator()(const Chunk *a, const Chunk *b) const;
|
||||
};
|
||||
Reference in New Issue
Block a user