summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Compoments/AIComponent.h14
-rw-r--r--src/Entities/Compoments/AttackComponent.h14
-rw-r--r--src/Entities/Compoments/EnvironmentComponent.h20
-rw-r--r--src/Entities/Compoments/InteractionComponent.h20
-rw-r--r--src/Entities/Compoments/MobModel.h6
-rw-r--r--src/Entities/Compoments/ModelComponent.h18
-rw-r--r--src/Entities/Compoments/MovementComponent.h12
7 files changed, 0 insertions, 104 deletions
diff --git a/src/Entities/Compoments/AIComponent.h b/src/Entities/Compoments/AIComponent.h
deleted file mode 100644
index 1659e2304..000000000
--- a/src/Entities/Compoments/AIComponent.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#pragma once
-
-#include "../Entity.h"
-
-class cAIComponent
-{
-protected:
- cEntity * m_Self;
-public:
- cAIComponent(cEntity * a_Entity) : m_Self(a_Entity){}
-
- virtual void Tick(float a_Dt, cChunk & a_Chunk){}
-
-};
diff --git a/src/Entities/Compoments/AttackComponent.h b/src/Entities/Compoments/AttackComponent.h
deleted file mode 100644
index 080f764b6..000000000
--- a/src/Entities/Compoments/AttackComponent.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#pragma once
-
-#include "../Entity.h"
-
-class cAttackComponent
-{
-protected:
- cEntity * m_Self;
-public:
- cAttackComponent(cEntity * a_Entity) : m_Self(a_Entity){}
-
- virtual void OnAttackEntity(cEntity * a_Entity){}
-
-};
diff --git a/src/Entities/Compoments/EnvironmentComponent.h b/src/Entities/Compoments/EnvironmentComponent.h
deleted file mode 100644
index b080520f2..000000000
--- a/src/Entities/Compoments/EnvironmentComponent.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#include "../Entity.h"
-
-class cEnvironmentComponent
-{
-protected:
- cEntity * m_Self;
-public:
- cEnvironmentComponent(cEntity * a_Entity) : m_Self(a_Entity){}
-
- virtual void Tick(float a_Dt, cChunk & a_Chunk){}
-
- virtual void OnCollisionWithBlock(Vector3i & a_Position, BLOCKTYPE a_Block){}
- virtual void OnStartedBurning(){}
- virtual void OnFinishedBurning(){}
- virtual void OnStartedDrowning(){}
- virtual void OnFinishedDrowning(){}
-
-};
diff --git a/src/Entities/Compoments/InteractionComponent.h b/src/Entities/Compoments/InteractionComponent.h
deleted file mode 100644
index b8b99de79..000000000
--- a/src/Entities/Compoments/InteractionComponent.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#include "../Entity.h"
-
-class cInteractionComponent
-{
-protected:
- cEntity * m_Self;
-public:
- cInteractionComponent(cEntity * a_Entity) : m_Self(a_Entity){}
-
- virtual void OnCollisionWithEntity(cEntity * a_Entity){}
-
- virtual void OnTakeDamage(TakeDamageInfo & a_TDI){}
- virtual void OnRightClicked(){}
- virtual void OnKilled(cEntity * a_Killer = NULL){}
- // virtual void OnPickup(){}
- // virtual void OnDestroy(){}
-
-};
diff --git a/src/Entities/Compoments/MobModel.h b/src/Entities/Compoments/MobModel.h
deleted file mode 100644
index 576c46c31..000000000
--- a/src/Entities/Compoments/MobModel.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "ModelComponent.h"
-
-class cMobModel : public cModelComponent {
- int m_MobType;
- cMobModel(cEntity * a_Entity, int a_MobType): cModelComponent(a_Entity), m_MobType(a_MobType){}
-} \ No newline at end of file
diff --git a/src/Entities/Compoments/ModelComponent.h b/src/Entities/Compoments/ModelComponent.h
deleted file mode 100644
index bbc4bcc21..000000000
--- a/src/Entities/Compoments/ModelComponent.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#pragma once
-
-#include "../Entity.h"
-
-class cModelComponent
-{
-protected:
- cEntity * m_Self;
-public:
- cModelComponent(cEntity * a_Entity) : m_Self(a_Entity){}
- virtual void SpawnOn(cClientHandle & a_Client){}
- virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL){}
-
- virtual void HandlePhysics(float a_Dt, cChunk & a_Chunk){}
- virtual void OnCollisionWithEntity(cEntity * a_Entity){}
-
-
-};
diff --git a/src/Entities/Compoments/MovementComponent.h b/src/Entities/Compoments/MovementComponent.h
deleted file mode 100644
index a9896c3b0..000000000
--- a/src/Entities/Compoments/MovementComponent.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#pragma once
-
-#include "../Entity.h"
-
-class cMovementComponent
-{
-protected:
- cEntity * m_Self;
-public:
- cMovementComponent(cEntity * a_Entity) : m_Self(a_Entity){}
-
-};