OpenHacknet/SaveData.cs
2015-10-27 23:04:18 -04:00

32 lines
No EOL
614 B
C#

using System;
using System.Collections.Generic;
namespace Hacknet
{
[Serializable]
public class SaveData
{
private ActiveMission mission;
private List<Computer> nodes;
public void addNodes(object nodesToAdd)
{
nodes = (List<Computer>) nodesToAdd;
}
public void setMission(object missionToAdd)
{
mission = (ActiveMission) missionToAdd;
}
public object getNodes()
{
return nodes;
}
public object getMission()
{
return mission;
}
}
}