C# Class HangoverHunt.LocationRiddle

Inheritance: IRiddle
Show file Open project: pebblecode/hangover-hunt

Public Methods

Method Description
CheckAnswer ( IAnswer answer ) : bool
CheckAnswer ( LocationAnswer answer ) : bool
LocationRiddle ( string question, double latitude, double longitude, double accurateTo ) : System

Method Details

CheckAnswer() public method

public CheckAnswer ( IAnswer answer ) : bool
answer IAnswer
return bool

CheckAnswer() public method

public CheckAnswer ( LocationAnswer answer ) : bool
answer LocationAnswer
return bool

LocationRiddle() public method

public LocationRiddle ( string question, double latitude, double longitude, double accurateTo ) : System
question string
latitude double
longitude double
accurateTo double
return System