36 lines
916 B
C#
36 lines
916 B
C#
using System;
|
|
using Swarmops.Basic.Types;
|
|
using Swarmops.Basic.Types.Swarm;
|
|
using Swarmops.Database;
|
|
using Swarmops.Logic.Structure;
|
|
|
|
namespace Swarmops.Logic.Swarm
|
|
{
|
|
public class VolunteerRole : BasicVolunteerRole
|
|
{
|
|
private VolunteerRole (BasicVolunteerRole basic) :
|
|
base (basic)
|
|
{
|
|
}
|
|
|
|
public Geography Geography
|
|
{
|
|
get { return Geography.FromIdentity (base.GeographyId); } // Cache later if necessary
|
|
}
|
|
|
|
public static VolunteerRole FromBasic (BasicVolunteerRole basic)
|
|
{
|
|
return new VolunteerRole (basic);
|
|
}
|
|
|
|
public static VolunteerRole FromIdentity (int identity)
|
|
{
|
|
throw new NotImplementedException(); // This entire class is legacy
|
|
}
|
|
|
|
public void Close (bool wasAssigned)
|
|
{
|
|
// TODO
|
|
}
|
|
}
|
|
} |