aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-01-18 21:07:57 -0500
committerMichael <[email protected]>2017-01-18 21:07:57 -0500
commit5c9629c4c61d823dfc49693355072b38c09ffb7a (patch)
tree016fe2af59f7cbb188b419198c64f30b2aacb37e
parent1257ce76362c8df9a73c9fcd44aa48c6e8cb2bea (diff)
downloadshiftos_thereturn-5c9629c4c61d823dfc49693355072b38c09ffb7a.tar.gz
shiftos_thereturn-5c9629c4c61d823dfc49693355072b38c09ffb7a.tar.bz2
shiftos_thereturn-5c9629c4c61d823dfc49693355072b38c09ffb7a.zip
Extension commit to my previous one
because git screwed up.
-rw-r--r--ShiftOS.Objects/Job.cs4
-rw-r--r--ShiftOS.WinForms/ShiftOS.WinForms.csproj1
2 files changed, 3 insertions, 2 deletions
diff --git a/ShiftOS.Objects/Job.cs b/ShiftOS.Objects/Job.cs
index 25d58b5..00ac50d 100644
--- a/ShiftOS.Objects/Job.cs
+++ b/ShiftOS.Objects/Job.cs
@@ -15,12 +15,12 @@ namespace ShiftOS.Objects
public string Author { get; set; }
}
- public class JobTask
+ public abstract class JobTask
{
public string Name { get; set; }
public string Description { get; set; }
public int Reward { get; set; }
- public bool Completed { get; set; }
+ public abstract bool IsComplete { get; }
}
}
diff --git a/ShiftOS.WinForms/ShiftOS.WinForms.csproj b/ShiftOS.WinForms/ShiftOS.WinForms.csproj
index c58c7bf..739719b 100644
--- a/ShiftOS.WinForms/ShiftOS.WinForms.csproj
+++ b/ShiftOS.WinForms/ShiftOS.WinForms.csproj
@@ -191,6 +191,7 @@
<Compile Include="FakeSetupScreen.Designer.cs">
<DependentUpon>FakeSetupScreen.cs</DependentUpon>
</Compile>
+ <Compile Include="JobTasks.cs" />
<Compile Include="Oobe.cs">
<SubType>Form</SubType>
</Compile>