OpenHacknet/Mission/GetAdminMission.cs

25 lines
554 B
C#
Raw Normal View History

2015-10-27 23:04:18 -04:00
using System.Collections.Generic;
2015-10-27 22:34:58 -04:00
namespace Hacknet.Mission
{
internal class GetAdminMission : MisisonGoal
{
public OS os;
public Computer target;
public GetAdminMission(string compIP, OS _os)
{
os = _os;
target = Programs.getComputer(os, compIP);
}
public override bool isComplete(List<string> additionalDetails = null)
{
return target.adminIP.Equals(os.thisComputer.ip);
}
public override void reset()
{
}
}
}