Release 0.21
parent
41b3bd77d9
commit
62875f1bb1
|
@ -12,7 +12,7 @@ class ByteBuffer : public Object
|
|||
ByteBuffer(const ByteBuffer& B);
|
||||
|
||||
std::int32_t GetCapacity() const;
|
||||
std::int8_t Get(std::int32_t Index) const; // still need to implement.
|
||||
std::int8_t Get(std::int32_t Index) const;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ class Object
|
|||
bool InstanceOf(Class C) const;
|
||||
operator bool() const;
|
||||
operator void*() const;
|
||||
virtual ~Object();
|
||||
~Object();
|
||||
};
|
||||
|
||||
#endif // OBJECT_HPP_INCLUDED
|
||||
|
|
|
@ -40,7 +40,10 @@
|
|||
#include "Models/Players.hpp"
|
||||
#include "Models/WallObjects.hpp"
|
||||
|
||||
#include "Interactable/DecorativeObject.hpp"
|
||||
#include "Interactable/GameObject.hpp"
|
||||
#include "Interactable/GroundObject.hpp"
|
||||
#include "Interactable/WallObject.hpp"
|
||||
|
||||
//
|
||||
// DoxyGen
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
#ifndef INTERACTABLEDECORATIVEOBJECT_HPP_INCLUDED
|
||||
#define INTERACTABLEDECORATIVEOBJECT_HPP_INCLUDED
|
||||
|
||||
#include "../../Core/Classes/DecorativeObject.hpp"
|
||||
#include "../../Core/Classes/ObjectInfo.hpp"
|
||||
#include "../../Core/Types/Tile.hpp"
|
||||
#include "../../Core/Types/Point.hpp"
|
||||
#include "../../Core/Types/Convex.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
namespace Interactable
|
||||
{
|
||||
class DecorativeObject : public Internal::DecorativeObject
|
||||
{
|
||||
public:
|
||||
DecorativeObject(const Internal::DecorativeObject& G);
|
||||
DecorativeObject(const DecorativeObject& G);
|
||||
|
||||
std::int32_t GetID() const;
|
||||
std::string GetName() const;
|
||||
Tile GetTile() const;
|
||||
Internal::ObjectInfo GetInfo() const;
|
||||
std::vector<Point> GetModel() const;
|
||||
Convex GetConvex() const;
|
||||
|
||||
operator Internal::DecorativeObject() const;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif // INTERACTABLEDECORATIVEOBJECT_HPP_INCLUDED
|
|
@ -23,6 +23,7 @@ namespace Interactable
|
|||
std::vector<Point> GetModel() const;
|
||||
Convex GetConvex() const;
|
||||
|
||||
operator Internal::GameObject() const;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
#ifndef INTERACTABLEGROUNDOBJECT_HPP_INCLUDED
|
||||
#define INTERACTABLEGROUNDOBJECT_HPP_INCLUDED
|
||||
|
||||
#include "../../Core/Classes/GroundObject.hpp"
|
||||
#include "../../Core/Classes/ObjectInfo.hpp"
|
||||
#include "../../Core/Types/Tile.hpp"
|
||||
#include "../../Core/Types/Point.hpp"
|
||||
#include "../../Core/Types/Convex.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
namespace Interactable
|
||||
{
|
||||
class GroundObject : public Internal::GroundObject
|
||||
{
|
||||
public:
|
||||
GroundObject(const Internal::GroundObject& G);
|
||||
GroundObject(const GroundObject& G);
|
||||
|
||||
std::int32_t GetID() const;
|
||||
std::string GetName() const;
|
||||
Tile GetTile() const;
|
||||
Internal::ObjectInfo GetInfo() const;
|
||||
std::vector<Point> GetModel() const;
|
||||
Convex GetConvex() const;
|
||||
|
||||
operator Internal::GroundObject() const;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // INTERACTABLEGROUNDOBJECT_HPP_INCLUDED
|
|
@ -0,0 +1,31 @@
|
|||
#ifndef INTERACTABLEWALLOBJECT_HPP_INCLUDED
|
||||
#define INTERACTABLEWALLOBJECT_HPP_INCLUDED
|
||||
|
||||
#include "../../Core/Classes/WallObject.hpp"
|
||||
#include "../../Core/Classes/ObjectInfo.hpp"
|
||||
#include "../../Core/Types/Tile.hpp"
|
||||
#include "../../Core/Types/Point.hpp"
|
||||
#include "../../Core/Types/Convex.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
namespace Interactable
|
||||
{
|
||||
class WallObject : public Internal::WallObject
|
||||
{
|
||||
public:
|
||||
WallObject(const Internal::WallObject& G);
|
||||
WallObject(const WallObject& G);
|
||||
|
||||
std::int32_t GetID() const;
|
||||
std::string GetName() const;
|
||||
Tile GetTile() const;
|
||||
Internal::ObjectInfo GetInfo() const;
|
||||
std::vector<Point> GetModel() const;
|
||||
Convex GetConvex() const;
|
||||
|
||||
operator Internal::WallObject() const;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif // INTERACTABLEWALLOBJECT_HPP_INCLUDED
|
Binary file not shown.
Loading…
Reference in New Issue