Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using System.Linq; |
---|
4 | using System.Text; |
---|
5 | using Jypeli; |
---|
6 | |
---|
7 | public 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.