summaryrefslogtreecommitdiff
path: root/DSALib/Characters
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-07-09 15:15:35 +0200
committerTrueDoctor <d-kobert@web.de>2018-07-09 15:15:35 +0200
commit2503ca78d3e583cb1291cb9a99a6e79526a348ee (patch)
tree5be61d23d80c23422f68831b0862918dd4f5616c /DSALib/Characters
parent4671e76af27446a74c1015bd76b52e48ea241e74 (diff)
Created DSALib Created ZooBOTanica
Diffstat (limited to 'DSALib/Characters')
-rw-r--r--DSALib/Characters/Being.cs23
-rw-r--r--DSALib/Characters/Critter.cs36
-rw-r--r--DSALib/Characters/Entity.cs18
-rw-r--r--DSALib/Characters/ICharacter.cs13
-rw-r--r--DSALib/Characters/ICombatant.cs26
5 files changed, 116 insertions, 0 deletions
diff --git a/DSALib/Characters/Being.cs b/DSALib/Characters/Being.cs
new file mode 100644
index 0000000..154e69e
--- /dev/null
+++ b/DSALib/Characters/Being.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DiscoBot.DSA_Game.Characters
+{
+ public class Being : Entity
+ {
+ public int Lebenspunkte_Basis { get; set; } = 30;
+
+ public int Lebenspunkte_Aktuell { get; set; } = 30;
+
+ public int Ausdauer_Basis { get; set; } = 30;
+
+ public int Ausdauer_Aktuell { get; set; } = 30;
+
+ public int Astralpunkte_Basis { get; set; } = 0;
+
+ public int Astralpunkte_Aktuell { get; set; } = 0;
+ }
+}
diff --git a/DSALib/Characters/Critter.cs b/DSALib/Characters/Critter.cs
new file mode 100644
index 0000000..5090b6b
--- /dev/null
+++ b/DSALib/Characters/Critter.cs
@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DSALib.Characters
+{
+ using DiscoBot.DSA_Game.Characters;
+
+ public class Critter : Being, ICombatant
+ {
+ private int rs, mr, ko, pa, gs, gw;
+
+
+ public Critter(int gw, int gs, int rs, int mr, int ko, int pa)
+ {
+ this.gw = gw;
+ this.gs = gs;
+ this.rs = rs;
+ this.mr = mr;
+ this.ko = ko;
+ this.pa = pa;
+ }
+
+ public string Angriff(string talent, int erschwernis = 0)
+ {
+ throw new NotImplementedException();
+ }
+
+ public string Parade(string talent, int erschwernis = 0)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/DSALib/Characters/Entity.cs b/DSALib/Characters/Entity.cs
new file mode 100644
index 0000000..f8e7a12
--- /dev/null
+++ b/DSALib/Characters/Entity.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DiscoBot.DSA_Game.Characters
+{
+ public class Entity
+ {
+ public string Name { get; set; }
+
+ public override string ToString()
+ {
+ return this.Name;
+ }
+ }
+}
diff --git a/DSALib/Characters/ICharacter.cs b/DSALib/Characters/ICharacter.cs
new file mode 100644
index 0000000..aabebe6
--- /dev/null
+++ b/DSALib/Characters/ICharacter.cs
@@ -0,0 +1,13 @@
+namespace DiscoBot.DSA_Game.Characters
+{
+ public interface ICharacter : ICombatant
+ {
+ string TestTalent(string talent, int erschwernis = 0);
+
+ string TestEigenschaft(string eigenschaft, int erschwernis = 0);
+
+ string Fernkampf(string talent, int erschwernis = 0);
+
+ string TestZauber(string waffe, int erschwernis);
+ }
+}
diff --git a/DSALib/Characters/ICombatant.cs b/DSALib/Characters/ICombatant.cs
new file mode 100644
index 0000000..a99bff9
--- /dev/null
+++ b/DSALib/Characters/ICombatant.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DiscoBot.DSA_Game.Characters
+{
+ public interface ICombatant
+ {
+ string Name { get; set; }
+
+ int Lebenspunkte_Basis { get; set; }
+ int Lebenspunkte_Aktuell { get; set; }
+
+ int Ausdauer_Basis { get; set; }
+ int Ausdauer_Aktuell { get; set; }
+
+ int Astralpunkte_Basis { get; set; }
+ int Astralpunkte_Aktuell { get; set; }
+
+ string Angriff(string talent, int erschwernis = 0);
+
+ string Parade(string talent, int erschwernis = 0);
+ }
+}