a,d keys implemented and screen for 1080p

This commit is contained in:
2021-12-30 13:42:55 -05:00
parent b9e9c04235
commit af393e8acb
7 changed files with 83 additions and 11 deletions

View File

@ -65,3 +65,9 @@ void UIText::AddLetter(int xpos, int ypos, char crnt, std::string tag, int lttrS
letter.setTag(tag);
letter.addGroup(groupLabel);
}
void UIText::RemoveAllLetters()
{
manager.getEntitiesByTag("");
}

View File

@ -26,6 +26,8 @@ public:
void AddLetter(int xpos, int ypos, char crnt, std::string tag, int lttrScale, Game::groupLabels groupLabel);
void ParseString(std::string inputText, int x, int y, int letterScale, std::string tag, Game::groupLabels group);
void RemoveAllLetters();
void UpdateString(std::string newInputText);
int scale;
};