Annalyn's Infiltration
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");
}
}
Thank you, friend!
I'm @steem.history, who is steem witness.
Thank you for witnessvoting for me.
please click it!
(Go to https://steemit.com/~witnesses and type fbslo at the bottom of the page)
The weight is reduced because of the lack of Voting Power. If you vote for me as a witness, you can get my little vote.