Fixed formatting for cWitherSkullEntity
This commit is contained in:
parent
e66b81b395
commit
cd1e6f8ef0
@ -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 "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||||
|
|
||||||
#include "WitherSkullEntity.h"
|
#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) :
|
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);
|
SetSpeed(a_Speed);
|
||||||
}
|
}
|
||||||
@ -38,3 +43,7 @@ void cWitherSkullEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_H
|
|||||||
|
|
||||||
Destroy(true);
|
Destroy(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
//
|
|
||||||
// WitherSkullEntity.h
|
// WitherSkullEntity.h
|
||||||
//
|
|
||||||
|
// Declares the cWitherSkullEntity class representing the entity used by both blue and black wither skulls
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user