Hello, for my new scenario I want to create an actor "TextBox" that is basically just good for displaying strings. However I want it to be able to display different strings at different times. So I thought about declaring a string variable "text" and having a string passed with the constructor. Something like that:
The problem is when declaring the string it gives me the error "cannot find a Symbol - class string". Do I have to import strings? How can I solve this?
string text;
public TextBox (string x)
{
text = x;
}
