summaryrefslogtreecommitdiffstats
path: root/source/LavaSimulator.cpp
blob: 726cc37e487a8991b721c27634155f6ab9bf7d73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "Globals.h"
#include "LavaSimulator.h"
#include "Defines.h"
#include "World.h"


cLavaSimulator::cLavaSimulator(cWorld *a_World)
	: cFluidSimulator(a_World)
{
	m_FluidBlock = E_BLOCK_LAVA;
	m_StationaryFluidBlock = E_BLOCK_STATIONARY_LAVA;
	m_MaxHeight = 6;
	m_FlowReduction = 2;
}


bool cLavaSimulator::IsAllowedBlock(BLOCKTYPE a_BlockType)
{
	return IsBlockLava(a_BlockType);
}