forked from Kolyah35/minecraft-pe-0.6.1
the whole game
This commit is contained in:
26
src/client/particle/SplashParticle.h
Executable file
26
src/client/particle/SplashParticle.h
Executable file
@@ -0,0 +1,26 @@
|
||||
#ifndef NET_MINECRAFT_CLIENT_PARTICLE__SplashParticle_H__
|
||||
#define NET_MINECRAFT_CLIENT_PARTICLE__SplashParticle_H__
|
||||
|
||||
//package net.minecraft.client.particle;
|
||||
|
||||
#include "WaterDropParticle.h"
|
||||
#include "../../world/level/Level.h"
|
||||
|
||||
class SplashParticle: public WaterDropParticle
|
||||
{
|
||||
typedef WaterDropParticle super;
|
||||
public:
|
||||
SplashParticle(Level* level, float x, float y, float z, float xa, float ya, float za)
|
||||
: super(level, x, y, z)
|
||||
{
|
||||
gravity = 0.04f;
|
||||
tex += 1;
|
||||
if (ya == 0 && (xa != 0 || za != 0)) {
|
||||
xd = xa;
|
||||
yd = ya + 0.1;
|
||||
zd = za;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_CLIENT_PARTICLE__SplashParticle_H__*/
|
||||
Reference in New Issue
Block a user