AlpacaLibrary/Include/Core/Classes/DynamicObject.hpp

37 lines
1.0 KiB
C++
Raw Normal View History

2018-01-09 15:25:29 +00:00
#ifndef DYNAMICOBJECT_HPP_INCLUDED
#define DYNAMICOBJECT_HPP_INCLUDED
#include "Renderable.hpp"
#include "../JavaClass/Class.hpp"
2019-07-18 17:54:18 +00:00
#include "Animation.hpp"
2018-01-09 15:25:29 +00:00
#include <cstdint>
2018-03-18 14:38:29 +00:00
namespace Internal
2018-01-09 15:25:29 +00:00
{
2018-03-18 14:38:29 +00:00
class DynamicObject : public Renderable
{
public:
DynamicObject(const void* Obj);
2018-12-27 18:17:09 +00:00
DynamicObject() = default;
DynamicObject(DynamicObject&& Obj) = default;
DynamicObject(const DynamicObject& Obj) = default;
DynamicObject& operator=(DynamicObject&& Obj) = default;
DynamicObject& operator=(const DynamicObject& Obj) = default;
2018-03-18 14:38:29 +00:00
static Class GetClass();
2018-01-09 15:25:29 +00:00
2019-07-18 17:54:18 +00:00
Animation GetAnimation() const;
std::int32_t GetAnimationFrame() const;
2018-03-18 14:38:29 +00:00
std::int32_t GetID() const;
std::int32_t GetOrientation() const;
2019-07-18 17:54:18 +00:00
std::int32_t GetPlane() const;
2018-03-18 14:38:29 +00:00
std::int32_t GetType() const;
2019-07-18 17:54:18 +00:00
std::int32_t GetX() const;
std::int32_t GetY() const;
2018-03-18 14:38:29 +00:00
};
}
2018-01-09 15:25:29 +00:00
#endif // DYNAMICOBJECT_HPP_INCLUDED