neteja tidy a source/game (fixes d'arrel: BulletKind enum class, signatures, branches)
This commit is contained in:
@@ -53,7 +53,7 @@ class Item {
|
||||
~Item();
|
||||
|
||||
Item(const Item &) = delete;
|
||||
Item &operator=(const Item &) = delete;
|
||||
auto operator=(const Item &) -> Item & = delete;
|
||||
|
||||
// Centra el objeto en la posición X
|
||||
void allignTo(int x);
|
||||
@@ -74,26 +74,26 @@ class Item {
|
||||
void checkTimeToLive();
|
||||
|
||||
// Obtiene del valor de la variable
|
||||
float getPosX();
|
||||
[[nodiscard]] auto getPosX() const -> float;
|
||||
|
||||
// Obtiene del valor de la variable
|
||||
float getPosY();
|
||||
[[nodiscard]] auto getPosY() const -> float;
|
||||
|
||||
// Obtiene del valor de la variable
|
||||
int getWidth();
|
||||
[[nodiscard]] auto getWidth() const -> int;
|
||||
|
||||
// Obtiene del valor de la variable
|
||||
int getHeight();
|
||||
[[nodiscard]] auto getHeight() const -> int;
|
||||
|
||||
// Obtiene del valor de la variable
|
||||
int getClass();
|
||||
[[nodiscard]] auto getClass() const -> int;
|
||||
|
||||
// Obtiene el valor de la variable
|
||||
bool isEnabled();
|
||||
[[nodiscard]] auto isEnabled() const -> bool;
|
||||
|
||||
// Obtiene el circulo de colisión
|
||||
circle_t &getCollider();
|
||||
auto getCollider() -> circle_t &;
|
||||
|
||||
// Informa si el objeto ha colisionado con el suelo
|
||||
bool isOnFloor();
|
||||
[[nodiscard]] auto isOnFloor() const -> bool;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user