Initial commit
This commit is contained in:
21
Minecraft.World/PortalForcer.h
Normal file
21
Minecraft.World/PortalForcer.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
class Random;
|
||||
|
||||
class PortalForcer
|
||||
{
|
||||
private:
|
||||
Random *random;
|
||||
|
||||
public:
|
||||
// 4J Stu Added - Java has no ctor, but we need to initialise random
|
||||
PortalForcer();
|
||||
|
||||
void force(Level *level, shared_ptr<Entity> e);
|
||||
|
||||
public:
|
||||
bool findPortal(Level *level, shared_ptr<Entity> e);
|
||||
|
||||
public:
|
||||
bool createPortal(Level *level, shared_ptr<Entity> e);
|
||||
};
|
||||
Reference in New Issue
Block a user