Antag Datums. Oh also minds. (#100)
AKA: Minds and there's a stupid basic roles framework.
This commit is contained in:
committed by
Acruid
parent
e8c4dc9a34
commit
cd4442b81e
36
Content.Server/Mobs/Role.cs
Normal file
36
Content.Server/Mobs/Role.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
// Hey look,
|
||||
// Antag Datums.
|
||||
|
||||
namespace Content.Server.Mobs
|
||||
{
|
||||
/// <summary>
|
||||
/// The Role is a basic building block for,
|
||||
/// well, IC roles.
|
||||
/// This can be anything and is not necessarily limited to antagonists.
|
||||
/// </summary>
|
||||
public abstract class Role
|
||||
{
|
||||
/// <summary>
|
||||
/// The mind owning this role instance.
|
||||
/// </summary>
|
||||
public Mind Mind { get; }
|
||||
|
||||
/// <summary>
|
||||
/// A friendly name for this role type.
|
||||
/// </summary>
|
||||
public abstract string Name { get; }
|
||||
|
||||
protected Role(Mind mind)
|
||||
{
|
||||
Mind = mind;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when a mind (player) first gets this role, to greet them.
|
||||
/// </summary>
|
||||
public virtual void Greet()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user