Revision 6304,
918 bytes
checked in by mijoliim, 6 years ago
(diff) |
Taistelut melkein toimivat.
|
Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using System.Linq; |
---|
4 | using System.Text; |
---|
5 | using Jypeli; |
---|
6 | |
---|
7 | public class EnemyList |
---|
8 | { |
---|
9 | public static EnemyBase Testman() |
---|
10 | { |
---|
11 | EnemyBase Testman = new EnemyBase(); |
---|
12 | |
---|
13 | Testman.Name = "Test man"; |
---|
14 | Testman.FleePercent = 15; |
---|
15 | Testman.Idle = Images.Enemies.Testman_Idle; |
---|
16 | |
---|
17 | Testman.Attacks.Add(AttackList.Attack()); |
---|
18 | |
---|
19 | return Testman; |
---|
20 | } |
---|
21 | |
---|
22 | public static EnemyBase Spookt() |
---|
23 | { |
---|
24 | EnemyBase Spookt = new EnemyBase(); |
---|
25 | |
---|
26 | Spookt.Stats.HP = 40; |
---|
27 | Spookt.Stats.Def = 10; |
---|
28 | Spookt.Stats.Res = 20; |
---|
29 | Spookt.Stats.Str = 5; |
---|
30 | |
---|
31 | Spookt.Name = "Spookt"; |
---|
32 | Spookt.FleePercent = 25; |
---|
33 | Spookt.Idle = Images.Enemies.Ghost_Idle; |
---|
34 | |
---|
35 | Spookt.BaseWaitTimeInSeconds = 3; |
---|
36 | |
---|
37 | Spookt.Attacks.Add(AttackList.SpookyAttack()); |
---|
38 | |
---|
39 | return Spookt; |
---|
40 | } |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.