37 static std::vector<renderable*> _instances;
38 SDL_FRect _screen_area;
42#ifdef __WIZARD_ENGINE_INTERNAL__
49 [[nodiscard]]
static std::vector<renderable*>
const& instances();
58 [[nodiscard]] SDL_FRect
const& screen_area()
const;
60#ifdef __WIZARD_ENGINE_INTERNAL__
67 void set_screen_area(SDL_FRect
const& screen_area);
76 [[nodiscard]]
float screen_angle()
const;
78#ifdef __WIZARD_ENGINE_INTERNAL__
85 void set_screen_angle(
float screen_angle);
94 [[nodiscard]]
virtual float x()
const = 0;
102 [[nodiscard]]
virtual float y()
const = 0;
111 [[nodiscard]]
virtual float z()
const = 0;
119 [[nodiscard]]
virtual float angle()
const = 0;
127 [[nodiscard]]
virtual float width()
const = 0;
135 [[nodiscard]]
virtual float height()
const = 0;
143 [[nodiscard]]
virtual bool spatial()
const = 0;
151 [[nodiscard]]
virtual std::shared_ptr<wze::texture>
const&
160 [[nodiscard]]
virtual uint8_t color_r()
const = 0;
168 [[nodiscard]]
virtual uint8_t color_g()
const = 0;
176 [[nodiscard]]
virtual uint8_t color_b()
const = 0;
184 [[nodiscard]]
virtual uint8_t color_a()
const = 0;
200 [[nodiscard]]
virtual bool visible()
const = 0;
208 [[nodiscard]]
virtual uint8_t priority()
const = 0;