LCOV - code coverage report
Current view: top level - src - SpriteGameObject.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 0.0 % 5 0
Test Date: 2026-04-03 02:26:39 Functions: 0.0 % 8 0

            Line data    Source code
       1              : /**
       2              :  * @file SpriteGameObject.h
       3              :  * @brief manage 2D sprite (texture)-based game objects.
       4              :  *
       5              :  * Sprite game object.
       6              :  */
       7              : #ifndef _SPRITE_GAME_OBJECT_H_
       8              : #define _SPRITE_GAME_OBJECT_H_
       9              : 
      10              : #include "constants.h"
      11              : #include "Object.h"
      12              : 
      13              : class SpriteGameObject : public Object {
      14              :   public:
      15              :     SpriteGameObject();
      16              : 
      17            0 :     void printTypeName() { PRINT_DEBUG("sprite\n"); }
      18              : 
      19              :     void draw(Object*);
      20            0 :     void drawOutline(Object*) {}; // Camera*
      21            0 :     void drawShadow (Vector*) {}
      22              : 
      23            0 :     void handleCollision(Object*) {};
      24            0 :     void update(Vector*)          {};
      25              :     void prepare()                {};
      26              : 
      27              :     void setTexture(const std::string&);
      28              : 
      29              :   private:
      30              :     int textureId;
      31              : };
      32              : #endif
        

Generated by: LCOV version 2.4-0