Package com.mg105.interface_adapters
Class WalkVisController
java.lang.Object
com.mg105.interface_adapters.WalkVisController
This class communicates with WalkVisInteractor, called on by WalkingMenu.
There is no presenter class. When this class is called on, WalkingMenu is closed.
-
Constructor Summary
ConstructorDescriptionWalkVisController
(WalkVisInteractor interactor) Creates a new WalkVisController referring to a WalkVisInteractor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
changePlayerSprite
(String spriteName) Calls on WalkVisInteractor to update the walking character sprite.
-
Constructor Details
-
WalkVisController
Creates a new WalkVisController referring to a WalkVisInteractor.- Parameters:
interactor
- the WalkVisInteractor to be referred to.
-
-
Method Details
-
changePlayerSprite
Calls on WalkVisInteractor to update the walking character sprite.- Parameters:
spriteName
- the name of the desired character sprite.
-