source: 2015/26/MikkoL/JRPG/JRPG/JRPG/Battle/Characters/CharacterList.cs @ 6467

Revision 6467, 1.1 KB checked in by mijoliim, 5 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Jypeli;
6
7public class CharacterList
8{
9    public static CharacterBase Sonic()
10    {
11        CharacterBase Sonic = new CharacterBase();
12
13        Sonic.Name = "Sonic";
14        Sonic.CurrentStats.HP = 82;
15        Sonic.CurrentStats.Str = 25;
16        Sonic.CurrentStats.Def = 15;
17        Sonic.CurrentStats.Luck = 20;
18
19        Sonic.ResetHPMeter();
20
21        Sonic.Idle = Images.Characters.Sonic_Idle;
22        Sonic.Animation = new Animation(Images.Characters.Sonic_Kick);
23
24        Sonic.LearnedAttacks.Add(AttackList.Kick());
25
26        return Sonic;
27    }
28
29    public static CharacterBase TestChar()
30    {
31        CharacterBase TestChar = new CharacterBase();
32        TestChar.CurrentStats.HP = 50;
33        TestChar.CurrentStats.SP = 100;
34
35       
36        TestChar.ResetHPMeter();
37        TestChar.ResetSPMeter();
38
39        TestChar.Name = "Test char";
40        TestChar.Idle = Image.Mirror(Images.Enemies.Testman_Idle);
41       
42
43        return TestChar;
44    }
45}
Note: See TracBrowser for help on using the repository browser.