blob: 89ca98a7efc10d9f1699e7baf2957e5cb13a7298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiscoBot.DSA_Game.Characters
{
public class SaveChar
{
public string Name { get; set; }
public int Lebenspunkte_Aktuell { get; set; }
public int Ausdauer_Aktuell { get; set; }
public int Astralpunkte_Aktuell { get; set; }
public static SaveChar FromICharacter(ICharacter c)
{
return new SaveChar
{
Astralpunkte_Aktuell = c.Astralpunkte_Aktuell,
Ausdauer_Aktuell = c.Ausdauer_Aktuell,
Lebenspunkte_Aktuell = c.Lebenspunkte_Aktuell,
Name = c.Name
};
}
}
}
|