working on class sections
This commit is contained in:
@@ -2,21 +2,19 @@
|
||||
#include "text2.h"
|
||||
|
||||
// Constructor
|
||||
Text2::Text2()
|
||||
Text2::Text2(LTexture *texture, SDL_Renderer *renderer) : Text(texture, renderer)
|
||||
{
|
||||
init(nullptr, nullptr, 0, 0);
|
||||
}
|
||||
|
||||
// Destructor
|
||||
Text2::~Text2()
|
||||
{
|
||||
init(nullptr, nullptr, 0, 0);
|
||||
}
|
||||
|
||||
// Inicializador
|
||||
void Text2::init(LTexture *texture, SDL_Renderer *renderer, Uint8 type, Uint8 size)
|
||||
void Text2::init(Uint8 type, Uint8 size)
|
||||
{
|
||||
Text::init(texture, renderer, type, size);
|
||||
Text::init(type, size);
|
||||
mPosX = 0;
|
||||
mPosY = 0;
|
||||
mKerning = 0;
|
||||
|
||||
Reference in New Issue
Block a user