using System;
static class QuestLogic
{
public static bool CanFastAttack(bool knightIsAwake)
{
if (!knightIsAwake)
{ return true;}
else return false;
}
public static bool CanSpy(bool knightIsAwake, bool archerIsAwake, bool prisonerIsAwake)
{
if ((!knightIsAwake) && (!archerIsAwake) && (!prisonerIsAwake))
return false;
else return true;
}
public static bool CanSignalPrisoner(bool archerIsAwake, bool prisonerIsAwake)
{
if((!archerIsAwake) && (prisonerIsAwake == true))
return true;
else return false;
}
public static bool CanFreePrisoner(bool knightIsAwake, bool archerIsAwake, bool prisonerIsAwake, bool petDogIsPresent)
{
throw new NotImplementedException("Please implement the (static) QuestLogic.CanFreePrisoner() method");
}
}