mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-30 21:09:19 +01:00
Fixed disrepancies between a few getter and setters.
This commit is contained in:
parent
61ccfb443f
commit
dbc5b1df35
@ -27,7 +27,7 @@ SOFTWARE.
|
||||
int LootDataBase::get_loot_db_size() const {
|
||||
return _loot_dbs.size();
|
||||
}
|
||||
void LootDataBase::set_loot_db_size(const float value) {
|
||||
void LootDataBase::set_loot_db_size(const int value) {
|
||||
_loot_dbs.resize(value);
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ class LootDataBase : public Resource {
|
||||
|
||||
public:
|
||||
int get_loot_db_size() const;
|
||||
void set_loot_db_size(const float value);
|
||||
void set_loot_db_size(const int value);
|
||||
|
||||
int get_items_size() const;
|
||||
void set_items_size(const int value);
|
||||
|
@ -29,7 +29,7 @@ SOFTWARE.
|
||||
|
||||
#include "../../defines.h"
|
||||
|
||||
float AuraData::damage_get_count() {
|
||||
int AuraData::damage_get_count() {
|
||||
return _damage_already_taken;
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
int damage_get();
|
||||
void damage_set(int value);
|
||||
|
||||
float damage_get_count();
|
||||
int damage_get_count();
|
||||
void damage_set_count(int damageTaken);
|
||||
|
||||
float get_tick();
|
||||
|
@ -59,7 +59,7 @@ void TiledWall::set_data(const Ref<TiledWallData> &data) {
|
||||
bool TiledWall::get_collision() const {
|
||||
return _collision;
|
||||
}
|
||||
void TiledWall::set_collision(const int value) {
|
||||
void TiledWall::set_collision(const bool value) {
|
||||
_collision = value;
|
||||
|
||||
/*
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
void set_data(const Ref<TiledWallData> &data);
|
||||
|
||||
bool get_collision() const;
|
||||
void set_collision(const int value);
|
||||
void set_collision(const bool value);
|
||||
|
||||
uint32_t get_collision_layer() const;
|
||||
void set_collision_layer(uint32_t p_layer);
|
||||
|
@ -51,7 +51,7 @@ void Prop2DDataTiledWall2D::set_data(const Ref<TiledWall2DData> &data) {
|
||||
bool Prop2DDataTiledWall2D::get_collision() const {
|
||||
return _collision;
|
||||
}
|
||||
void Prop2DDataTiledWall2D::set_collision(const int value) {
|
||||
void Prop2DDataTiledWall2D::set_collision(const bool value) {
|
||||
_collision = value;
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
void set_data(const Ref<TiledWall2DData> &data);
|
||||
|
||||
bool get_collision() const;
|
||||
void set_collision(const int value);
|
||||
void set_collision(const bool value);
|
||||
|
||||
bool _processor_handles(Node *node);
|
||||
void _processor_process(Ref<Prop2DData> prop_data, Node *node, const Transform2D &transform, Ref<Prop2DDataEntry> entry = Ref<Prop2DDataEntry>());
|
||||
|
Loading…
Reference in New Issue
Block a user