working on new font engine
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "text2.h"
|
||||
|
||||
// Constructor
|
||||
Text2::Text2(LTexture *texture, SDL_Renderer *renderer) : Text(texture, renderer)
|
||||
Text2::Text2(std::string file, LTexture *texture, SDL_Renderer *renderer) : Text(file, texture, renderer)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -12,9 +12,9 @@ Text2::~Text2()
|
||||
}
|
||||
|
||||
// Inicializador
|
||||
void Text2::init(Uint8 type, Uint8 size)
|
||||
void Text2::init()
|
||||
{
|
||||
Text::init(type, size);
|
||||
Text::init();
|
||||
mPosX = 0;
|
||||
mPosY = 0;
|
||||
mKerning = 0;
|
||||
|
||||
Reference in New Issue
Block a user