Food n Gun
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
using System;
|
using PeopleVille.Person;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace PeopleVille.Equipment
|
namespace PeopleVille.Equipment
|
||||||
{
|
{
|
||||||
@@ -11,12 +9,19 @@ namespace PeopleVille.Equipment
|
|||||||
|
|
||||||
public void Equip()
|
public void Equip()
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
Console.WriteLine("");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Unequip()
|
public void Unequip()
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
Console.WriteLine("");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Consume(Person.Person person)
|
||||||
|
{
|
||||||
|
person.Health += HealthPoints;
|
||||||
|
Console.WriteLine($"");
|
||||||
|
person.Inventory.Remove(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
using System;
|
using PeopleVille.Person;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace PeopleVille.Equipment
|
namespace PeopleVille.Equipment
|
||||||
{
|
{
|
||||||
@@ -11,12 +9,18 @@ namespace PeopleVille.Equipment
|
|||||||
|
|
||||||
public void Equip()
|
public void Equip()
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
Console.WriteLine("");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Unequip()
|
public void Unequip()
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
Console.WriteLine("");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Shoot(Person.Person target)
|
||||||
|
{
|
||||||
|
target.Health -= this.Damage;
|
||||||
|
Console.WriteLine($"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user