Skip to content

Commit

Permalink
BLUGA-GRAPHICS: Fix nodiscard
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Nov 2, 2023
1 parent 0d5538b commit e444628
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions libs/B-luga-graphics/src/RaylibImpl/Graphics/Graphics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ namespace Raylib {

SpriteImpl(std::unique_ptr<RayImage> image, float width, float height);

void unloadSprite() override;

unsigned int getId() const override;

float getWidth() const override;
Expand Down Expand Up @@ -112,21 +110,21 @@ namespace Raylib {

void drawPro(Vector2 origin, float rotation, float spacing) override;

float x() const override;
[[nodiscard]] float x() const override;

float y() const override;
[[nodiscard]] float y() const override;

float getFontSize() const override;
[[nodiscard]] float getFontSize() const override;

void setFontSize(float fontSize) override;

Vector2 getPosition() const override;
[[nodiscard]] Vector2 getPosition() const override;

void setPixelPosition(Vector2 position) override;

void setColor(Color color) override;

Color getColor() const override;
[[nodiscard]] Color getColor() const override;

void setCurrentFontSize(float fontSize) override;

Expand Down

0 comments on commit e444628

Please sign in to comment.