Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/ANAL/IEntity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace ANAL
* @brief Set the entity position
* @note The rendering is a grid of 10x10, thus the value of any position shouldn't exceed 9 or the entity would be rendered offscreen!
*/
virtual void setPos(Vector2<int>) = 0;
virtual void setPos(const Vector2<int>&) = 0;

/**
* @brief Get the current entity position
Expand All @@ -43,7 +43,7 @@ namespace ANAL
/**
* @brief Set the entity asset used when rendering
*/
virtual void setAsset(IAsset &asset) = 0;
virtual void setAsset(const IAsset &asset) = 0;

/**
* @brief Get the current entity asset
Expand Down