From d86f9abde72d5950e193daa44fd63d932c9e53b9 Mon Sep 17 00:00:00 2001 From: Bilal Kahraman Date: Mon, 26 Aug 2024 23:53:52 +0300 Subject: [PATCH] Lint --- src/Characters/include/Characters/character.h | 1 - src/GameObjects/include/GameObjects/game_object.h | 2 +- src/Graphics/include/Graphics/renderer.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Characters/include/Characters/character.h b/src/Characters/include/Characters/character.h index b5f184c..4972461 100644 --- a/src/Characters/include/Characters/character.h +++ b/src/Characters/include/Characters/character.h @@ -41,7 +41,6 @@ class ICharacter virtual void SetPosition(Position2D position) = 0; virtual Position2D GetPosition() const = 0; - }; } // namespace wolfenstein diff --git a/src/GameObjects/include/GameObjects/game_object.h b/src/GameObjects/include/GameObjects/game_object.h index 7726665..c12a633 100644 --- a/src/GameObjects/include/GameObjects/game_object.h +++ b/src/GameObjects/include/GameObjects/game_object.h @@ -32,7 +32,7 @@ class IGameObject virtual void Update(double delta_time) = 0; virtual void SetPose(const vector2d& pose) = 0; - + virtual ObjectType GetObjectType() const = 0; virtual vector2d GetPose() const = 0; virtual std::string GetId() const = 0; diff --git a/src/Graphics/include/Graphics/renderer.h b/src/Graphics/include/Graphics/renderer.h index 7fd93ab..6b9c4fd 100644 --- a/src/Graphics/include/Graphics/renderer.h +++ b/src/Graphics/include/Graphics/renderer.h @@ -105,7 +105,7 @@ class Renderer void RenderObjects(const std::vector>& objects, const std::shared_ptr camera_ptr); void RenderPaths(const std::vector>& enemies); - + void DrawLine(vector2i start, vector2i end); SDL_Renderer* renderer_;