Food n Gun

This commit is contained in:
aqys
2026-03-25 08:33:55 +01:00
parent 8d7fe7ce82
commit a2c658de6b
2 changed files with 19 additions and 10 deletions

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using PeopleVille.Person;
namespace PeopleVille.Equipment
{
@@ -11,12 +9,19 @@ namespace PeopleVille.Equipment
public void Equip()
{
throw new NotImplementedException();
Console.WriteLine("");
}
public void Unequip()
{
throw new NotImplementedException();
Console.WriteLine("");
}
public void Consume(Person.Person person)
{
person.Health += HealthPoints;
Console.WriteLine($"");
person.Inventory.Remove(this);
}
}
}

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using PeopleVille.Person;
namespace PeopleVille.Equipment
{
@@ -11,12 +9,18 @@ namespace PeopleVille.Equipment
public void Equip()
{
throw new NotImplementedException();
Console.WriteLine("");
}
public void Unequip()
{
throw new NotImplementedException();
Console.WriteLine("");
}
public void Shoot(Person.Person target)
{
target.Health -= this.Damage;
Console.WriteLine($"");
}
}
}