AlpacaLibary  1.63
A closed source C++ bot for OSRS
Sprite.hpp
Go to the documentation of this file.
1 #ifndef SPRITE_HPP_INCLUDED
2 #define SPRITE_HPP_INCLUDED
3 
4 #include "../JavaClass/Object.hpp"
5 #include "../JavaClass/Class.hpp"
6 #include <cstdint>
7 #include <vector>
8 
9 namespace Internal
10 {
11  class Sprite : public Object
12  {
13  public:
14  Sprite(const void* Obj);
15 
16  Sprite() = default;
17  Sprite(Sprite&& Obj) = default;
18  Sprite(const Sprite& Obj) = default;
19  Sprite& operator=(Sprite&& Obj) = default;
20  Sprite& operator=(const Sprite& Obj) = default;
21 
22  static Class GetClass();
23 
24  std::int32_t GetHeight() const;
25  std::vector<std::int32_t> GetPixels() const;
26  std::int32_t GetWidth() const;
27 
28  };
29 }
30 
31 #endif // SPRITE_HPP_INCLUDED
Sprite(const void *Obj)
static Class GetClass()
Sprite & operator=(Sprite &&Obj)=default
Sprite & operator=(const Sprite &Obj)=default
Sprite()=default
std::int32_t GetWidth() const
Sprite(Sprite &&Obj)=default
Sprite(const Sprite &Obj)=default
std::vector< std::int32_t > GetPixels() const
std::int32_t GetHeight() const