diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 10:24:29 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 10:24:29 +0200 |
commit | cd1e6f8ef028ea2a24e52190d305a62e6cfa62ab (patch) | |
tree | 48b120ac8db9c8670d477401e34c79eb913b1b12 /src | |
parent | Merge remote-tracking branch 'origin/master' into potions (diff) | |
download | cuberite-cd1e6f8ef028ea2a24e52190d305a62e6cfa62ab.tar cuberite-cd1e6f8ef028ea2a24e52190d305a62e6cfa62ab.tar.gz cuberite-cd1e6f8ef028ea2a24e52190d305a62e6cfa62ab.tar.bz2 cuberite-cd1e6f8ef028ea2a24e52190d305a62e6cfa62ab.tar.lz cuberite-cd1e6f8ef028ea2a24e52190d305a62e6cfa62ab.tar.xz cuberite-cd1e6f8ef028ea2a24e52190d305a62e6cfa62ab.tar.zst cuberite-cd1e6f8ef028ea2a24e52190d305a62e6cfa62ab.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/WitherSkullEntity.cpp | 11 | ||||
-rw-r--r-- | src/Entities/WitherSkullEntity.h | 5 |
2 files changed, 13 insertions, 3 deletions
diff --git a/src/Entities/WitherSkullEntity.cpp b/src/Entities/WitherSkullEntity.cpp index 03e36a3f4..a7e774bba 100644 --- a/src/Entities/WitherSkullEntity.cpp +++ b/src/Entities/WitherSkullEntity.cpp @@ -1,3 +1,8 @@ + +// WitherSkullEntity.cpp + +// Implements the cWitherSkullEntity class representing the entity used by both blue and black wither skulls + #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "WitherSkullEntity.h" @@ -8,7 +13,7 @@ cWitherSkullEntity::cWitherSkullEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const Vector3d & a_Speed) : -super(pkWitherSkull, a_Creator, a_X, a_Y, a_Z, 0.25, 0.25) + super(pkWitherSkull, a_Creator, a_X, a_Y, a_Z, 0.25, 0.25) { SetSpeed(a_Speed); } @@ -38,3 +43,7 @@ void cWitherSkullEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_H Destroy(true); } + + + + diff --git a/src/Entities/WitherSkullEntity.h b/src/Entities/WitherSkullEntity.h index 85ba55d4d..8b3639802 100644 --- a/src/Entities/WitherSkullEntity.h +++ b/src/Entities/WitherSkullEntity.h @@ -1,6 +1,7 @@ -// + // WitherSkullEntity.h -// + +// Declares the cWitherSkullEntity class representing the entity used by both blue and black wither skulls #pragma once |