Added interface and equipment

This commit is contained in:
aqys
2026-03-24 14:16:03 +01:00
parent 9a0b69692e
commit 4764f11548
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace PeopleVille.Equipment
{
public class Food : IEquipment
{
public required string Name { get; set; }
public int HealthPoints { get; set; }
public void Equip()
{
throw new NotImplementedException();
}
public void Unequip()
{
throw new NotImplementedException();
}
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace PeopleVille.Equipment
{
public class Gun : IEquipment
{
public required string Name { get; set; }
public int Damage { get; set; }
public void Equip()
{
throw new NotImplementedException();
}
public void Unequip()
{
throw new NotImplementedException();
}
}
}

View File

@@ -0,0 +1,8 @@
namespace PeopleVille
{
interface IEquipment
{
public void Equip();
public void Unequip();
}
}