adding different thins

This commit is contained in:
2026-03-27 09:20:21 +01:00
parent 94bd4d1f05
commit 650379e8f9
3 changed files with 37 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ namespace PeopleVille.Extension.Mod1;
public class Snake : IEquipment
{
public string Name { get; set; } = "Snake";
public void Equip()
{
throw new NotImplementedException();
@@ -20,4 +20,24 @@ public class Snake : IEquipment
{
Console.WriteLine($"{person.Name} brugte en slange, lol");
}
}
public class Trumpet : IEquipment
{
public string Name { get; set; } = "Trumpet med 90 grader";
public void Equip()
{
throw new NotImplementedException();
}
public void Unequip()
{
throw new NotImplementedException();
}
public void Use(Person person)
{
Console.WriteLine($"{person.Name} brugte en trumpet, musik lyder i {person.CurrentLocation.Name}");
}
}