AlpacaLibrary/Include/Core/Classes/GraphicsObject.hpp

36 lines
1007 B
C++
Raw Normal View History

2018-01-09 15:25:29 +00:00
#ifndef GRAPHICSOBJECT_HPP_INCLUDED
#define GRAPHICSOBJECT_HPP_INCLUDED
#include "Renderable.hpp"
#include "../JavaClass/Class.hpp"
#include "Animation.hpp"
#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 GraphicsObject : public Renderable
{
public:
GraphicsObject(const void* Obj);
2018-12-27 18:17:09 +00:00
GraphicsObject() = default;
GraphicsObject(GraphicsObject&& Obj) = default;
GraphicsObject(const GraphicsObject& Obj) = default;
GraphicsObject& operator=(GraphicsObject&& Obj) = default;
GraphicsObject& operator=(const GraphicsObject& Obj) = default;
2018-03-18 14:38:29 +00:00
static Class GetClass();
2018-01-09 15:25:29 +00:00
2018-03-18 14:38:29 +00:00
std::int32_t GetAnimationFrame() const;
bool GetFinished() const;
std::int32_t GetHeight() const;
std::int32_t GetID() const;
std::int32_t GetPlane() const;
std::int32_t GetX() const;
std::int32_t GetY() const;
2018-01-09 15:25:29 +00:00
2018-03-18 14:38:29 +00:00
};
}
2018-01-09 15:25:29 +00:00
#endif // GRAPHICSOBJECT_HPP_INCLUDED