48 virtual void Tick(std::chrono::milliseconds a_Dt,
cChunk & a_Chunk)
override;
#define CLASS_PROTODEF(classname)
Vector3i GetBeamTarget() const
void SetDisplayBeam(bool a_DisplayBeam)
virtual void KilledBy(TakeDamageInfo &a_TDI) override
Called when the health drops below zero.
void SetShowBottom(bool a_ShowBottom)
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk &a_Chunk) override
bool DisplaysBeam() const
If the EnderCrystal should send it's beam to the client and save it.
virtual void SpawnOn(cClientHandle &a_ClientHandle) override
Descendants override this function to send a command to the specified client to spawn the entity on t...
void SetBeamTarget(Vector3i a_BeamTarget)
cEnderCrystal(Vector3d a_Pos, bool a_ShowBottom)
cEntity(eEntityType a_EntityType, Vector3d a_Pos, float a_Width, float a_Height)