EmptyVoid

Untitled

May 21st, 2020
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include "Text.h"
  2.  
  3. std::string Text::getName() {
  4.     return name;
  5. }
  6. void Text::setName(std::string name) {
  7.     this->name = name;
  8. }
  9.  
  10. std::string Text::getText() {
  11.     return this->text;
  12. }
  13. void Text::setText(std::string text) {
  14.     this->text = text;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment