Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace ZooTycoon.NET.DataModels.Sections.Characteristics
{
public class StaffCharacteristics : Characteristics
{

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be empty

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
}
8 changes: 8 additions & 0 deletions ZooTycoon.NET/DataModels/SubTypes/StaffSubType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace ZooTycoon.NET.DataModels.SubTypes
{
public enum StaffSubType
{
m,
f
}
}
23 changes: 23 additions & 0 deletions ZooTycoon.NET/Entities/Staff/Staff.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
using ZooTycoon.NET.DataModels.Sections.Characteristics;
using ZooTycoon.NET.DataModels.SubTypes;

namespace ZooTycoon.NET.Entities.Animals
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the namespace

{
public class Staff : ZtUnit<StaffSubType, StaffCharacteristics>
{
public Staff(string type) : this()
{
Type = type;
}

public Staff(string type, StaffSubType subType) : this()
{
Type = type;
SubType = subType;
}

public Staff()
{
}
}
}