/* ************************************************************************** */ /* _____ _ __ ___ __ */ /* Render.hpp | ___(_)/ _| ___ ( _ ) / /_ */ /* Project: C-Engine | |_ | | |_ / _ \/ _ \| '_ \ */ /* | _| | | _| __/ (_) | (_) | */ /* Author: Fife |_| |_|_| \___|\___/ \___/ */ /* */ /* ************************************************************************** */ #ifndef CENGINE_RENDER_HPP #define CENGINE_RENDER_HPP #include "..\C-Engine\CEngine.hpp" class Render { public: Render(Object * Pointeur); //Constructeur ~Render(); void SetRender(Animation * v, int nb); void SetRender(Animation & v); void CopieRender(Animation * v, int nb); void CopieRender(Animation & v); void SetIt( int v ); void ForceSetIt( int v ); int GetIt(); void ReverseRender(bool); bool GetReverse(); void SetDirection(int); int GetDirection(); int GetSizeY(); int GetSizeX(); int GetBlitX(); int GetBlitY(); bool GetActivate(); void ActivateRender(); void DeActivateRender(); void DrawObject(); private: Object * Conteneur; Animation * TabAnim; int nb_anim; int iterateur; int time; int direction; bool reverse; bool copie; bool activate; }; #endif