diff --git a/src/Library/Attack.cs b/src/Library/Attack.cs new file mode 100644 index 0000000..ccc02f3 --- /dev/null +++ b/src/Library/Attack.cs @@ -0,0 +1,9 @@ +namespace Library; + +public class Attack : IAttack +{ + public string Name { get;} + public Type types{get;} + double Accuracy {get;} + int power {get;} +} \ No newline at end of file diff --git a/src/Library/Backpack.cs b/src/Library/Backpack.cs new file mode 100644 index 0000000..18adbda --- /dev/null +++ b/src/Library/Backpack.cs @@ -0,0 +1,10 @@ +namespace Library; + +public class Backpack : IAction +{ + public void UseItem(Player player) + { + + + } +} \ No newline at end of file diff --git a/src/Library/IAttack.cs b/src/Library/IAttack.cs new file mode 100644 index 0000000..968e9ae --- /dev/null +++ b/src/Library/IAttack.cs @@ -0,0 +1,7 @@ +namespace Library; +// Interfaz creada para subir la cohesiĆ³n y bajar el acoplamiento. +public interface IAttack: IAction +{ + protected string Name { get; } + protected Type types{get;} +} \ No newline at end of file diff --git a/src/Library/IMove.cs b/src/Library/IMove.cs deleted file mode 100644 index 7094080..0000000 --- a/src/Library/IMove.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Library; -// Interfaz creada para subir la cohesiĆ³n y bajar el acoplamiento. -public interface IMove: IAction -{ - string Name { get; } - bool Special { get; } - int LastTurnPlayed { get; } -} \ No newline at end of file diff --git a/src/Library/SpecialAttack.cs b/src/Library/SpecialAttack.cs new file mode 100644 index 0000000..79c5b10 --- /dev/null +++ b/src/Library/SpecialAttack.cs @@ -0,0 +1,7 @@ +namespace Library; + +public class SpecialAttack : Attack +{ + string SpecialEffect; + int LastTurnPlayed; +} \ No newline at end of file