Another Game Engine, by now only use SDL2 and its dependent family library but we planning to use other librarys like SFML or allegro5 to create Drawing Context (opengl ,Vulkan or metal).
As it is right now TTFText class is not completed. This class inherits and implement Font abstract class, though not all methods have implementations, like: init and destroy.
The goal of this issue is to implement TTFText::init and TTFText::destroy. Additionally, there is a method that's not implemented yet, named: void TTFText::drawText(const std::string&, int, int). This method should have the same implementation of TTFText::DrawText, which is a concrete method. So, let's replace TTFText::DrawText by moving its implementation to TTFText::drawText (note lower case 'd').
Any other idea is welcome, so feel free to further improve the implementation if it seems appropiate.
Scope
As it is right now
TTFText
class is not completed. This class inherits and implementFont
abstract class, though not all methods have implementations, like:init
anddestroy
.The goal of this issue is to implement
TTFText::init
andTTFText::destroy
. Additionally, there is a method that's not implemented yet, named:void TTFText::drawText(const std::string&, int, int)
. This method should have the same implementation ofTTFText::DrawText
, which is a concrete method. So, let's replaceTTFText::DrawText
by moving its implementation toTTFText::drawText
(note lower case 'd').Any other idea is welcome, so feel free to further improve the implementation if it seems appropiate.
DOD