Arreglos varios al codi

This commit is contained in:
2024-10-08 22:38:58 +02:00
parent 3e3d764b25
commit bd3aa0bb06
30 changed files with 177 additions and 227 deletions

View File

@@ -1,8 +1,9 @@
#include "writer.h"
#include "text.h" // for Text
#include "text.h" // for Text
// Constructor
Writer::Writer(Text *text) : text(text)
Writer::Writer(Text *text)
: text(text)
{
// Inicializa variables
posX = 0;
@@ -25,7 +26,7 @@ void Writer::update()
if (enabled)
{
if (!completed)
{
{
// No completado
if (writingCounter > 0)
{
@@ -45,7 +46,7 @@ void Writer::update()
}
else
{
{
// Completado
if (enabledCounter > 0)
{