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

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