first commit
This commit is contained in:
10
Minecraft.World/Reference.h
Normal file
10
Minecraft.World/Reference.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
template<class T> class Reference
|
||||
{
|
||||
private:
|
||||
T *obj;
|
||||
public:
|
||||
T *get() { return obj; }
|
||||
Reference(T *i) { obj = i; }
|
||||
};
|
||||
Reference in New Issue
Block a user