Class WalkVisController

java.lang.Object
com.mg105.interface_adapters.WalkVisController

public class WalkVisController extends Object
This class communicates with WalkVisInteractor, called on by WalkingMenu. There is no presenter class. When this class is called on, WalkingMenu is closed.
  • Constructor Details

    • WalkVisController

      public WalkVisController(WalkVisInteractor interactor)
      Creates a new WalkVisController referring to a WalkVisInteractor.
      Parameters:
      interactor - the WalkVisInteractor to be referred to.
  • Method Details

    • changePlayerSprite

      public void changePlayerSprite(String spriteName)
      Calls on WalkVisInteractor to update the walking character sprite.
      Parameters:
      spriteName - the name of the desired character sprite.