17#ifndef _FGE_C_OBJRENDERMAP_HPP_INCLUDED
18#define _FGE_C_OBJRENDERMAP_HPP_INCLUDED
20#include "FastEngine/fge_extern.hpp"
21#include "C_object.hpp"
22#include "FastEngine/C_tunnel.hpp"
23#include "FastEngine/graphic/C_renderTexture.hpp"
25#define FGE_OBJRENDERMAP_CLASSNAME "FGE:OBJ:RENDERMAP"
45 FGE_OBJ_UPDATE_DECLARE
63 void updatePositions();
64 void updateTexCoords();
70 fge::Vector2u g_windowSize;
Definition C_color.hpp:35
Definition C_objRenderMap.hpp:31
fge::RectFloat getGlobalBounds() const override
Get the global bounds of the object.
void unpack(fge::net::Packet const &pck) override
Unpack the object from a packet.
char const * getClassName() const override
Get the unique class name of the object.
void removed(fge::Scene &scene) override
Method called when the object is removed from a scene.
void first(fge::Scene &scene) override
Method called when the object is added to a scene for initialization purposes.
void pack(fge::net::Packet &pck) override
Pack the object into a packet.
void load(nlohmann::json &jsonObject, fge::Scene *scene) override
Load the object from a json object.
fge::Object * copy() override
Duplicate the object.
Definition C_objRenderMap.hpp:37
void save(nlohmann::json &jsonObject, fge::Scene *scene) override
Save the object to a json object.
fge::RectFloat getLocalBounds() const override
Get the local bounds of the object (without any transformations)
char const * getReadableClassName() const override
Get a readable version of the class name.
The Object class is the base class for all objects in the engine.
Definition C_object.hpp:102
Definition C_renderTarget.hpp:56
Definition C_renderTexture.hpp:41
A scene contain a collection of object and handle them.
Definition C_scene.hpp:450
This class is a useful utility to "link" multiple objects around.
Definition C_subscription.hpp:150
Define a camera in a 2D scene.
Definition C_view.hpp:43
Definition C_packet.hpp:70
Definition C_vertexBuffer.hpp:45