2017-12-25 23:49:48 +00:00
|
|
|
#ifndef SPRITE_HPP_INCLUDED
|
|
|
|
#define SPRITE_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "../JavaClass/Object.hpp"
|
|
|
|
#include "../JavaClass/Class.hpp"
|
|
|
|
#include <cstdint>
|
|
|
|
#include <vector>
|
|
|
|
|
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 Sprite : public Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Sprite();
|
|
|
|
Sprite(const void* Obj);
|
|
|
|
Sprite(const Sprite& S);
|
|
|
|
static Class GetClass();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
std::int32_t GetHeight() const;
|
|
|
|
std::vector<std::int32_t> GetPixels() const;
|
|
|
|
std::int32_t GetWidth() 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
|
|
|
|
|
|
|
#endif // SPRITE_HPP_INCLUDED
|