From d09fc874990768c6d2e37343698d10f2dfd2d4ca Mon Sep 17 00:00:00 2001 From: John McCardle Date: Sat, 12 Aug 2023 15:37:46 -0400 Subject: [PATCH] Cleanup: remove Item class/component. This may be added back later, but it's not in the EngJam 2023 plan and is being removed as a noisy, underdeveloped concept. --- src/Components.h | 2 +- src/Item.cpp | 3 --- src/Item.h | 13 ------------- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 src/Item.cpp delete mode 100644 src/Item.h diff --git a/src/Components.h b/src/Components.h index 16aa657..1ff7409 100644 --- a/src/Components.h +++ b/src/Components.h @@ -3,7 +3,7 @@ #include "Common.h" #include "IndexSprite.h" #include "Grid.h" -#include "Item.h" +//#include "Item.h" #include "Python.h" #include diff --git a/src/Item.cpp b/src/Item.cpp deleted file mode 100644 index 6de77be..0000000 --- a/src/Item.cpp +++ /dev/null @@ -1,3 +0,0 @@ -#include "Item.h" - -int Item::next_id; diff --git a/src/Item.h b/src/Item.h deleted file mode 100644 index 054df6b..0000000 --- a/src/Item.h +++ /dev/null @@ -1,13 +0,0 @@ -#pragma once -#include "Common.h" -#include "Components.h" -#include "Python.h" - -class Item -{ -public: - bool stackable; - static int next_id; - std::string name; - PyObject* object; -};