storyworld
Class Connection

java.lang.Object
  extended by storyworld.Connection

public class Connection
extends Object


Field Summary
(package private)  int distance
           
(package private)  Location from
           
(package private)  String imageName
           
(package private)  Location to
           
(package private)  String type
           
 
Constructor Summary
Connection(Location from, Location to, int distance)
           
Connection(Location from, Location to, int distance, String image)
           
 
Method Summary
 int getDistance()
           
 Location getFrom()
           
 String getImageName()
           
 Location getTo()
           
 String getType()
           
 void setImageName(String s)
           
 void setType(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

distance

int distance

from

Location from

imageName

String imageName

to

Location to

type

String type
Constructor Detail

Connection

public Connection(Location from,
                  Location to,
                  int distance)

Connection

public Connection(Location from,
                  Location to,
                  int distance,
                  String image)
Method Detail

getDistance

public int getDistance()

getFrom

public Location getFrom()

getImageName

public String getImageName()

getTo

public Location getTo()

getType

public String getType()

setImageName

public void setImageName(String s)

setType

public void setType(String s)