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();
|
|
|
|
GraphicsObject(const void* Obj);
|
|
|
|
GraphicsObject(const GraphicsObject& G);
|
|
|
|
static Class GetClass();
|
2018-01-09 15:25:29 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
Animation GetAnimation() const;
|
|
|
|
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
|