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

Revision 6417, 1.1 KB checked in by mijoliim, 7 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 = 200;
16        Sonic.CurrentStats.Def = 10;
17        Sonic.CurrentStats.Luck = 20;
18        Sonic.CurrentStats.Spd = 500;
19
20        Sonic.ResetHPMeter();
21
22        Sonic.Idle = Images.Characters.Sonic_Idle;
23        Sonic.Animation = new Animation(Images.Characters.Sonic_Kick);
24
25        Sonic.LearnedAttacks.Add(AttackList.Kick());
26
27        return Sonic;
28    }
29
30    public static CharacterBase TestChar()
31    {
32        CharacterBase TestChar = new CharacterBase();
33        TestChar.CurrentStats.HP = 50;
34        TestChar.CurrentStats.SP = 100;
35
36       
37        TestChar.ResetHPMeter();
38        TestChar.ResetSPMeter();
39
40        TestChar.Name = "Test char";
41        TestChar.Idle = Image.Mirror(Images.Enemies.Testman_Idle);
42       
43
44        return TestChar;
45    }
46}
Note: See TracBrowser for help on using the repository browser.