2018-01-09 15:25:29 +00:00
|
|
|
#ifndef GAMEOBJECT_HPP_INCLUDED
|
|
|
|
#define GAMEOBJECT_HPP_INCLUDED
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#include "../JavaClass/Object.hpp"
|
|
|
|
#include "../JavaClass/Class.hpp"
|
|
|
|
#include <cstdint>
|
|
|
|
#include "Renderable.hpp"
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
namespace Internal
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-03-18 14:38:29 +00:00
|
|
|
class GameObject : public Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
GameObject(const void* Obj);
|
2018-12-27 18:17:09 +00:00
|
|
|
|
|
|
|
GameObject() = default;
|
|
|
|
GameObject(GameObject&& Obj) = default;
|
|
|
|
GameObject(const GameObject& Obj) = default;
|
|
|
|
GameObject& operator=(GameObject&& Obj) = default;
|
|
|
|
GameObject& operator=(const GameObject& Obj) = default;
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
static Class GetClass();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
std::int32_t GetAngle() const;
|
|
|
|
std::int32_t GetFlags() const;
|
2018-05-10 14:03:33 +00:00
|
|
|
std::int64_t GetHash() const;
|
2018-03-18 14:38:29 +00:00
|
|
|
std::int32_t GetHeight() const;
|
|
|
|
std::int32_t GetOffsetX() const;
|
|
|
|
std::int32_t GetOffsetY() const;
|
|
|
|
std::int32_t GetPlane() const;
|
|
|
|
std::int32_t GetRelativeX() const;
|
|
|
|
std::int32_t GetRelativeY() const;
|
|
|
|
Renderable GetRenderable() const;
|
|
|
|
std::int32_t GetX() const;
|
|
|
|
std::int32_t GetY() const;
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
};
|
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-01-09 15:25:29 +00:00
|
|
|
#endif // GAMEOBJECT_HPP_INCLUDED
|