Refactor text boxes to not use the 'active' system

This removes the variables graphics.ntextbox, as well as removing
'active' from each text box object. Thus, all text boxes are really
real, and you don't have to check its 'active' variable.
This commit is contained in:
Misa
2020-04-03 17:25:17 -07:00
committed by Ethan Lee
parent 0127a84698
commit bc0d22eec6
4 changed files with 18 additions and 46 deletions

View File

@@ -41,7 +41,6 @@ public:
int r,g,b;
int tr,tg,tb;
SDL_Rect textrect;
bool active;
int timer;
float tl;