Trying to get somethings copied over from game to a separate class

some errors… any ideas?