Hi all, for my uni course, I need to code a game. I have chosen TicTacToe, but it needs to use different design elements (Factory/Template/Strategy) the more that are successfully implemented are better. I have what I think is correct implementation of my Template method classes, but I can't get the rest of the program to talk to the methods within the extended classes. It throws up the error that an object must be passed to them, but I don't want to pass an object to it, I just want the method to run when it is called by another method/class. I have attached two images that show the issue I am running into - this is a problem amongst the whole program, but its the same error. What have I done wrong? I also don't know how to paste code into this, without it looking weird.
Thanks for your help - I am super stressed.