Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. //header
  2.  
  3. String m_Text;
  4. ...
  5. //cpp
  6.  
  7. GAMETICK
  8.  
  9. m_Text = String("");
  10. if (Btn->isPressed())
  11. {
  12. m_Text->Settext(String("blablabla"));
  13. }
  14.  
  15. GAMEPAINT
  16.  
  17. GAME_ENGINE->DrawString(String(m_Text), mX, mY);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement