Skip to content

Commit

Permalink
fix: fixes type
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoD committed Feb 12, 2024
1 parent e28845b commit 2f8f93d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/system/ability/ability_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ AbilityContainer::~AbilityContainer()
{
}

void AbilityContainer::_process(float delta)
void AbilityContainer::_process(double delta)
{
ability_queue->process(delta);
}
Expand Down
2 changes: 1 addition & 1 deletion src/system/ability/ability_container.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace ggs
~AbilityContainer();
/// @brief The process function from Godot.
/// @param delta The time since the last frame.
void _process(float delta);
void _process(double delta) override;
/// @brief Override of the ready function from Godot.
void _ready() override;
/// @brief Activates an ability.
Expand Down
2 changes: 1 addition & 1 deletion src/system/attribute/attribute_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ AttributeContainer::~AttributeContainer()
{
}

void AttributeContainer::_process(float delta)
void AttributeContainer::_process(double delta)
{
if (Engine::get_singleton()->is_editor_hint())
{
Expand Down
2 changes: 1 addition & 1 deletion src/system/attribute/attribute_container.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace ggs

/// @brief Handles the process of the node.
/// @param delta
void _process(float delta);
void _process(double delta) override;
/// @brief Called when the node enters the scene tree for the first time.
void _ready() override;

Expand Down

0 comments on commit 2f8f93d

Please sign in to comment.