Pokemon start

This commit is contained in:
Geir Okkenhaug Jerstad 2024-11-22 12:21:29 +01:00
parent 6c5e2387e7
commit 3a981d068f
2 changed files with 19 additions and 1 deletions

View file

@ -1 +1,12 @@
 namespace Pokemon
{
class Program
{
static void Main(string[] args)
{
var pikachu = new Pikachu();
Console.WriteLine($"Pikachu har {Pikachu.Health}hp og er level {Pikachu.Level}");
}
}
}

View file

@ -0,0 +1,7 @@
namespace Pokemon;
public class Pikachu
{
internal static int Health = 50;
internal static int Level = 21;
}