storyworld
Class ConsequenceLocChangeStory

java.lang.Object
  extended by storyworld.ConsequenceLocChangeStory
All Implemented Interfaces:
Consequence

public class ConsequenceLocChangeStory
extends Object
implements Consequence


Field Summary
(package private)  String newLocationName
           
(package private)  SingleLocationStory story
           
 
Constructor Summary
ConsequenceLocChangeStory(SingleLocationStory story, String newLocation)
           
 
Method Summary
 void execute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newLocationName

String newLocationName

story

SingleLocationStory story
Constructor Detail

ConsequenceLocChangeStory

public ConsequenceLocChangeStory(SingleLocationStory story,
                                 String newLocation)
Method Detail

execute

public void execute()
Specified by:
execute in interface Consequence