summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-01-19 13:20:57 +0100
committerandrew <xdotftw@gmail.com>2014-01-19 13:20:57 +0100
commit2b943610598c193a349107fd9345d321724aff98 (patch)
treecdbd322700f037143ef9e11e7e4515c1d29df94d /src/World.h
parentMerge pull request #559 from mc-server/SpawnMobParticles (diff)
downloadcuberite-2b943610598c193a349107fd9345d321724aff98.tar
cuberite-2b943610598c193a349107fd9345d321724aff98.tar.gz
cuberite-2b943610598c193a349107fd9345d321724aff98.tar.bz2
cuberite-2b943610598c193a349107fd9345d321724aff98.tar.lz
cuberite-2b943610598c193a349107fd9345d321724aff98.tar.xz
cuberite-2b943610598c193a349107fd9345d321724aff98.tar.zst
cuberite-2b943610598c193a349107fd9345d321724aff98.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index 1a7ad0cb1..1dcbac8e4 100644
--- a/src/World.h
+++ b/src/World.h
@@ -22,6 +22,7 @@
#include "Item.h"
#include "Mobs/Monster.h"
#include "Entities/ProjectileEntity.h"
+#include "Scoreboard.h"
@@ -513,6 +514,9 @@ public:
/// Returns the name of the world.ini file used by this world
const AString & GetIniFileName(void) const {return m_IniFileName; }
+
+ /// Returns the associated scoreboard instance
+ cScoreboard* GetScoreBoard(void) { return &m_Scoreboard; }
// tolua_end
@@ -757,6 +761,8 @@ private:
sSetBlockList m_FastSetBlockQueue;
cChunkGenerator m_Generator;
+
+ cScoreboard m_Scoreboard;
/** The callbacks that the ChunkGenerator uses to store new chunks and interface to plugins */
cChunkGeneratorCallbacks m_GeneratorCallbacks;