diff --git a/Include/Core/Classes/ItemLayer.hpp b/Include/Core/Classes/ItemLayer.hpp new file mode 100644 index 0000000..13be183 --- /dev/null +++ b/Include/Core/Classes/ItemLayer.hpp @@ -0,0 +1,30 @@ +#ifndef ITEMLAYER_HPP_INCLUDED +#define ITEMLAYER_HPP_INCLUDED + +#include "../JavaClass/Object.hpp" +#include "../JavaClass/Class.hpp" +#include +#include + +namespace Internal +{ + class ItemLayer : public Object + { + public: + ItemLayer(const void* Obj); + + ItemLayer() = default; + ItemLayer(ItemLayer&& Obj) = default; + ItemLayer(const ItemLayer& Obj) = default; + ItemLayer& operator=(ItemLayer&& Obj) = default; + ItemLayer& operator=(const ItemLayer& Obj) = default; + + static Class GetClass(); + + std::int32_t GetHeight() const; + + }; +} + + +#endif // ITEMLAYER_HPP_INCLUDED diff --git a/Include/Core/Classes/SceneTile.hpp b/Include/Core/Classes/SceneTile.hpp index 2cc203a..556f818 100644 --- a/Include/Core/Classes/SceneTile.hpp +++ b/Include/Core/Classes/SceneTile.hpp @@ -7,6 +7,7 @@ #include #include "GameObject.hpp" #include "GroundObject.hpp" +#include "ItemLayer.hpp" #include #include "WallObject.hpp" @@ -29,6 +30,7 @@ namespace Internal std::vector GetGameObjects() const; GameObject GetGameObjects(std::int32_t I) const; GroundObject GetGroundObject() const; + ItemLayer GetItemLayer() const; std::int32_t GetPlane() const; WallObject GetWallObject() const; std::int32_t GetX() const; diff --git a/Include/Core/Internal.hpp b/Include/Core/Internal.hpp index 5d2bf55..8217d50 100644 --- a/Include/Core/Internal.hpp +++ b/Include/Core/Internal.hpp @@ -66,6 +66,7 @@ #include "Classes/GraphicsObject.hpp" #include "Classes/GroundItem.hpp" #include "Classes/GroundObject.hpp" +#include "Classes/ItemLayer.hpp" #include "Classes/HashTable.hpp" #include "Classes/HealthBar.hpp" #include "Classes/HealthInfo.hpp" diff --git a/Library/libAlpacaLibrary.a b/Library/libAlpacaLibrary.a index e25c87f..67a232a 100644 Binary files a/Library/libAlpacaLibrary.a and b/Library/libAlpacaLibrary.a differ