I need something like like:
xgrid = "-width/2+25+50*";
So then I'll be able to type "xgrid" at the beginning of an x coordinate position to avoid rewriting that entire thing multiple times. I know you can do this in lua, but I don't know how to do it in Greenfoot (Java). Could someone show me how?