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

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