MiniRPG/scripts/objects/characters/Character.cs

15 lines
No EOL
505 B
C#

public class Character{
public string Name { get; set; }
public int MaxHealth { get; set; }
public int CurrentHealth { get; set; }
public int MaxMPoints { get; set; }
public int CurrentMPoints { get; set; }
public Character(string name, int maxhealth, int currenthealth, int maxmpoints, int currentmpoints){
Name = name;
MaxHealth = maxhealth;
CurrentHealth = currenthealth;
MaxMPoints = maxmpoints;
CurrentMPoints = currentmpoints;
}
}