title: How can I use one variable from a class in another
body: <p>So I have 2 classes. Interaction and Game. Game calls methods in Interaction that return an output. An example of a method is walk. Game has a variable time. I need the walk method to be able to change the value of time such as time = time - 1;</p>
  
  <p>How can I do this. Game is already a subclass of Interaction which allows it to use the methods.</p>