diff --git a/docs/html/CatalogueCommand_8cs_source.html b/docs/html/CatalogueCommand_8cs_source.html new file mode 100644 index 0000000..aaedc2b --- /dev/null +++ b/docs/html/CatalogueCommand_8cs_source.html @@ -0,0 +1,144 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/CatalogueCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
CatalogueCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class CatalogueCommand : ModuleBase<SocketCommandContext>
+
12{
+
16 [Command("catalogue")]
+
17 [Summary(
+
18 """
+
19 Muestra los Pokemons del catálogo.
+
20 """)]
+
+
21 public async Task ExecuteAsync()
+
22 {
+
23 await ReplyAsync(Facade.Instance.ShowCatalogue());
+
24 }
+
+
25
+
26}
+
+
Esta clase implementa el comando 'catalogue' del bot.
+
async Task ExecuteAsync()
Muestra los Pokemons del catálogo.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string ShowCatalogue()
Muestra el catálogo de Pokemon disponibles.
Definition Facade.cs:440
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/ChangeCommand_8cs_source.html b/docs/html/ChangeCommand_8cs_source.html new file mode 100644 index 0000000..98724e8 --- /dev/null +++ b/docs/html/ChangeCommand_8cs_source.html @@ -0,0 +1,155 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/ChangeCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ChangeCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class ChangeCommand : ModuleBase<SocketCommandContext>
+
12{
+
18 [Command("change")]
+
19 [Summary(
+
20 """
+
21 Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó
+
22 para ser su nuevo Pokemon activo.
+
23 Si no se pudo concretar el cambio de Pokemon el jugador no pierde el turno.
+
24 Este comando solo puede ser utilizado por un jugador mientras
+
25 sea su turno.
+
26 """)]
+
+
27 public async Task ExecuteAsync(
+
28 [Remainder]
+
29 [Summary("Nombre del Pokemon")]
+
30 string pokemonName)
+
31 {
+
32 if (pokemonName == null)
+
33 {await ReplyAsync("Para cambiar de Pokemon activo debes usar el siguiente formato: \n**!change** <**nombre del pokemon**>");}
+
34 string playerName = CommandHelper.GetDisplayName(Context);
+
35 string result = Facade.Instance.ChangePokemon(playerName, pokemonName);
+
36 await ReplyAsync(result);
+
37 }
+
+
38
+
39}
+
+
Esta clase implementa el comando 'change' del bot.
+
async Task ExecuteAsync([Remainder][Summary("Nombre del Pokemon")] string pokemonName)
Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó para ser su nuevo P...
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string ChangePokemon(string playerName, string pokemonName)
Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ...
Definition Facade.cs:234
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/ChangePokemonCommand_8cs_source.html b/docs/html/ChangePokemonCommand_8cs_source.html new file mode 100644 index 0000000..5fc7e97 --- /dev/null +++ b/docs/html/ChangePokemonCommand_8cs_source.html @@ -0,0 +1,148 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/ChangePokemonCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ChangePokemonCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+ +
7
+
+
11public class ChangePokemonCommand : ModuleBase<SocketCommandContext>
+
12{
+
18 [Command("changepokemon")]
+
19 [Summary(
+
20 """
+
21 Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó
+
22 para ser su nuevo Pokemon activo.
+
23 Si no se pudo concretar el cambio de Pokemon el jugador no pierde el turno.
+
24 Este comando solo puede ser utilizado por un jugador mientras
+
25 sea su turno.
+
26 """)]
+
+
27 public async Task ExecuteAsync(
+
28 [Remainder]
+
29 [Summary("Nombre del Pokemon")]
+
30 string pokemonName)
+
31 {
+
32
+
33 }
+
+
34
+
35}
+
+ +
Esta clase implementa el comando 'changepokemon' del bot.
+
async Task ExecuteAsync([Remainder][Summary("Nombre del Pokemon")] string pokemonName)
Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó para ser su nuevo P...
+ + +
+
+ + + + diff --git a/docs/html/CheckTurnCommand_8cs_source.html b/docs/html/CheckTurnCommand_8cs_source.html new file mode 100644 index 0000000..cddffc6 --- /dev/null +++ b/docs/html/CheckTurnCommand_8cs_source.html @@ -0,0 +1,147 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/CheckTurnCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
CheckTurnCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class CheckTurnCommand : ModuleBase<SocketCommandContext>
+
12{
+
16 [Command("checkturn")]
+
17 [Summary(
+
18 """
+
19 Devuelve de quien es el turno.
+
20 Se debe estar en partida para utilizar este comando.
+
21 """)]
+
+
22 public async Task ExecuteAsync()
+
23 {
+
24 string playerName = CommandHelper.GetDisplayName(Context);
+
25 string result = Facade.Instance.CheckTurn(playerName);
+
26 await ReplyAsync(result);
+
27 }
+
+
28
+
29}
+
+
Esta clase implementa el comando 'checkturn' del bot.
+
async Task ExecuteAsync()
Devuelve de quien es el turno.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string CheckTurn(string playerName)
Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles.
Definition Facade.cs:176
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/ChooseRandomCommand_8cs_source.html b/docs/html/ChooseRandomCommand_8cs_source.html new file mode 100644 index 0000000..6bb5a9a --- /dev/null +++ b/docs/html/ChooseRandomCommand_8cs_source.html @@ -0,0 +1,147 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/ChooseRandomCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ChooseRandomCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class ChooseRandomCommand : ModuleBase<SocketCommandContext>
+
12{
+
16 [Command("chooserandom")]
+
17 [Summary(
+
18 """
+
19 Completa el equipo del jugador aleatoriamnte.
+
20 El jugador debe estar en una partida para usar este comando.
+
21 """)]
+
+
22 public async Task ExecuteAsync()
+
23 {
+
24 string displayName = CommandHelper.GetDisplayName(Context);
+
25 string result = Facade.Instance.ChooseRandom(displayName);
+
26 await ReplyAsync(result);
+
27 }
+
+
28
+
29}
+
+
Esta clase implementa el comando 'chooserandom' del bot.
+
async Task ExecuteAsync()
Completa el equipo del jugador aleatoriamnte.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
string ChooseRandom(string playerName)
Completa aleatoriamente el equipo de Pokemons.
Definition Facade.cs:568
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/DragoniteTest_8cs_source.html b/docs/html/DragoniteTest_8cs_source.html new file mode 100644 index 0000000..d48052f --- /dev/null +++ b/docs/html/DragoniteTest_8cs_source.html @@ -0,0 +1,358 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/DragoniteTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
DragoniteTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10[TestFixture]
+
11[TestOf(typeof(Dragonite))]
+
+
12public class DragoniteTest
+
13{
+
17 [Test]
+
+
18 public void TestName()
+
19 {
+
20 Dragonite dragonite = new Dragonite();
+
21 string dragoniteName = dragonite.Name;
+
22 string expectedName = "Dragonite";
+
23 Assert.That(dragoniteName.Equals(expectedName, StringComparison.Ordinal));
+
24 }
+
+
25
+
29 [Test]
+
+
30 public void TestType()
+
31 {
+
32 Dragonite dragonite = new Dragonite();
+
33 Type dragoniteType = dragonite.GetTypes()[0];
+
34 Type expectedType = Type.Dragon;
+
35 Assert.That(dragoniteType.Equals(expectedType));
+
36 }
+
+
37
+
41 [Test]
+
+ +
43 {
+
44 Dragonite dragonite = new Dragonite();
+
45 double dragoniteBaseLife = dragonite.BaseLife;
+
46 double expectedBaseLife = 460;
+
47 Assert.That(dragoniteBaseLife.Equals(expectedBaseLife));
+
48 double dragoniteCurentLife = dragonite.CurrentLife;
+
49 double expectedCurrentLife = 460;
+
50 Assert.That(dragoniteCurentLife.Equals(expectedCurrentLife));
+
51 }
+
+
52
+
56 [Test]
+
+ +
58 {
+
59 Dragonite dragonite = new Dragonite();
+
60 List<IAttack> dragoniteAttacks = dragonite.GetAttacks();
+
61 int expectedLenght = 4;
+
62 Assert.That(dragoniteAttacks.Count.Equals(expectedLenght));
+
63 }
+
+
64
+
68 [Test]
+
+
69 public void TestAddAFifthAttack()
+
70 {
+
71 Dragonite dragonite= new Dragonite();
+
72 List<IAttack> dragoniteAttacks = dragonite.GetAttacks();
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
74 dragonite.AddAttack(attack);
+
75 int expectedLenght = 4;
+
76 Assert.That(dragoniteAttacks.Count.Equals(expectedLenght));
+
77 }
+
+
78
+
82 [Test]
+
+ +
84 {
+
85 Dragonite dragonite = new Dragonite();
+
86 State? dragoniteCurrentState = dragonite.CurrentState;
+
87 Assert.That(dragoniteCurrentState.Equals(null));
+
88 dragonite.EditState(State.Burned);
+
89 State? dragoniteCurrentState2 = dragonite.CurrentState;
+
90 Assert.That(dragoniteCurrentState2.Equals(State.Burned));
+
91 }
+
+
92
+
96 [Test]
+
+
97 public void TestAsleepTurns()
+
98 {
+
99 Dragonite dragonite = new Dragonite();
+
100 int dragoniteCurrentState = dragonite.AsleepTurns;
+
101 int expectedLenght = 0;
+
102 Assert.That(dragoniteCurrentState.Equals(expectedLenght));
+
103 }
+
+
104
+
108 [Test]
+
+
109 public void TestAttacks()
+
110 {
+
111 Dragonite dragonite = new Dragonite();
+
112 Attack attack1 = dragonite.FindAttackByName("Wing Attack");
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
+
117 string attack1ExcpectedName = "Wing Attack";
+
118 Type attack1ExcpectedType = Type.Flying;
+
119 double attack1ExcpectedAccuracy = 1;
+
120 int attack1ExcpectedPower = 60;
+
121
+
122 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
123 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
124 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
125 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
126
+
127 Attack attack2 = dragonite.FindAttackByName("Slam");
+
128 string attack2Name = attack2.Name;
+
129 Type attack2Type = attack2.Type;
+
130 double attack2Accuracy = attack2.Accuracy;
+
131 int attack2Power = attack2.Power;
+
132 string attack2ExcpectedName = "Slam";
+
133 Type attack2ExcpectedType = Type.Normal;
+
134 double attack2ExcpectedAccuracy = 0.75;
+
135 int attack2ExcpectedPower = 80;
+
136
+
137 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
138 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
139 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
140 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
141
+
142 Attack attack3 = dragonite.FindAttackByName("Twister");
+
143 string attack3Name = attack3.Name;
+
144 Type attack3Type = attack3.Type;
+
145 double attack3Accuracy = attack3.Accuracy;
+
146 int attack3Power = attack3.Power;
+
147 string attack3ExcpectedName = "Twister";
+
148 Type attack3ExcpectedType = Type.Dragon;
+
149 double attack3ExcpectedAccuracy = 1;
+
150 int attack3ExcpectedPower = 40;
+
151
+
152 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
153 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
154 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
155 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
156
+
157 if (attack3 is SpecialAttack specialAttack3)
+
158 {
+
159 State sAttack3SpecialEffect = specialAttack3.SpecialEffect;
+
160 int sAttack3Cooldown = specialAttack3.Cooldown;
+
161 State attack3ExcpectedSpecialEffect = State.Paralized;
+
162 int attack2ExcpectedCooldown = 0;
+
163 Assert.That(sAttack3SpecialEffect.Equals(attack3ExcpectedSpecialEffect));
+
164 Assert.That(sAttack3Cooldown.Equals(attack2ExcpectedCooldown));
+
165
+
166 }
+
167
+
168 Attack attack4 = dragonite.FindAttackByName("Wrap");
+
169 string attack4Name = attack4.Name;
+
170 Type attack4Type = attack4.Type;
+
171 double attack4Accuracy = attack4.Accuracy;
+
172 int attack4Power = attack4.Power;
+
173 string attack4ExcpectedName = "Wrap";
+
174 Type attack4ExcpectedType = Type.Normal;
+
175 double attack4ExcpectedAccuracy = 0.9;
+
176 int attack4ExcpectedPower = 15;
+
177
+
178 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
179 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
180 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
181 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
182 }
+
+
183
+
187 [Test]
+
+ +
189 {
+
190 Dragonite dragonite= new Dragonite();
+
191 double actualLife = dragonite.CurrentLife;
+
192 string actualLifeText = dragonite.GetLife();
+
193 dragonite.GainLife(100);
+
194 Assert.That(actualLife.Equals(dragonite.BaseLife));
+
195 Assert.That(actualLifeText.Equals("460/460", StringComparison.Ordinal));
+
196 dragonite.TakeDamage(120);
+
197 double actualLife2 = dragonite.CurrentLife;
+
198 string actualLifeText2 = dragonite.GetLife();
+
199 Assert.That(actualLife2.Equals(340));
+
200 Assert.That(actualLifeText2.Equals("340/460", StringComparison.Ordinal));
+
201 dragonite.GainLife(100);
+
202 double actualLife3 = dragonite.CurrentLife;
+
203 string actualLifeText3 = dragonite.GetLife();
+
204 Assert.That(actualLife3.Equals(440));
+
205 Assert.That(actualLifeText3.Equals("440/460", StringComparison.Ordinal));
+
206 }
+
+
207
+
208
+
212 [Test]
+
+
213 public void TestInstance()
+
214 {
+
215 Dragonite dragonite = new Dragonite();
+
216 Pokemon dragoniteClone = dragonite.Instance();
+
217 Assert.That(dragoniteClone,Is.TypeOf<Dragonite>());
+
218 }
+
+
219
+
220}
+
+
Test de la clase Dragonite
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
void TestAsleepTurns()
Test del atributo asleepTurns.
+
void TestType()
Test del atributo type.
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Dragonite.
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
+
void TestInstance()
Test del método Instance.
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Dragonite.
+
void TestName()
Test del atributo name.
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Dragonite, confirmando que fueron creados cor...
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Dragonite. Al ser un Pokemon hereda de la clase Pokemon.
Definition Dragonite.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Dragonite.cs:23
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/Dragonite_8cs_source.html b/docs/html/Dragonite_8cs_source.html new file mode 100644 index 0000000..edf700f --- /dev/null +++ b/docs/html/Dragonite_8cs_source.html @@ -0,0 +1,143 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Dragonite.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Dragonite.cs
+
+
+
1namespace Library;
+
2
+
+
7public class Dragonite : Pokemon
+
8{
+
+
12 public Dragonite():base(name: "Dragonite", life: 460, type: Type.Dragon,new Attack("Wing Attack",Type.Flying,
+
13 1.00,60),new Attack("Slam", Type.Normal,0.75,80),new SpecialAttack
+
14 ("Twister",Type.Dragon,1.00,40,State.Paralized), new Attack("Wrap",Type.Normal,0.9,15))
+
15 {
+
16
+
17 }
+
+
18
+
+
23 public override Pokemon Instance()
+
24 {
+
25 return new Dragonite();
+
26 }
+
+
27}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el Pokemon Dragonite. Al ser un Pokemon hereda de la clase Pokemon.
Definition Dragonite.cs:8
+
Dragonite()
Constructor de Dragonite, implementa el patron GRASP creator.
Definition Dragonite.cs:12
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Dragonite.cs:23
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/EnteiTest_8cs_source.html b/docs/html/EnteiTest_8cs_source.html new file mode 100644 index 0000000..f638ffd --- /dev/null +++ b/docs/html/EnteiTest_8cs_source.html @@ -0,0 +1,357 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/EnteiTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
EnteiTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10[TestFixture]
+
11[TestOf(typeof(Entei))]
+
+
12public class EnteiTest
+
13{
+
17 [Test]
+
+
18 public void TestName()
+
19 {
+
20 Entei entei = new Entei();
+
21 string enteiName = entei.Name;
+
22 string expectedName = "Entei";
+
23 Assert.That(enteiName.Equals(expectedName, StringComparison.Ordinal));
+
24 }
+
+
25
+
29 [Test]
+
+
30 public void TestType()
+
31 {
+
32 Entei entei = new Entei();
+
33 Type enteiType = entei.GetTypes()[0];
+
34 Type expectedType = Type.Fire;
+
35 Assert.That(enteiType.Equals(expectedType));
+
36 }
+
+
37
+
41 [Test]
+
+ +
43 {
+
44 Entei entei = new Entei();
+
45 double enteiBaseLife = entei.BaseLife;
+
46 double expectedBaseLife = 490;
+
47 Assert.That(enteiBaseLife.Equals(expectedBaseLife));
+
48 double enteiCurentLife = entei.CurrentLife;
+
49 double expectedCurrentLife = 490;
+
50 Assert.That(enteiCurentLife.Equals(expectedCurrentLife));
+
51 }
+
+
52
+
56 [Test]
+
+ +
58 {
+
59 Entei entei = new Entei();
+
60 List<IAttack> enteiAttacks = entei.GetAttacks();
+
61 int expectedLenght = 4;
+
62 Assert.That(enteiAttacks.Count.Equals(expectedLenght));
+
63 }
+
+
64
+
68 [Test]
+
+
69 public void TestAddAFifthAttack()
+
70 {
+
71 Entei entei= new Entei();
+
72 List<IAttack> enteiAttacks = entei.GetAttacks();
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
74 entei.AddAttack(attack);
+
75 int expectedLenght = 4;
+
76 Assert.That(enteiAttacks.Count.Equals(expectedLenght));
+
77 }
+
+
78
+
82 [Test]
+
+ +
84 {
+
85 Entei entei = new Entei();
+
86 State? enteiCurrentState = entei.CurrentState;
+
87 Assert.That(enteiCurrentState.Equals(null));
+
88 entei.EditState(State.Burned);
+
89 State? enteiCurrentState2 = entei.CurrentState;
+
90 Assert.That(enteiCurrentState2.Equals(State.Burned));
+
91 }
+
+
92
+
96 [Test]
+
+
97 public void TestAsleepTurns()
+
98 {
+
99 Entei entei = new Entei();
+
100 int enteiCurrentState = entei.AsleepTurns;
+
101 int expectedLenght = 0;
+
102 Assert.That(enteiCurrentState.Equals(expectedLenght));
+
103 }
+
+
104
+
108 [Test]
+
+
109 public void TestAttacks()
+
110 {
+
111 Entei entei = new Entei();
+
112 Attack attack1 = entei.FindAttackByName("Ember");
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
+
117 string attack1ExcpectedName = "Ember";
+
118 Type attack1ExcpectedType = Type.Fire;
+
119 double attack1ExcpectedAccuracy = 1;
+
120 int attack1ExcpectedPower = 40;
+
121
+
122 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
123 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
124 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
125 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
126
+
127 Attack attack2 = entei.FindAttackByName("Stomp");
+
128 string attack2Name = attack2.Name;
+
129 Type attack2Type = attack2.Type;
+
130 double attack2Accuracy = attack2.Accuracy;
+
131 int attack2Power = attack2.Power;
+
132 string attack2ExcpectedName = "Stomp";
+
133 Type attack2ExcpectedType = Type.Normal;
+
134 double attack2ExcpectedAccuracy = 1;
+
135 int attack2ExcpectedPower = 60;
+
136
+
137 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
138 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
139 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
140 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
141
+
142 Attack attack3 = entei.FindAttackByName("Will-O-Wisp");
+
143 string attack3Name = attack3.Name;
+
144 Type attack3Type = attack3.Type;
+
145 double attack3Accuracy = attack3.Accuracy;
+
146 int attack3Power = attack3.Power;
+
147 string attack3ExcpectedName = "Will-O-Wisp";
+
148 Type attack3ExcpectedType = Type.Dragon;
+
149 double attack3ExcpectedAccuracy = 1;
+
150 int attack3ExcpectedPower = 0;
+
151
+
152 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
153 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
154 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
155 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
156
+
157 if (attack3 is SpecialAttack specialAttack3)
+
158 {
+
159 State sAttack2SpecialEffect = specialAttack3.SpecialEffect;
+
160 int sAttack2Cooldown = specialAttack3.Cooldown;
+
161 State attack2ExcpectedSpecialEffect = State.Burned;
+
162 int attack2ExcpectedCooldown = 0;
+
163 Assert.That(sAttack2SpecialEffect.Equals(attack2ExcpectedSpecialEffect));
+
164 Assert.That(sAttack2Cooldown.Equals(attack2ExcpectedCooldown));
+
165
+
166 }
+
167
+
168 Attack attack4 = entei.FindAttackByName("Extrasensory");
+
169 string attack4Name = attack4.Name;
+
170 Type attack4Type = attack4.Type;
+
171 double attack4Accuracy = attack4.Accuracy;
+
172 int attack4Power = attack4.Power;
+
173 string attack4ExcpectedName = "Extrasensory";
+
174 Type attack4ExcpectedType = Type.Psychic;
+
175 double attack4ExcpectedAccuracy = 0.9;
+
176 int attack4ExcpectedPower = 60;
+
177
+
178 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
179 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
180 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
181 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
182 }
+
+
183
+
187 [Test]
+
+ +
189 {
+
190 Entei entei= new Entei();
+
191 double actualLife = entei.CurrentLife;
+
192 string actualLifeText = entei.GetLife();
+
193 entei.GainLife(100);
+
194 Assert.That(actualLife.Equals(entei.BaseLife));
+
195 Assert.That(actualLifeText.Equals("490/490", StringComparison.Ordinal));
+
196 entei.TakeDamage(120);
+
197 double actualLife2 = entei.CurrentLife;
+
198 string actualLifeText2 = entei.GetLife();
+
199 Assert.That(actualLife2.Equals(370));
+
200 Assert.That(actualLifeText2.Equals("370/490", StringComparison.Ordinal));
+
201 entei.GainLife(100);
+
202 double actualLife3 = entei.CurrentLife;
+
203 string actualLifeText3 = entei.GetLife();
+
204 Assert.That(actualLife3.Equals(470));
+
205 Assert.That(actualLifeText3.Equals("470/490", StringComparison.Ordinal));
+
206 }
+
+
207
+
211 [Test]
+
+
212 public void TestInstance()
+
213 {
+
214 Entei entei = new Entei();
+
215 Pokemon enteiClone = entei.Instance();
+
216 Assert.That(enteiClone,Is.TypeOf<Entei>());
+
217 }
+
+
218
+
219}
+
+
Test de la clase Entei
Definition EnteiTest.cs:13
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Entei.
Definition EnteiTest.cs:57
+
void TestAsleepTurns()
Test del atributo asleepTurns.
Definition EnteiTest.cs:97
+
void TestType()
Test del atributo type.
Definition EnteiTest.cs:30
+
void TestName()
Test del atributo name.
Definition EnteiTest.cs:18
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Entei.
Definition EnteiTest.cs:69
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
Definition EnteiTest.cs:42
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
Definition EnteiTest.cs:188
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
Definition EnteiTest.cs:83
+
void TestInstance()
Test del método Instance.
Definition EnteiTest.cs:212
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Entei, confirmando que fueron creados correct...
Definition EnteiTest.cs:109
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Entei. Al ser un Pokemon hereda de la clase Pokemon.
Definition Entei.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Entei.cs:22
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/Entei_8cs_source.html b/docs/html/Entei_8cs_source.html new file mode 100644 index 0000000..9210363 --- /dev/null +++ b/docs/html/Entei_8cs_source.html @@ -0,0 +1,142 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Entei.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Entei.cs
+
+
+
1namespace Library;
+
2
+
+
7public class Entei : Pokemon
+
8{
+
+
12 public Entei():base(name: "Entei", life: 490, type: Type.Fire,new Attack("Ember",Type.Fire,
+
13 1.00,40),new Attack("Stomp", Type.Normal,1.00,60),new SpecialAttack
+
14 ("Will-O-Wisp",Type.Dragon,1.00,0,State.Burned), new Attack("Extrasensory",Type.Psychic,0.9,60))
+
15 {
+
16
+
17 }
+
+
+
22 public override Pokemon Instance()
+
23 {
+
24 return new Entei();
+
25 }
+
+
26}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el Pokemon Entei. Al ser un Pokemon hereda de la clase Pokemon.
Definition Entei.cs:8
+
Entei()
Constructor de Entei, implementa el patron GRASP creator.
Definition Entei.cs:12
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Entei.cs:22
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/FacadeTest_8cs_source.html b/docs/html/FacadeTest_8cs_source.html deleted file mode 100644 index 65bbab1..0000000 --- a/docs/html/FacadeTest_8cs_source.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - - -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/FacadeTest.cs Source File - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Object Lifecycle -
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
FacadeTest.cs
-
-
-
1using System.Security.AccessControl;
-
2using Library;
-
3using NUnit.Framework;
-
4using Type = System.Type;
-
5
-
6namespace LibraryTests;
-
7
-
11[TestFixture]
-
12[TestOf(typeof(Facade))]
-
-
13public class FacadeTest
-
14{
-
18 [Test]
-
-
19 public void TestUserStory1()
-
20 {
-
21 Facade.AddPlayerToWaitingList("mateo");
-
22 Facade.AddPlayerToWaitingList("ines");
-
23 Facade.CreateGame("mateo", "ines");
-
24 Facade.StartBattle("mateo", "ines");
-
25 string result = "El pokemon Caterpie fue añadido al equipo";
-
26 Assert.That(Facade.ChooseTeam("mateo", "Caterpie"), Is.EqualTo(result));
-
27 }
-
-
28
-
32 [Test]
-
-
33 public void TestUserStory2()
-
34 {
-
35 Facade.AddPlayerToWaitingList("mateo");
-
36 Facade.AddPlayerToWaitingList("ines");
-
37 Facade.CreateGame("mateo", "ines");
-
38 Facade.StartBattle("mateo", "ines");
-
39 Facade.ChooseTeam("mateo", "Caterpie");
-
40 string result = "Bug bite\nTackle\nBug stomp\nString shot\n";
-
41 string mateo = Facade.ShowAtacks("mateo");
-
42 Assert.That(mateo, Is.EqualTo(result));
-
43 }
-
-
47 [Test]
-
-
48 public void TestUserStory3()
-
49 {
-
50 Facade.AddPlayerToWaitingList("facu");
-
51 Facade.AddPlayerToWaitingList("ines");
-
52 Facade.CreateGame("facu", "ines");
-
53 Facade.StartBattle("facu", "ines");
-
54 Facade.ChooseTeam("facu", "Charizard");
-
55 Facade.ChooseTeam("ines", "Chikorita");
-
56 string result1 = "Charizard: 360/360\n";
-
57 Assert.That(Facade.ShowPokemonsHp("facu"), Is.EqualTo(result1));
-
58 string result2 = "Chikorita: 294/294\n";
-
59 Assert.That(Facade.ShowPokemonsHp("facu", "ines"), Is.EqualTo(result2));
-
60 }
-
-
61
-
65 [Test]
-
-
66 public void TestUserStory4()
-
67 {
-
68 Facade.AddPlayerToWaitingList("facu");
-
69 Facade.AddPlayerToWaitingList("ines");
-
70 Facade.CreateGame("facu", "ines");
-
71 Facade.StartBattle("facu", "ines");
-
72 Facade.ChooseTeam("facu", "Charizard");
-
73 Facade.ChooseTeam("ines", "Chikorita");
-
74 Facade.ChooseAttack("facu", "Flamethrower");
-
75 }
-
-
76
-
77
-
81 [Test]
-
-
82 public void TestUserStory5()
-
83 {
-
84 Facade.AddPlayerToWaitingList("facu");
-
85 Facade.AddPlayerToWaitingList("ines");
-
86 Facade.CreateGame("facu", "ines");
-
87 Facade.StartBattle("facu", "ines");
-
88 Assert.That(Facade.CheckTurn("facu"), Is.EqualTo("Es tu turno:\n1- !Attack (ver los ataques con el pokemon activo)\n 2- !Item (ver los items disponibles)\n 3- !Change (ver pokemons disp. a cambiar)"));
-
89 Assert.That(Facade.CheckTurn("ines"), Is.EqualTo("No es tu turno, las opciones disponibles cuando sea tu turno son:\n1- !Attack (ver los ataques con el pokemon activo)\n 2- !Item (ver los items disponibles)\n 3- !Change (ver pokemons disp. a cambiar)"));
-
90 }
-
-
91
-
92
-
96 [Test]
-
-
97 public void TestUserStory6()
-
98 {
-
99 Facade.AddPlayerToWaitingList("facu");
-
100 Facade.AddPlayerToWaitingList("ines");
-
101 Facade.CreateGame("facu", "ines");
-
102 Facade.StartBattle("facu", "ines");
-
103 Facade.ChooseTeam("facu", "Charizard");
-
104 Facade.ChooseTeam("ines", "Chikorita");
-
105 string attack = Facade.ChooseAttack("facu", "Flamethrower");
-
106 string excpected = "El equipo está incompleto, por favor elige 6 pokemones para poder comenzar la batalla";
-
107 Assert.That(attack.Equals(excpected, StringComparison.Ordinal));
-
108 Facade.ChooseTeam("facu", "Zeraora");
-
109 Facade.ChooseTeam("facu", "Caterpie");
-
110 Facade.ChooseTeam("facu", "Mewtwo");
-
111 Facade.ChooseTeam("facu", "Chikorita");
-
112 Facade.ChooseTeam("facu", "Haxorus");
-
113 string attack1 = Facade.ChooseAttack("facu", "Flamethrower");
-
114 string excpected1 = $"Chikorita recibió 150 puntos de daño Próximo turno, ahora es el turno de ines";
-
115 Assert.That(attack1.Equals(excpected1, StringComparison.Ordinal));
-
116 string attack2 = Facade.ChooseAttack("facu", "Flamethrower");
-
117 string excpected2 = "No eres el jugador activo";
-
118 Assert.That(attack2.Equals(excpected2, StringComparison.Ordinal));
-
119
-
120 }
-
-
124 [Test]
-
-
125 public void TestUserStory7()
-
126 {
-
127 Facade.AddPlayerToWaitingList("facu");
-
128 Facade.AddPlayerToWaitingList("ines");
-
129 Facade.CreateGame("facu", "ines");
-
130 Facade.StartBattle("facu", "ines");
-
131 Facade.ChooseTeam("facu", "Charizard");
-
132 Facade.ChooseTeam("facu", "Gengar");
-
133 Facade.ChooseTeam("ines", "Chikorita");
-
134 string asd = Facade.ChangePokemon("facu", "Gengar");
-
135 string change = "No eres el jugador activo, no puedes realizar acciones";
-
136 Assert.That(asd, Is.EqualTo(change));
-
137 string asd1 = Facade.ChangePokemon("facu", "Gengar");
-
138 string change1 = "Tu equipo pokemon está incompleto, elige hasta tener 6 pokemones en tu equipo";
-
139 Assert.That(asd1, Is.EqualTo(change1));
-
140 Facade.ChooseTeam("ines", "Zeraora");
-
141 Facade.ChooseTeam("ines", "Caterpie");
-
142 Facade.ChooseTeam("ines", "Mewtwo");
-
143 Facade.ChooseTeam("ines", "Gengar");
-
144 Facade.ChooseTeam("ines", "Haxorus");
-
145 string change2 = Facade.ChangePokemon("ines","Mewtwo");
-
146 string excpected = "Ese ya es tu pokemon activo";
-
147 Assert.That(change1, Is.EqualTo(excpected));
-
148 }
-
-
149
-
150
-
154 [Test]
-
-
155 public void TestUserStory8()
-
156 {
-
157 Facade.AddPlayerToWaitingList("facu");
-
158 Facade.AddPlayerToWaitingList("ines");
-
159 Facade.CreateGame("facu", "ines");
-
160 Facade.StartBattle("facu", "ines");
-
161 Facade.ChooseTeam("facu", "Charizard");
-
162 string excpected = Facade.UseAnItem("facu", "SuperPotion", "Charizard");
-
163 Assert.That(excpected, Is.EqualTo("Charizard ha ganado 70HP."));
-
164 }
-
-
165
-
166
-
170 [Test]
-
-
171 public void TestUserStory9()
-
172 {
-
173 Assert.That(Facade.AddPlayerToWaitingList("facu"), Is.EqualTo("facu agregado a la lista de espera"));
-
174 Assert.That(Facade.AddPlayerToWaitingList("facu"), Is.EqualTo("facu ya está en la lista de espera"));
-
175 }
-
-
176
-
177
-
181 [Test]
-
-
182 public void TestUserStory10()
-
183 {
-
184 Assert.That(Facade.GetAllPlayersWaiting(), Is.EqualTo("No hay nadie esperando"));
-
185 Facade.AddPlayerToWaitingList("facu");
-
186 Facade.AddPlayerToWaitingList("ines");
-
187 Assert.That(Facade.GetAllPlayersWaiting(),Is.EqualTo("Esperan: facu; ines; "));
-
188 }
-
-
189
-
190
-
194 [Test]
-
-
195 public void TestUserStory11()
-
196 {
-
197 Assert.That(Facade.StartBattle("facu",null), Is.EqualTo("No hay nadie esperando"));
-
198 Assert.That(Facade.StartBattle("facu","ines"), Is.EqualTo("ines no está esperando"));
-
199 Facade.AddPlayerToWaitingList("facu");
-
200 Facade.AddPlayerToWaitingList("ines");
-
201 Assert.That(Facade.StartBattle("facu", "ines"), Is.EqualTo("Comienza facu vs ines"));
-
202 }
-
-
203
-
204}
-
-
Test de la clase Facade
Definition FacadeTest.cs:14
-
void TestUserStory1()
Test de la historia de usuario 1.
Definition FacadeTest.cs:19
-
void TestUserStory3()
Test de la historia de usuario 3.
Definition FacadeTest.cs:48
-
void TestUserStory4()
Test de la historia de usuario 4.
Definition FacadeTest.cs:66
-
void TestUserStory6()
Test de la historia de usuario 6.
Definition FacadeTest.cs:97
-
void TestUserStory10()
Test de la historia de usuario 10.
-
void TestUserStory2()
Test de la historia de usuario 2.
Definition FacadeTest.cs:33
-
void TestUserStory9()
Test de la historia de usuario 9.
-
void TestUserStory7()
Test de la historia de usuario 7.
-
void TestUserStory11()
Test de la historia de usuario 11.
-
void TestUserStory5()
Test de la historia de usuario 5.
Definition FacadeTest.cs:82
-
void TestUserStory8()
Test de la historia de usuario 8.
- - -
Type
Representa los tipos.
Definition Type.cs:7
-
-
- - - - diff --git a/docs/html/Facade_8cs_source.html b/docs/html/Facade_8cs_source.html deleted file mode 100644 index 1967c94..0000000 --- a/docs/html/Facade_8cs_source.html +++ /dev/null @@ -1,445 +0,0 @@ - - - - - - - -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Facade.cs Source File - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Object Lifecycle -
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Facade.cs
-
-
-
1namespace Library;
-
5public static class Facade
-
6{
-
10 private static WaitingList WaitingList { get; } = new WaitingList();
-
11
-
15 private static GameList GameList { get; } = new GameList();
-
16
-
24 public static string ChooseTeam(string playerName, string cPokemon)
-
25 {
-
26 PokemonCatalogue.SetCatalogue();
-
27 Player player = GameList.FindPlayerByName(playerName);
-
28
-
29 if (player == null)
-
30 {
-
31 return "Para poder elegir un equipo, primero debes estar en una batalla";
-
32 }
-
33
-
34 if (player.GetPokemonTeam().Count < 6)
-
35 {
-
36 if (cPokemon != null)
-
37 {
-
38 foreach (Pokemon pokemon in PokemonCatalogue.SetCatalogue())
-
39 {
-
40 if (pokemon.Name == cPokemon && !player.GetPokemonTeam().Contains(pokemon))
-
41 {
-
42 player.AddToTeam(pokemon);
-
43 if (player.GetPokemonTeam().Count == 1)
-
44 {
-
45 player.SetActivePokemon(pokemon);
-
46 }
-
47 return $"El pokemon {cPokemon} fue añadido al equipo";
-
48 }
-
49
-
50 if (pokemon.Name == cPokemon && player.GetPokemonTeam().Contains(pokemon))
-
51 {
-
52 return $"El pokemon {cPokemon} ya está en el equipo, no puedes volver a añadirlo";
-
53 }
-
54 }
-
55 return $"El pokemon {cPokemon} no fue encontrado";
-
56 }
-
57 }
-
58 return "Ya tienes 6 pokemones en el equipo, no puedes elegir más";
-
59 }
-
60
-
61
-
69 public static string ShowAtacks(string playerName)
-
70 {
-
71
-
72 Player player = GameList.FindPlayerByName(playerName);
-
73 if (player == null)
-
74 return $"El jugador {playerName} no está en ninguna partida.";
-
75
-
76 return player.GetPokemonAttacks();
-
77 }
-
78
-
87 public static string ShowPokemonsHp(string playerName, string playerToCheckName = null)
-
88 {
-
89 Player player = GameList.FindPlayerByName(playerName);
-
90 if (player == null)
-
91 return $"El jugador {playerName} no está en ninguna partida.";
-
92 if (playerToCheckName == null)
-
93 {
-
94 string result = "";
-
95 foreach (Pokemon pokemon in player.GetPokemonTeam())
-
96 result += pokemon.Name + ": " + pokemon.GetLife() + "\n";
-
97 return result;
-
98 }
-
99 else
-
100 {
-
101 Player playerToCheck = GameList.FindPlayerByName(playerToCheckName);
-
102 string result = "";
-
103 Game game = GameList.FindGameByPlayer(player);
-
104 if (game != null && game.CheckPlayerInGame(player) && game.CheckPlayerInGame(playerToCheck) &&
-
105 playerToCheck != null)
-
106 {
-
107 foreach (Pokemon pokemon in playerToCheck.GetPokemonTeam())
-
108 result += pokemon.Name + ": " + pokemon.GetLife() + "\n";
-
109 return result;
-
110 }
-
111
-
112 return $"El jugador {playerToCheckName} no está en tu partida.";
-
113 }
-
114 }
-
115
-
125 public static string ChooseAttack(string playerName, string attackName)
-
126 {
-
127 Player player = GameList.FindPlayerByName(playerName);
-
128 if (player == null)
-
129 {
-
130 return "Para poder atacar necesitas estar en una batalla";
-
131 }
-
132
-
133 if (player.GetPokemonTeam().Count < 6)
-
134 {
-
135 return "El equipo está incompleto, por favor elige 6 pokemones para poder comenzar la batalla";
-
136 }
-
137
-
138 Attack attack = player.FindAttack(attackName);
-
139 if (attack == null)
-
140 {
-
141 return $"El ataque {attackName} no pudo ser encontrado";
-
142 }
-
143
-
144 Game actualGame = GameList.FindGameByPlayer(player);
-
145 if (actualGame == null)
-
146 {
-
147 return "Esa partida no está en curso";
-
148 }
-
149
-
150 foreach (Game game in GameList.GetGameList())
-
151 {
-
152 if (game.CheckPlayerInGame(player))
-
153 {
-
154 if (game.GetPlayers()[game.ActivePlayer].Name == player.Name)
-
155 {
-
156 string gameResult = game.ExecuteAttack(attack);
-
157 game.NextTurn();
-
158 string nextTurn = CheckGameStatus(game);
-
159 return gameResult + " " + nextTurn;
-
160 }
-
161 return "No eres el jugador activo";
-
162 }
-
163 }
-
164
-
165 return "Error inesperado";
-
166 }
-
167
-
174 public static string CheckTurn(string playerName)
-
175 {
-
176 Player player = GameList.FindPlayerByName(playerName);
-
177 if (player == null)
-
178 {
-
179 return $"El jugador {playerName} no está en ninguna partida.";
-
180 }
-
181
-
182 Game game = GameList.FindGameByPlayer(player);
-
183 string opciones =
-
184 $"1- !Attack (ver los ataques con el pokemon activo)\n 2- !Item (ver los items disponibles)\n 3- !Change (ver pokemons disp. a cambiar)";
-
185 if (game != null)
-
186 {
-
187 if (game.CheckPlayerInGame(player))
-
188 {
-
189 int activePlayerIndex = game.ActivePlayer;
-
190 Player activePlayer = game.GetPlayers()[activePlayerIndex];
-
191 if (activePlayer.Name == playerName)
-
192 return "Es tu turno:\n" + opciones;
-
193 return "No es tu turno," + " " + "las opciones disponibles cuando sea tu turno son:\n" + opciones;
-
194 }
-
195 }
-
196
-
197 return null;
-
198 }
-
199
-
207 public static string CheckGameStatus(Game game)
-
208 {
-
209 if (game != null)
-
210 {
-
211 if (game.GameStatus())
-
212 {
-
213 return $"Próximo turno, ahora es el turno de {game.GetPlayers()[game.ActivePlayer].Name}";
-
214 }
-
215 GameList.RemoveGame(game);
-
216 return game.Winner();
-
217 }
-
218
-
219 return "La partida no pudo ser encontrada";
-
220 }
-
221
-
222
-
232 public static string ChangePokemon(string playerName, string pokemonName)
-
233 {
-
234 Player player = GameList.FindPlayerByName(playerName);
-
235 if (player == null)
-
236 {
-
237 return $"El jugador {playerName} no está en ninguna partida.";
-
238 }
-
239
-
240 Game game = GameList.FindGameByPlayer(player);
-
241 if (game == null)
-
242 {
-
243 return "La partida no pudo ser encontrada";
-
244 }
-
245
-
246 if (game.GetPlayers()[game.ActivePlayer].Name == playerName)
-
247 {
-
248 if (game.GetPlayers()[game.ActivePlayer].GetPokemonTeam().Count < 6)
-
249 {
-
250 return "Tu equipo pokemon está incompleto, elige hasta tener 6 pokemones en tu equipo";
-
251 }
-
252
-
253 Pokemon choosenPokemon = player.FindPokemon(pokemonName);
-
254 if (choosenPokemon == null)
-
255 {
-
256 return $"El pokemon {pokemonName} no fue encontrado en tu equipo";
-
257 }
-
258
-
259 string result = game.ChangePokemon(choosenPokemon);
-
260 if (result == "Ese Pokemon no está en tu equipo.")
-
261 {
-
262 return result;
-
263 }
-
264
-
265 game.NextTurn();
-
266 string nextTurn = CheckGameStatus(game);
-
267 return result + "\n" + nextTurn;
-
268 }
-
269
-
270 return "No eres el jugador activo, no puedes realizar acciones";
-
271 }
-
272
-
281 public static string UseAnItem(string playerName, string item, string pokemon)
-
282 {
-
283 Player player = GameList.FindPlayerByName(playerName);
-
284 Game game = GameList.FindGameByPlayer(player);
-
285
-
286 if (player == null)
-
287 {
-
288 return $"El jugador {playerName} no está en ninguna partida.";
-
289 }
-
290
-
291 if (game == null)
-
292 {
-
293 return "Partida inexistente.";
-
294 }
-
295 return game.UseItem(player.FindItem(item), player.FindPokemon(pokemon));
-
296 }
-
297
-
298
-
305 public static string AddPlayerToWaitingList(string playerName)
-
306 {
-
307 if (WaitingList.AddPlayer(playerName))
-
308 {
-
309 return $"{playerName} agregado a la lista de espera";
-
310 }
-
311
-
312 return $"{playerName} ya está en la lista de espera";
-
313 }
-
314
-
321 public static string RemovePlayerFromWaitingList(string playerName)
-
322 {
-
323 if (WaitingList.RemovePlayer(playerName))
-
324 return $"{playerName} removido de la lista de espera";
-
325 return $"{playerName} no está en la lista de espera";
-
326 }
-
327
-
333 public static string GetAllPlayersWaiting()
-
334 {
-
335 if (WaitingList.Count == 0)
-
336 {
-
337 return "No hay nadie esperando";
-
338 }
-
339
-
340 string result = "Esperan: ";
-
341 foreach (Player player in WaitingList.GetWaitingList())
-
342 {
-
343 result = result + player.Name + "; ";
-
344 }
-
345
-
346 return result;
-
347 }
-
348
-
349 //
-
358 public static string CreateGame(string playerName, string opponentName)
-
359 {
-
360 Player player = WaitingList.FindPlayerByName(playerName);
-
361 Player opponent = WaitingList.FindPlayerByName(opponentName);
-
362 WaitingList.RemovePlayer(playerName);
-
363 WaitingList.RemovePlayer(opponentName);
-
364 GameList.AddGame(player, opponent);
-
365 return $"Comienza {playerName} vs {opponentName}";
-
366 }
-
367
-
375 public static string StartBattle(string playerName, string opponentName)
-
376 {
-
377 Player opponent;
-
378 if (!OpponentProvided() && !SomebodyIsWaiting())
-
379 return "No hay nadie esperando";
-
380 if (!OpponentProvided())
-
381 {
-
382 opponent = WaitingList.GetAnyoneWaiting();
-
383 return CreateGame(playerName, opponent!.Name);
-
384 }
-
385
-
386 opponent = WaitingList.FindPlayerByName(opponentName!);
-
387 if (!OpponentFound())
-
388 {
-
389 return $"{opponentName} no está esperando";
-
390 }
-
391
-
392 return CreateGame(playerName, opponent!.Name);
-
393
-
394 bool OpponentProvided()
-
395 {
-
396 return !string.IsNullOrEmpty(opponentName);
-
397 }
-
398
-
399 bool SomebodyIsWaiting()
-
400 {
-
401 return WaitingList.Count != 0;
-
402 }
-
403
-
404 bool OpponentFound()
-
405 {
-
406 return opponent != null;
-
407 }
-
408 }
-
409
-
410
-
415 public static string ShowCatalogue()
-
416 {
-
417 PokemonCatalogue.SetCatalogue();
-
418 return PokemonCatalogue.ShowCatalogue();
-
419 }
-
420}
-
Player? FindPlayerByName(string playerName)
Devuelve un jugador buscandolo por su nombre.
Definition GameList.cs:45
-
bool RemoveGame(Game game)
Elimina una partida de la lista de partidas.
Definition GameList.cs:31
-
List< Game > GetGameList()
Devuelve la lista de partidas.
Definition GameList.cs:72
-
Game AddGame(Player player1, Player player2)
Agrega una partida a la lista de partidas.
Definition GameList.cs:18
-
Game? FindGameByPlayer(Player player)
Devuelve la partida en la que se encuentra un jugador.
Definition GameList.cs:61
-
int ActivePlayer
Obtiene el valor del índice del jugador activo de la partida.
Definition Game.cs:16
-
string UseItem(IItem item, Pokemon pokemon)
Permite que un jugador use un item en un Pokemon específico de su equipo, verificando la validez del ...
Definition Game.cs:175
-
string ExecuteAttack(Attack attack)
Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d...
Definition Game.cs:140
-
string ChangePokemon(Pokemon pokemon)
Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido...
Definition Game.cs:199
-
string GetPokemonAttacks()
Devuelve un string con los nombres de todos los ataques del pokemon activo.
Definition Player.cs:163
-
void AddToTeam(Pokemon pokemon)
Agrega un pokemon a la lista de pokemons del jugador.
Definition Player.cs:51
-
Attack FindAttack(string strAttack)
Devuelve un ataque de la lista de ataques del pokemon activo.
Definition Player.cs:129
-
bool AddPlayer(string playerName)
Agrega un jugador a la lista de espera.
-
List< Player > GetWaitingList()
Devuelve la lista de jugadores en espera.
-
Player? FindPlayerByName(string playerName)
Devuelve un jugador de la lista de espera buscandolo por su nombre.
-
bool RemovePlayer(string playerName)
Elimina un jugador de la lista de espera.
-
Player? GetAnyoneWaiting()
Devuelve un jugador al azar de la lista de espera.
-
int Count
Devuelve el número de jugadores en espera.
- -
-
- - - - diff --git a/docs/html/GameListTest_8cs_source.html b/docs/html/GameListTest_8cs_source.html new file mode 100644 index 0000000..f0c1be9 --- /dev/null +++ b/docs/html/GameListTest_8cs_source.html @@ -0,0 +1,213 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/GameListTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
GameListTest.cs
+
+
+
1using Library;
+ +
3using NUnit.Framework;
+
4
+
5namespace LibraryTests;
+
9[TestFixture]
+
10[TestOf(typeof(GameList))]
+
+
11public class GameListTest
+
12{
+
13 private GameList gameList;
+
14 private Player player1;
+
15 private Player player2;
+
16 private Player player3;
+
17 private Player player4;
+
18 private IStrategyStartingPlayer StrategyStartingPlayer { get; } = new StrategyRandomStartingPlayer();
+
19 [SetUp]
+
20 public void SetUp()
+
21 {
+
22 player1 = new Player("jugador1");
+
23 player2 = new Player("jugador2");
+
24 player3 = new Player("jugador3");
+
25 player4 = new Player("jugador4");
+
26 gameList = new GameList();
+
27 }
+
28
+
32 [Test]
+
+
33 public void TestAddGame()
+
34 {
+
35 Game game1 = gameList.AddGame(player1, player2,StrategyStartingPlayer);
+
36 Assert.That(gameList.GetGameList().Count, Is.EqualTo(1));
+
37 Assert.That(gameList.GetGameList().Contains(game1));
+
38 Game game2 = gameList.AddGame(player3, player4, StrategyStartingPlayer);
+
39 Assert.That(gameList.GetGameList().Count, Is.EqualTo(2));
+
40 Assert.That(gameList.GetGameList().Contains(game2));
+
41 }
+
+
46 [Test]
+
+
47 public void TestRemoveGame()
+
48 {
+
49 Game game1 = gameList.AddGame(player1, player2, StrategyStartingPlayer);
+
50 Assert.That(gameList.RemoveGame(game1));
+
51 Game game2 = new Game(player3, player4, StrategyStartingPlayer);
+
52 Assert.That(!gameList.RemoveGame(game2));
+
53 }
+
+
54
+
59 [Test]
+
+ +
61 {
+
62 gameList.AddGame(player1, player2, StrategyStartingPlayer);
+
63 Assert.That(gameList.FindPlayerByName("jugador1"), Is.EqualTo(player1));
+
64 Assert.That(gameList.FindPlayerByName(" "), Is.Null);
+
65 }
+
+
66
+
71 [Test]
+
+ +
73 {
+
74 Game game1 = gameList.AddGame(player1, player2, StrategyStartingPlayer);
+
75 Assert.That(gameList.FindGameByPlayer(player1),Is.EqualTo(game1));
+
76 Assert.That(gameList.FindGameByPlayer(player3), Is.Null);
+
77 }
+
+
78
+
82 [Test]
+
+
83 public void TestGetGameList()
+
84 {
+
85 Assert.That(gameList.GetGameList().Count, Is.EqualTo(0));
+
86
+
87 Game game1 = gameList.AddGame(player1, player2, StrategyStartingPlayer);
+
88 Assert.That(gameList.GetGameList().Contains(game1));
+
89 Assert.That(gameList.GetGameList().Count, Is.EqualTo(1));
+
90 }
+
+
91}
+
+
Tests de la clase GameList.
+
void TestFindGameByPlayer()
Verifica que el método FindGameByPlayer devuelve el juego en el que se encuentra un jugador y retorna...
+
void TestFindPlayerByName()
Verifica que el método FindPlayerByName devuelve el jugador correcto cuando se busca por nombre y ret...
+
void TestRemoveGame()
Verifica que el método RemoveGame elimina correctamente un juego de la lista de juegos y que no puede...
+
void TestGetGameList()
Verifica que el método GetGameList devuelve correctamente la lista de juegos.
+
void TestAddGame()
Verifica que el método AddGame agrega correctamente un juego a la lista de juegos.
+
Esta clase representa la lista de partidas en curso.
Definition GameList.cs:8
+
Player? FindPlayerByName(string playerName)
Devuelve un jugador buscandolo por su nombre.
Definition GameList.cs:45
+
bool RemoveGame(Game game)
Elimina una partida de la lista de partidas.
Definition GameList.cs:31
+
List< Game > GetGameList()
Devuelve la lista de partidas.
Definition GameList.cs:72
+
Game AddGame(Player player1, Player player2)
Agrega una partida a la lista de partidas.
Definition GameList.cs:18
+
Game? FindGameByPlayer(Player player)
Devuelve la partida en la que se encuentra un jugador.
Definition GameList.cs:61
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
Esta clase representa un jugador.
Definition Player.cs:8
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+ + + +
+
+ + + + diff --git a/docs/html/GastrodonTest_8cs_source.html b/docs/html/GastrodonTest_8cs_source.html new file mode 100644 index 0000000..c66b384 --- /dev/null +++ b/docs/html/GastrodonTest_8cs_source.html @@ -0,0 +1,366 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/GastrodonTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
GastrodonTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10[TestFixture]
+
11[TestOf(typeof(Gastrodon))]
+
+
12public class GastrodonTest
+
13{
+
17 [Test]
+
+
18 public void TestName()
+
19 {
+
20 Gastrodon gastrodon = new Gastrodon();
+
21 string gastrodonName = gastrodon.Name;
+
22 string expectedName = "Gastrodon";
+
23 Assert.That(gastrodonName.Equals(expectedName, StringComparison.Ordinal));
+
24 }
+
+
25
+
29 [Test]
+
+
30 public void TestType()
+
31 {
+
32 Gastrodon gastrodon = new Gastrodon();
+
33 Type gastrodonType = gastrodon.GetTypes()[0];
+
34 Type expectedType = Type.Water;
+
35 Assert.That(gastrodonType.Equals(expectedType));
+
36 }
+
+
37
+
41 [Test]
+
+ +
43 {
+
44 Gastrodon gastrodon = new Gastrodon();
+
45 double gastrodonBaseLife = gastrodon.BaseLife;
+
46 double expectedBaseLife = 426;
+
47 Assert.That(gastrodonBaseLife.Equals(expectedBaseLife));
+
48 double gastrodonCurentLife = gastrodon.CurrentLife;
+
49 double expectedCurrentLife = 426;
+
50 Assert.That(gastrodonCurentLife.Equals(expectedCurrentLife));
+
51 }
+
+
52
+
56 [Test]
+
+ +
58 {
+
59 Gastrodon gastrodon = new Gastrodon();
+
60 List<IAttack> gastrodonAttacks = gastrodon.GetAttacks();
+
61 int expectedLenght = 4;
+
62 Assert.That(gastrodonAttacks.Count.Equals(expectedLenght));
+
63 }
+
+
64
+
68 [Test]
+
+
69 public void TestAddAFifthAttack()
+
70 {
+
71 Gastrodon gastrodon= new Gastrodon();
+
72 List<IAttack> gastrodonAttacks = gastrodon.GetAttacks();
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
74 gastrodon.AddAttack(attack);
+
75 int expectedLenght = 4;
+
76 Assert.That(gastrodonAttacks.Count.Equals(expectedLenght));
+
77 }
+
+
78
+
82 [Test]
+
+ +
84 {
+
85 Gastrodon gastrodon = new Gastrodon();
+
86 State? gastrodonCurrentState = gastrodon.CurrentState;
+
87 Assert.That(gastrodonCurrentState.Equals(null));
+
88 gastrodon.EditState(State.Burned);
+
89 State? gastrodonCurrentState2 = gastrodon.CurrentState;
+
90 Assert.That(gastrodonCurrentState2.Equals(State.Burned));
+
91 }
+
+
92
+
96 [Test]
+
+
97 public void TestAsleepTurns()
+
98 {
+
99 Gastrodon gastrodon = new Gastrodon();
+
100 int gastrodonCurrentState = gastrodon.AsleepTurns;
+
101 int expectedLenght = 0;
+
102 Assert.That(gastrodonCurrentState.Equals(expectedLenght));
+
103 }
+
+
104
+
108 [Test]
+
+
109 public void TestAttacks()
+
110 {
+
111 Gastrodon gastrodon = new Gastrodon();
+
112 Attack attack1 = gastrodon.FindAttackByName("Scald");
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
+
117 string attack1ExcpectedName = "Scald";
+
118 Type attack1ExcpectedType = Type.Water;
+
119 double attack1ExcpectedAccuracy = 0.95;
+
120 int attack1ExcpectedPower = 90;
+
121
+
122 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
123 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
124 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
125 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
126
+
127 if (attack1 is SpecialAttack specialAttack1)
+
128 {
+
129 State sAttack2SpecialEffect = specialAttack1.SpecialEffect;
+
130 int sAttack2Cooldown = specialAttack1.Cooldown;
+
131 State attack2ExcpectedSpecialEffect = State.Burned;
+
132 int attack2ExcpectedCooldown = 0;
+
133 Assert.That(sAttack2SpecialEffect.Equals(attack2ExcpectedSpecialEffect));
+
134 Assert.That(sAttack2Cooldown.Equals(attack2ExcpectedCooldown));
+
135 }
+
136
+
137 Attack attack2 = gastrodon.FindAttackByName("Earthquake");
+
138 string attack2Name = attack2.Name;
+
139 Type attack2Type = attack2.Type;
+
140 double attack2Accuracy = attack2.Accuracy;
+
141 int attack2Power = attack2.Power;
+
142 string attack2ExcpectedName = "Earthquake";
+
143 Type attack2ExcpectedType = Type.Ground;
+
144 double attack2ExcpectedAccuracy = 0.80;
+
145 int attack2ExcpectedPower = 120;
+
146
+
147 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
148 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
149 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
150 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
151
+
152 Attack attack3 = gastrodon.FindAttackByName("Ice beam");
+
153 string attack3Name = attack3.Name;
+
154 Type attack3Type = attack3.Type;
+
155 double attack3Accuracy = attack3.Accuracy;
+
156 int attack3Power = attack3.Power;
+
157 string attack3ExcpectedName = "Ice beam";
+
158 Type attack3ExcpectedType = Type.Ice;
+
159 double attack3ExcpectedAccuracy = 1;
+
160 int attack3ExcpectedPower = 70;
+
161
+
162 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
163 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
164 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
165 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
166
+
167 Attack attack4 = gastrodon.FindAttackByName("Sludge Bomb");
+
168 string attack4Name = attack4.Name;
+
169 Type attack4Type = attack4.Type;
+
170 double attack4Accuracy = attack4.Accuracy;
+
171 int attack4Power = attack4.Power;
+
172 string attack4ExcpectedName = "Sludge Bomb";
+
173 Type attack4ExcpectedType = Type.Poison;
+
174 double attack4ExcpectedAccuracy = 0.95;
+
175 int attack4ExcpectedPower = 70;
+
176
+
177 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
178 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
179 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
180 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
181
+
182 if (attack4 is SpecialAttack specialAttack4)
+
183 {
+
184 State sAttack2SpecialEffect = specialAttack4.SpecialEffect;
+
185 int sAttack2Cooldown = specialAttack4.Cooldown;
+
186 State attack2ExcpectedSpecialEffect = State.Poisoned;
+
187 int attack2ExcpectedCooldown = 0;
+
188 Assert.That(sAttack2SpecialEffect.Equals(attack2ExcpectedSpecialEffect));
+
189 Assert.That(sAttack2Cooldown.Equals(attack2ExcpectedCooldown));
+
190 }
+
191 }
+
+
192
+
196 [Test]
+
+ +
198 {
+
199 Gastrodon gastrodon= new Gastrodon();
+
200 double actualLife = gastrodon.CurrentLife;
+
201 string actualLifeText = gastrodon.GetLife();
+
202 gastrodon.GainLife(100);
+
203 Assert.That(actualLife.Equals(gastrodon.BaseLife));
+
204 Assert.That(actualLifeText.Equals("426/426", StringComparison.Ordinal));
+
205 gastrodon.TakeDamage(120);
+
206 double actualLife2 = gastrodon.CurrentLife;
+
207 string actualLifeText2 = gastrodon.GetLife();
+
208 Assert.That(actualLife2.Equals(306));
+
209 Assert.That(actualLifeText2.Equals("306/426", StringComparison.Ordinal));
+
210 gastrodon.GainLife(100);
+
211 double actualLife3 = gastrodon.CurrentLife;
+
212 string actualLifeText3 = gastrodon.GetLife();
+
213 Assert.That(actualLife3.Equals(406));
+
214 Assert.That(actualLifeText3.Equals("406/426", StringComparison.Ordinal));
+
215 }
+
+
216
+
220 [Test]
+
+
221 public void TestInstance()
+
222 {
+
223 Gastrodon gastrodon = new Gastrodon();
+
224 Pokemon gastrodonClone = gastrodon.Instance();
+
225 Assert.That(gastrodonClone,Is.TypeOf<Gastrodon>());
+
226 }
+
+
227
+
228}
+
+
Test de la clase Gastrodon
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Gastrodon.
+
void TestAsleepTurns()
Test del atributo asleepTurns.
+
void TestInstance()
Test del método Instance.
+
void TestName()
Test del atributo name.
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Gastrodon.
+
void TestType()
Test del atributo type.
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Gastrodon, confirmando que fueron creados cor...
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Gastrodon. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gastrodon.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Gastrodon.cs:20
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/HelpCommand_8cs_source.html b/docs/html/HelpCommand_8cs_source.html new file mode 100644 index 0000000..912bbb9 --- /dev/null +++ b/docs/html/HelpCommand_8cs_source.html @@ -0,0 +1,196 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/HelpCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
HelpCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class HelpCommand : ModuleBase<SocketCommandContext>
+
12{
+
16 [Command("help")]
+
17 [Summary(
+
18 """
+
19 Muestra todos los comandos que el usuario puede utilizar junto a una breve descripcion.
+
20 """)]
+
+
21 public async Task ExecuteAsync()
+
22 {
+
23 string help = "**Comandos disponibles:**\n" +
+
24 "\n" +
+
25 "**!attack** <**nombre del ataque**>\n(Ataca al rival con el ataque que quieras)\n" +
+
26 "\n" +
+
27 "**!battle**\n" +
+
28 "(Inicia la batalla con un jugador aleatorio)\n" +
+
29 "\n" +
+
30 "**!battle** <**nombre de jugador**>\n" +
+
31 "(Inicia la batalla con el jugador que ingreses)\n" +
+
32 "\n" +
+
33 "**!catalogue**\n" +
+
34 "(Muestra los pokemon del catalogo)\n" +
+
35 "\n" +
+
36 "**!change** <**nombre del pokemon**>\n" +
+
37 "(Cambia el pokemon activo por el que ingreses)\n" +
+
38 "\n" +
+
39 "**!checkturn**\n" +
+
40 "(Verifica de quien es el turno)\n" +
+
41 "\n" +
+
42 "**!choose** <**nombre del pokemon**>\n" +
+
43 "(Introduce en tu equipo el pokemon que ingreses)\n" +
+
44 "\n" +
+
45 "**!chooserandom** \n" +
+
46 "(Completa tu equipo Pokemon aleatoriamente)\n" +
+
47 "\n" +
+
48 "**!help**\n" +
+
49 "(Muestra los comandos disponibles)\n" +
+
50 "\n" +
+
51 "**!hp**\n" +
+
52 "(Muestra la vida de tus pokemon)\n" +
+
53 "\n" +
+
54 "**!hp** <**nombre del rival**>\n" +
+
55 "(Muestra la vida de los pokemon del rival)\n" +
+
56 "\n" +
+
57 "**!join**\n" +
+
58 "(Te agrega a la lista de espera)\n" +
+
59 "\n" +
+
60 "**!leave**\n" +
+
61 "(Te saca de la lista de espera)\n" +
+
62 "\n" +
+
63 "**!showattacks**\n" +
+
64 "(Muestra los ataques disponibles de tu pokemon activo)\n" +
+
65 "\n" +
+
66 "**!showitems**\n" +
+
67 "(Muestra los items disponibles que tenes)\n" +
+
68 "\n" +
+
69 "**!surrender**\n" +
+
70 "(Rendirse)\n" +
+
71 "\n" +
+
72 "**!use** <**item**> <**pokemon**>\n" +
+
73 "(Usa un item en el pokemon que quieras)\n" +
+
74 "\n" +
+
75 "**!waitinglist**\n" +
+
76 "(Muestra los usuarios en la lista de espera)\n" +
+
77 "\n";
+
78 await ReplyAsync(help);
+
79
+
80 }
+
+
81}
+
+
Esta clase implementa el comando 'help' del bot.
+
async Task ExecuteAsync()
Muestra todos los comandos que el usuario puede utilizar junto a una breve descripcion.
+ + + +
+
+ + + + diff --git a/docs/html/HpCommand_8cs_source.html b/docs/html/HpCommand_8cs_source.html new file mode 100644 index 0000000..d3383ea --- /dev/null +++ b/docs/html/HpCommand_8cs_source.html @@ -0,0 +1,151 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/HpCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
HpCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class HpCommand : ModuleBase<SocketCommandContext>
+
12{
+
19 [Command("hp")]
+
20 [Summary(
+
21 """
+
22 Muestra la vida de los Pokemons del jugador que utiliza el comando
+
23 si no se pasa el nombre del oponente como parámetro.
+
24 Si se pasa el nombre del oponente muestra la vida de los Pokemons del rival.
+
25 """)]
+
+
26 public async Task ExecuteAsync(
+
27 [Remainder] [Summary("Display name del oponente, opcional")]
+
28 string? opponentDisplayName = null)
+
29 {
+
30 string displayName = CommandHelper.GetDisplayName(Context);
+
31 string result;
+
32 result = Facade.Instance.ShowPokemonsHp(displayName, opponentDisplayName);
+
33
+
34 await ReplyAsync(result);
+
35 }
+
+
36}
+
+
Esta clase implementa el comando 'hp' del bot.
Definition HpCommand.cs:12
+
async Task ExecuteAsync([Remainder][Summary("Display name del oponente, opcional")] string? opponentDisplayName=null)
Muestra la vida de los Pokemons del jugador que utiliza el comando si no se pasa el nombre del oponen...
Definition HpCommand.cs:26
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string ShowPokemonsHp(string playerName, string playerToCheckName=null)
Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador.
Definition Facade.cs:89
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/HydreigonTest_8cs_source.html b/docs/html/HydreigonTest_8cs_source.html new file mode 100644 index 0000000..ee3cab5 --- /dev/null +++ b/docs/html/HydreigonTest_8cs_source.html @@ -0,0 +1,354 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/HydreigonTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
HydreigonTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10[TestFixture]
+
11[TestOf(typeof(Hydreigon))]
+
+
12public class HydreigonTest
+
13{
+
17 [Test]
+
+
18 public void TestName()
+
19 {
+
20 Hydreigon hydreigon = new Hydreigon();
+
21 string hydreigonName = hydreigon.Name;
+
22 string expectedName = "Hydreigon";
+
23 Assert.That(hydreigonName.Equals(expectedName, StringComparison.Ordinal));
+
24 }
+
+
25
+
29 [Test]
+
+
30 public void TestType()
+
31 {
+
32 Hydreigon hydreigon = new Hydreigon();
+
33 Type hydreigonType = hydreigon.GetTypes()[0];
+
34 Type expectedType = Type.Dragon;
+
35 Assert.That(hydreigonType.Equals(expectedType));
+
36 }
+
+
37
+
41 [Test]
+
+ +
43 {
+
44 Hydreigon hydreigon = new Hydreigon();
+
45 double hydreigonBaseLife = hydreigon.BaseLife;
+
46 double expectedBaseLife = 388;
+
47 Assert.That(hydreigonBaseLife.Equals(expectedBaseLife));
+
48 double hydreigonCurentLife = hydreigon.CurrentLife;
+
49 double expectedCurrentLife = 388;
+
50 Assert.That(hydreigonCurentLife.Equals(expectedCurrentLife));
+
51 }
+
+
52
+
56 [Test]
+
+ +
58 {
+
59 Hydreigon hydreigon = new Hydreigon();
+
60 List<IAttack> hydreigonAttacks = hydreigon.GetAttacks();
+
61 int expectedLenght = 4;
+
62 Assert.That(hydreigonAttacks.Count.Equals(expectedLenght));
+
63 }
+
+
64
+
68 [Test]
+
+
69 public void TestAddAFifthAttack()
+
70 {
+
71 Hydreigon hydreigon= new Hydreigon();
+
72 List<IAttack> hydreigonAttacks = hydreigon.GetAttacks();
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
74 hydreigon.AddAttack(attack);
+
75 int expectedLenght = 4;
+
76 Assert.That(hydreigonAttacks.Count.Equals(expectedLenght));
+
77 }
+
+
78
+
82 [Test]
+
+ +
84 {
+
85 Hydreigon hydreigon = new Hydreigon();
+
86 State? hydreigonCurrentState = hydreigon.CurrentState;
+
87 Assert.That(hydreigonCurrentState.Equals(null));
+
88 hydreigon.EditState(State.Burned);
+
89 State? hydreigonCurrentState2 = hydreigon.CurrentState;
+
90 Assert.That(hydreigonCurrentState2.Equals(State.Burned));
+
91 }
+
+
92
+
96 [Test]
+
+
97 public void TestAsleepTurns()
+
98 {
+
99 Hydreigon hydreigon = new Hydreigon();
+
100 int hydreigonCurrentState = hydreigon.AsleepTurns;
+
101 int expectedLenght = 0;
+
102 Assert.That(hydreigonCurrentState.Equals(expectedLenght));
+
103 }
+
+
104
+
108 [Test]
+
+
109 public void TestAttacks()
+
110 {
+
111 Hydreigon hydreigon = new Hydreigon();
+
112 Attack attack1 = hydreigon.FindAttackByName("Surf");
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
+
117 string attack1ExcpectedName = "Surf";
+
118 Type attack1ExcpectedType = Type.Water;
+
119 double attack1ExcpectedAccuracy = 1;
+
120 int attack1ExcpectedPower = 80;
+
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
122 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
125
+
126 Attack attack2 = hydreigon.FindAttackByName("Draco meteor");
+
127 string attack2Name = attack2.Name;
+
128 Type attack2Type = attack2.Type;
+
129 double attack2Accuracy = attack2.Accuracy;
+
130 int attack2Power = attack2.Power;
+
131 string attack2ExcpectedName = "Draco meteor";
+
132 Type attack2ExcpectedType = Type.Dragon;
+
133 double attack2ExcpectedAccuracy = 0.80;
+
134 int attack2ExcpectedPower = 110;
+
135 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
136 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
137 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
138 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
139
+
140 Attack attack3 = hydreigon.FindAttackByName("Focus Blast");
+
141 string attack3Name = attack3.Name;
+
142 Type attack3Type = attack3.Type;
+
143 double attack3Accuracy = attack3.Accuracy;
+
144 int attack3Power = attack3.Power;
+
145 string attack3ExcpectedName = "Focus Blast";
+
146 Type attack3ExcpectedType = Type.Fighting;
+
147 double attack3ExcpectedAccuracy = 0.75;
+
148 int attack3ExcpectedPower = 120;
+
149 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
150 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
151 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
152 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
153
+
154 Attack attack4 = hydreigon.FindAttackByName("Fire Blast");
+
155 string attack4Name = attack4.Name;
+
156 Type attack4Type = attack4.Type;
+
157 double attack4Accuracy = attack4.Accuracy;
+
158 int attack4Power = attack4.Power;
+
159 string attack4ExcpectedName = "Fire Blast";
+
160 Type attack4ExcpectedType = Type.Fire;
+
161 double attack4ExcpectedAccuracy = 0.85;
+
162 int attack4ExcpectedPower = 100;
+
163 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
164 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
165 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
166 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
167
+
168 if (attack4 is SpecialAttack specialAttack2)
+
169 {
+
170 State sAttack2SpecialEffect = specialAttack2.SpecialEffect;
+
171 int sAttack2Cooldown = specialAttack2.Cooldown;
+
172 State attack2ExcpectedSpecialEffect = State.Burned;
+
173 int attack2ExcpectedCooldown = 0;
+
174 Assert.That(sAttack2SpecialEffect.Equals(attack2ExcpectedSpecialEffect));
+
175 Assert.That(sAttack2Cooldown.Equals(attack2ExcpectedCooldown));
+
176
+
177 }
+
178
+
179 }
+
+
180
+
184 [Test]
+
+ +
186 {
+
187 Hydreigon hydreigon= new Hydreigon();
+
188 double actualLife = hydreigon.CurrentLife;
+
189 string actualLifeText = hydreigon.GetLife();
+
190 hydreigon.GainLife(100);
+
191 Assert.That(actualLife.Equals(hydreigon.BaseLife));
+
192 Assert.That(actualLifeText.Equals("388/388", StringComparison.Ordinal));
+
193 hydreigon.TakeDamage(120);
+
194 double actualLife2 = hydreigon.CurrentLife;
+
195 string actualLifeText2 = hydreigon.GetLife();
+
196 Assert.That(actualLife2.Equals(268));
+
197 Assert.That(actualLifeText2.Equals("268/388", StringComparison.Ordinal));
+
198 hydreigon.GainLife(100);
+
199 double actualLife3 = hydreigon.CurrentLife;
+
200 string actualLifeText3 = hydreigon.GetLife();
+
201 Assert.That(actualLife3.Equals(368));
+
202 Assert.That(actualLifeText3.Equals("368/388", StringComparison.Ordinal));
+
203 }
+
+
204
+
208 [Test]
+
+
209 public void TestInstance()
+
210 {
+
211 Hydreigon hydreigon = new Hydreigon();
+
212 Pokemon hydreigonClone = hydreigon.Instance();
+
213 Assert.That(hydreigonClone,Is.TypeOf<Hydreigon>());
+
214 }
+
+
215
+
216}
+
+
Test de la clase Hydreigon
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
+
void TestInstance()
Test del método Instance.
+
void TestName()
Test del atributo name.
+
void TestType()
Test del atributo type.
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
void TestAsleepTurns()
Test del atributo asleepTurns.
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Hydreigon.
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Hydreigon, confirmando que fueron creados cor...
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Hydreigon.
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Hydreigon. Al ser un Pokemon hereda de la clase Pokemon.
Definition Hydreigon.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Hydreigon.cs:20
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/Hydreigon_8cs_source.html b/docs/html/Hydreigon_8cs_source.html new file mode 100644 index 0000000..73126a6 --- /dev/null +++ b/docs/html/Hydreigon_8cs_source.html @@ -0,0 +1,140 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Hydreigon.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Hydreigon.cs
+
+
+
1namespace Library;
+
2
+
+
7public class Hydreigon : Pokemon
+
8{
+
+
12 public Hydreigon() : base("Hydreigon",life: 388,type: Type.Dragon, new Attack("Surf", Type.Water,1,80), new Attack("Draco meteor", Type.Dragon,0.80,110), new Attack("Focus Blast", Type.Fighting,0.75,120), new SpecialAttack("Fire Blast",Type.Fire,0.85,100,State.Burned))
+
13 {
+
14 }
+
+
15
+
+
20 public override Pokemon Instance()
+
21 {
+
22 return new Hydreigon();
+
23 }
+
+
24}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el Pokemon Hydreigon. Al ser un Pokemon hereda de la clase Pokemon.
Definition Hydreigon.cs:8
+
Hydreigon()
Constructor de Hydreigon, implementa el patron GRASP creator.
Definition Hydreigon.cs:12
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Hydreigon.cs:20
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/IStrategyCritCheck_8cs_source.html b/docs/html/IStrategyCritCheck_8cs_source.html new file mode 100644 index 0000000..a2deeaf --- /dev/null +++ b/docs/html/IStrategyCritCheck_8cs_source.html @@ -0,0 +1,126 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Strategies/IStrategyCritCheck.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
IStrategyCritCheck.cs
+
+
+
+ +
+
6public interface IStrategyCritCheck
+
7{
+
12 public double CriticalCheck();
+
13}
+
+
14
+
15
+
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+
double CriticalCheck()
Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su ...
+ +
+
+ + + + diff --git a/docs/html/IStrategyStartingPlayer_8cs_source.html b/docs/html/IStrategyStartingPlayer_8cs_source.html new file mode 100644 index 0000000..bb2afc5 --- /dev/null +++ b/docs/html/IStrategyStartingPlayer_8cs_source.html @@ -0,0 +1,122 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Strategies/IStrategyStartingPlayer.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
IStrategyStartingPlayer.cs
+
+
+
1namespace Library.Strategies;
+
+
6public interface IStrategyStartingPlayer
+
7{
+
12 public int StartingPlayer();
+
13}
+
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+
int StartingPlayer()
Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su ...
+ +
+
+ + + + diff --git a/docs/html/Jigglypuff_8cs_source.html b/docs/html/Jigglypuff_8cs_source.html new file mode 100644 index 0000000..6b32775 --- /dev/null +++ b/docs/html/Jigglypuff_8cs_source.html @@ -0,0 +1,143 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Jigglypuff.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Jigglypuff.cs
+
+
+
1namespace Library;
+
2
+
+
7public class Jigglypuff : Pokemon
+
8{
+
+
12 public Jigglypuff():base(name: "Jigglypuff", life: 280, type: Type.Normal,new Attack("Disarming Voice",Type.Normal,
+
13 1.00,40),new Attack("Pound", Type.Normal,0.95,45),new SpecialAttack
+
14 ("Rest",Type.Psychic,0.95,30,State.Asleep), new Attack("Covet",Type.Normal,0.9,50))
+
15 {
+
16
+
17 }
+
+
18
+
+
23 public override Pokemon Instance()
+
24 {
+
25 return new Jigglypuff();
+
26 }
+
+
27}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el Pokemon Jigglypuff. Al ser un Pokemon hereda de la clase Pokemon.
Definition Jigglypuff.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Jigglypuff.cs:23
+
Jigglypuff()
Constructor de Jigglypuff, implementa el patron GRASP creator.
Definition Jigglypuff.cs:12
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/LibraryTests_8AssemblyInfo_8cs_source.html b/docs/html/LibraryTests_8AssemblyInfo_8cs_source.html index 74e51da..df6c29f 100644 --- a/docs/html/LibraryTests_8AssemblyInfo_8cs_source.html +++ b/docs/html/LibraryTests_8AssemblyInfo_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/obj/Debug/net8.0/LibraryTests.AssemblyInfo.cs Source File @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Pikachu.cs
+
+
+
1namespace Library;
+
2
+
+
7public class Pikachu : Pokemon
+
8{
+
+
12 public Pikachu():base(name: "Pikachu", life: 295, type: Type.Electric,new Attack("Quick Attack",Type.Normal,
+
13 1.00,40),new Attack("Spark", Type.Electric,0.95,65),new SpecialAttack
+
14 ("Thunder Shock",Type.Electric,1.00,40,State.Paralized), new Attack("Nuzzle",Type.Electric,1,20))
+
15 {
+
16
+
17 }
+
+
+
22 public override Pokemon Instance()
+
23 {
+
24 return new Pikachu();
+
25 }
+
+
26}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el Pokemon Pikachu. Al ser un Pokemon hereda de la clase Pokemon.
Definition Pikachu.cs:8
+
Pikachu()
Constructor de Pikachu, implementa el patron GRASP creator.
Definition Pikachu.cs:12
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Pikachu.cs:22
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/Program_8AssemblyInfo_8cs_source.html b/docs/html/Program_8AssemblyInfo_8cs_source.html index 1e5d0dd..7db4ede 100644 --- a/docs/html/Program_8AssemblyInfo_8cs_source.html +++ b/docs/html/Program_8AssemblyInfo_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Program/obj/Debug/net8.0/Program.AssemblyInfo.cs Source File @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Scyther.cs
+
+
+
1namespace Library;
+
2
+
+
7public class Scyther : Pokemon
+
8{
+
+
12 public Scyther():base(name: "Scyther", life: 460, type: Type.Bug,new Attack("Quick Attack",Type.Normal,
+
13 0.9,35),new Attack("Fury cutter", Type.Bug,0.95,40),new SpecialAttack
+
14 ("Air Slash",Type.Flying,0.85,60,State.Paralized), new Attack("Slash",Type.Normal,0.95,50))
+
15 {
+
16
+
17 }
+
+
18
+
+
23 public override Pokemon Instance()
+
24 {
+
25 return new Scyther();
+
26 }
+
+
27}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa el Pokemon Scyther. Al ser un Pokemon hereda de la clase Pokemon.
Definition Scyther.cs:8
+
Scyther()
Constructor de Scyther, implementa el patron GRASP creator.
Definition Scyther.cs:12
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Scyther.cs:23
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/ShowAttacksCommand_8cs_source.html b/docs/html/ShowAttacksCommand_8cs_source.html new file mode 100644 index 0000000..862a5ef --- /dev/null +++ b/docs/html/ShowAttacksCommand_8cs_source.html @@ -0,0 +1,146 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/ShowAttacksCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ShowAttacksCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class ShowAttacksCommand : ModuleBase<SocketCommandContext>
+
12{
+
16 [Command("showattacks")]
+
17 [Summary(
+
18 """
+
19 Muestra los los ataques disponibles del Pokemon activo del jugador.
+
20 Se debe estar en partida para utilizar este comando.
+
21 """)]
+
+
22 public async Task ExecuteAsync()
+
23 {
+
24 string displayName = CommandHelper.GetDisplayName(Context);
+
25 string result = Facade.Instance.ShowAtacks(displayName);
+
26 await ReplyAsync(result);
+
27 }
+
+
28}
+
+
Esta clase implementa el comando 'showattacks' del bot.
+
async Task ExecuteAsync()
Muestra los ataques disponibles del Pokemon activo del jugador.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string ShowAtacks(string playerName)
Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador.
Definition Facade.cs:71
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/ShowItemsCommand_8cs_source.html b/docs/html/ShowItemsCommand_8cs_source.html new file mode 100644 index 0000000..07cf192 --- /dev/null +++ b/docs/html/ShowItemsCommand_8cs_source.html @@ -0,0 +1,146 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/ShowItemsCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ShowItemsCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class ShowItemsCommand : ModuleBase<SocketCommandContext>
+
12{
+
16 [Command("showitems")]
+
17 [Summary(
+
18 """
+
19 Muestra los items disponibles del jugador.
+
20 Se debe estar en partida para utilizar este comando.
+
21 """)]
+
+
22 public async Task ExecuteAsync()
+
23 {
+
24 string displayName = CommandHelper.GetDisplayName(Context);
+
25 string result = Facade.Instance.ShowItems(displayName);
+
26 await ReplyAsync(result);
+
27 }
+
+
28}
+
+
Esta clase implementa el comando 'showitems' del bot.
+
async Task ExecuteAsync()
Muestra los items disponibles del jugador.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
string ShowItems(string playerName)
Muestra los items del jugador.
Definition Facade.cs:546
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/StateLogicTest_8cs_source.html b/docs/html/StateLogicTest_8cs_source.html new file mode 100644 index 0000000..29af5c4 --- /dev/null +++ b/docs/html/StateLogicTest_8cs_source.html @@ -0,0 +1,247 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/StateLogicTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StateLogicTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3
+
4namespace LibraryTests;
+
5
+
6[TestFixture]
+
+
7public class StateLogicTest
+
8{
+
13 [Test]
+
+ +
15 {
+
16 Dragonite dragonite = new Dragonite()
+
17 {
+
18 CurrentState = State.Asleep,
+
19 AsleepTurns = 2
+
20 };
+
21
+
22 bool result = StateLogic.AsleepEffect(dragonite);
+
23
+
24 Assert.That(result, Is.EqualTo(true));
+
25 Assert.That(dragonite.AsleepTurns, Is.EqualTo(1));
+
26 }
+
+
27
+
31 [Test]
+
+ +
33 {
+
34 Dragonite dragonite = new Dragonite()
+
35 {
+
36 CurrentState = State.Asleep,
+
37 AsleepTurns = 0
+
38 };
+
39
+
40 bool result = StateLogic.AsleepEffect(dragonite);
+
41
+
42 Assert.That(result, Is.EqualTo(false));
+
43 Assert.That(dragonite.CurrentState, Is.EqualTo(null));
+
44 }
+
+
45
+
47 [Test]
+
+ +
49 {
+
50 Dragonite dragonite = new Dragonite();
+
51
+
52 bool result = StateLogic.AsleepEffect(dragonite);
+
53
+
54 Assert.That(result, Is.EqualTo(false));
+
55 }
+
+
56
+
61 [Test]
+
+ +
63 {
+
64 Jigglypuff jigglypuff = new Jigglypuff()
+
65 {
+
66 CurrentState = State.Paralized
+
67 };
+
68
+
69 int trueCount = 0;
+
70 int iterations = 1000;
+
71
+
72 for (int i = 0; i < iterations; i++)
+
73 {
+
74 if (StateLogic.ParalizedEffect(jigglypuff))
+
75 {
+
76 trueCount++;
+
77 }
+
78 }
+
79
+
80 double probability = trueCount / (double)iterations;
+
81 Assert.That(probability, Is.InRange(0.20, 0.30));
+
82 }
+
+
83
+
88 [Test]
+
+ +
90 {
+
91 Pikachu pikachu = new Pikachu()
+
92 {
+
93 CurrentState = State.Poisoned,
+
94 CurrentLife = 100.0
+
95 };
+
96
+
97 double poisonDamage = (int)(pikachu.BaseLife * 0.05);
+
98 double result = pikachu.CurrentLife - poisonDamage;
+
99
+
100 StateLogic.PoisonedEffect(pikachu);
+
101 Assert.That(pikachu.CurrentLife, Is.EqualTo(result));
+
102 }
+
+
103
+
108 [Test]
+
+ +
110 {
+
111 Pikachu pikachu = new Pikachu()
+
112 {
+
113 CurrentState = State.Burned,
+
114 CurrentLife = 100.0
+
115 };
+
116
+
117 double burnDamage = (int)(pikachu.BaseLife * 0.10);
+
118 double result = pikachu.CurrentLife - burnDamage;
+
119
+
120 StateLogic.BurnedEffect(pikachu);
+
121 Assert.That(pikachu.CurrentLife, Is.EqualTo(result));
+
122 }
+
+
123
+
124}
+
+ +
void BurnedEffectDecreaseLife()
Verifica que BurnedEffect reduzca correctamente la vida actual de un Pokemon quemado,...
+
void AsleepEffectWakesPokemonAndReturnsFalse()
Verifica que la lógica de AsleepEffect despierte al Pokemon (estableciendo su estado en null) y devue...
+
void ParalizedEffectRandomness()
Verifica que la probabilidad de que ParalizedEffect devuelva true se mantenga dentro del rango espera...
+
void PoisonedEffectDecreasesLife()
Verifica que PoisonedEffect reduzca correctamente la vida actual de un Pokemon envenenado,...
+
void AsleepEffectIsNotSet()
Verifica que AsleepEffect devuelva false si el Pokemon no está dormido.
+
void AsleepEffectDecreasesTurnsAndReturnsTrue()
Verifica que la lógica de AsleepEffect disminuya correctamente los AsleepTurn del Pokemon y devuelva ...
+
Esta clase representa el Pokemon Dragonite. Al ser un Pokemon hereda de la clase Pokemon.
Definition Dragonite.cs:8
+
Esta clase representa el Pokemon Jigglypuff. Al ser un Pokemon hereda de la clase Pokemon.
Definition Jigglypuff.cs:8
+
Esta clase representa el Pokemon Pikachu. Al ser un Pokemon hereda de la clase Pokemon.
Definition Pikachu.cs:8
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+ + +
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/StrategyAlwaysCritTest_8cs_source.html b/docs/html/StrategyAlwaysCritTest_8cs_source.html new file mode 100644 index 0000000..8485b0c --- /dev/null +++ b/docs/html/StrategyAlwaysCritTest_8cs_source.html @@ -0,0 +1,138 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/Strategies/StrategyAlwaysCritTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyAlwaysCritTest.cs
+
+
+
+
2using NUnit.Framework;
+
3
+
+ +
5
+
6[TestFixture]
+
7[TestOf(typeof(StrategyAlwaysCrit))]
+
+ +
9{
+
10
+
11 [Test]
+
12 public void TestCriticalCheck()
+
13 {
+
14 StrategyAlwaysCrit critCheck = new StrategyAlwaysCrit();
+
15 Assert.That(critCheck.CriticalCheck(),Is.EqualTo(1.20));
+
16 }
+
17}
+
+
+ +
Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon....
+
double CriticalCheck()
El método de esta estrategia siempre va a determinar que todos los ataques hechos por un pokemon son ...
+ + +
+
+ + + + diff --git a/docs/html/StrategyAlwaysCrit_8cs_source.html b/docs/html/StrategyAlwaysCrit_8cs_source.html new file mode 100644 index 0000000..e875aa5 --- /dev/null +++ b/docs/html/StrategyAlwaysCrit_8cs_source.html @@ -0,0 +1,129 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Strategies/StrategyAlwaysCrit.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyAlwaysCrit.cs
+
+
+
1namespace Library.Strategies;
+
2
+
+ +
8{
+
+
13 public double CriticalCheck()
+
14 {
+
15 return 1.20;
+
16 }
+
+
17}
+
+
Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon....
+
double CriticalCheck()
El método de esta estrategia siempre va a determinar que todos los ataques hechos por un pokemon son ...
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+ +
+
+ + + + diff --git a/docs/html/StrategyNonCritTest_8cs_source.html b/docs/html/StrategyNonCritTest_8cs_source.html new file mode 100644 index 0000000..c0d9300 --- /dev/null +++ b/docs/html/StrategyNonCritTest_8cs_source.html @@ -0,0 +1,136 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/Strategies/StrategyNonCritTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyNonCritTest.cs
+
+
+
+
2using NUnit.Framework;
+
3
+ +
5
+
6[TestFixture]
+
7[TestOf(typeof(StrategyNonCrit))]
+
+ +
9{
+
10
+
11 [Test]
+
12 public void TestCriticalCheck()
+
13 {
+
14 StrategyNonCrit critCheck = new StrategyNonCrit();
+
15 Assert.That(critCheck.CriticalCheck(),Is.EqualTo(1));
+
16 }
+
17}
+
+ +
Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon....
+
double CriticalCheck()
El método de esta estrategia siempre va a determinar que todos los ataques hechos por un pokemon no s...
+ + +
+
+ + + + diff --git a/docs/html/StrategyNonCrit_8cs_source.html b/docs/html/StrategyNonCrit_8cs_source.html new file mode 100644 index 0000000..a4baca8 --- /dev/null +++ b/docs/html/StrategyNonCrit_8cs_source.html @@ -0,0 +1,131 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Strategies/StrategyNonCrit.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyNonCrit.cs
+
+
+
1namespace Library.Strategies;
+
2
+
+ +
8{
+
9
+
10
+
+
15 public double CriticalCheck()
+
16 {
+
17 return 1.0;
+
18 }
+
+
19}
+
+
Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon....
+
double CriticalCheck()
El método de esta estrategia siempre va a determinar que todos los ataques hechos por un pokemon no s...
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+ +
+
+ + + + diff --git a/docs/html/StrategyPlayerOneStartTest_8cs_source.html b/docs/html/StrategyPlayerOneStartTest_8cs_source.html new file mode 100644 index 0000000..62aeab5 --- /dev/null +++ b/docs/html/StrategyPlayerOneStartTest_8cs_source.html @@ -0,0 +1,136 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/Strategies/StrategyPlayerOneStartTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyPlayerOneStartTest.cs
+
+
+
+
2using NUnit.Framework;
+
3
+ +
5
+
6[TestFixture]
+
7[TestOf(typeof(StrategyPlayerOneStart))]
+
+ +
9{
+
10
+
11 [Test]
+
12 public void TestStartingPlayer()
+
13 {
+
14 StrategyPlayerOneStart strategyStartingPlayer = new StrategyPlayerOneStart();
+
15 Assert.That(strategyStartingPlayer.StartingPlayer(),Is.EqualTo(0));
+
16 }
+
17}
+
+ +
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
int StartingPlayer()
El método de esta estrategia siempre va a determinar que el primer jugador en la lista de la partida ...
+ + +
+
+ + + + diff --git a/docs/html/StrategyPlayerOneStart_8cs_source.html b/docs/html/StrategyPlayerOneStart_8cs_source.html new file mode 100644 index 0000000..4c88247 --- /dev/null +++ b/docs/html/StrategyPlayerOneStart_8cs_source.html @@ -0,0 +1,128 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Strategies/StrategyPlayerOneStart.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyPlayerOneStart.cs
+
+
+
1namespace Library.Strategies;
+
+ +
7{
+
+
12 public int StartingPlayer()
+
13 {
+
14 return 0;
+
15 }
+
+
16}
+
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
int StartingPlayer()
El método de esta estrategia siempre va a determinar que el primer jugador en la lista de la partida ...
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+ +
+
+ + + + diff --git a/docs/html/StrategyPlayerTwoStartTest_8cs_source.html b/docs/html/StrategyPlayerTwoStartTest_8cs_source.html new file mode 100644 index 0000000..026b05a --- /dev/null +++ b/docs/html/StrategyPlayerTwoStartTest_8cs_source.html @@ -0,0 +1,136 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/Strategies/StrategyPlayerTwoStartTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyPlayerTwoStartTest.cs
+
+
+
+
2using NUnit.Framework;
+
3
+ +
5
+
6[TestFixture]
+
7[TestOf(typeof(StrategyPlayerTwoStart))]
+
+ +
9{
+
10
+
11 [Test]
+
12 public void TestStartingPlayer()
+
13 {
+
14 StrategyPlayerTwoStart strategyStartingPlayer = new StrategyPlayerTwoStart();
+
15 Assert.That(strategyStartingPlayer.StartingPlayer(),Is.EqualTo(1));
+
16 }
+
17}
+
+ +
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
int StartingPlayer()
El método de esta estrategia siempre va a determinar que el segundo jugador en la lista de la partida...
+ + +
+
+ + + + diff --git a/docs/html/StrategyPlayerTwoStart_8cs_source.html b/docs/html/StrategyPlayerTwoStart_8cs_source.html new file mode 100644 index 0000000..dff57fd --- /dev/null +++ b/docs/html/StrategyPlayerTwoStart_8cs_source.html @@ -0,0 +1,128 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Strategies/StrategyPlayerTwoStart.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyPlayerTwoStart.cs
+
+
+
1namespace Library.Strategies;
+
+ +
7{
+
+
12 public int StartingPlayer()
+
13 {
+
14 return 1;
+
15 }
+
+
16}
+
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
int StartingPlayer()
El método de esta estrategia siempre va a determinar que el segundo jugador en la lista de la partida...
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+ +
+
+ + + + diff --git a/docs/html/StrategyRandomCritTest_8cs_source.html b/docs/html/StrategyRandomCritTest_8cs_source.html new file mode 100644 index 0000000..aaa5d05 --- /dev/null +++ b/docs/html/StrategyRandomCritTest_8cs_source.html @@ -0,0 +1,137 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/Strategies/StrategyRandomCritTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyRandomCritTest.cs
+
+
+
+
2using NUnit.Framework;
+
3
+ +
5
+
6[TestFixture]
+
7[TestOf(typeof(StrategyRandomCrit))]
+
+ +
9{
+
10
+
11 [Test]
+
12 public void TestCriticalCheck()
+
13 {
+
14 IStrategyCritCheck critCheck = new StrategyRandomCrit();
+
15 Assert.That(critCheck.CriticalCheck(),Is.InRange(1,1.20));
+
16 }
+
17}
+
+ +
Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon....
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+
double CriticalCheck()
Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su ...
+ + +
+
+ + + + diff --git a/docs/html/StrategyRandomCrit_8cs_source.html b/docs/html/StrategyRandomCrit_8cs_source.html new file mode 100644 index 0000000..6595e37 --- /dev/null +++ b/docs/html/StrategyRandomCrit_8cs_source.html @@ -0,0 +1,136 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Strategies/StrategyRandomCrit.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyRandomCrit.cs
+
+
+
1namespace Library.Strategies;
+
2
+
+ +
8{
+
9
+
+
17 public double CriticalCheck()
+
18 {
+
19 Random random = new Random();
+
20 int chance = random.Next(1,11);
+
21 if (chance == 1)
+
22 {
+
23 return 1.20;
+
24 }
+
25 return 1.0;
+
26 }
+
+
27}
+
+
Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon....
+
double CriticalCheck()
Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria.
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+ +
+
+ + + + diff --git a/docs/html/StrategyRandomStartingPlayerTest_8cs_source.html b/docs/html/StrategyRandomStartingPlayerTest_8cs_source.html new file mode 100644 index 0000000..ec9be9d --- /dev/null +++ b/docs/html/StrategyRandomStartingPlayerTest_8cs_source.html @@ -0,0 +1,136 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/Strategies/StrategyRandomStartingPlayerTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyRandomStartingPlayerTest.cs
+
+
+
+
2using NUnit.Framework;
+
3
+ +
5
+
6[TestFixture]
+
7[TestOf(typeof(StrategyRandomStartingPlayer))]
+
+ +
9{
+
10
+
11 [Test]
+
12 public void TestStartingPlayer()
+
13 {
+ +
15 Assert.That(strategyStartingPlayer.StartingPlayer(),Is.InRange(0,1));
+
16 }
+
17}
+
+ +
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
int StartingPlayer()
El método de esta estrategia siempre va a determinar aleatoriamente qué jugador en la lista de la par...
+ + +
+
+ + + + diff --git a/docs/html/StrategyRandomStartingPlayer_8cs_source.html b/docs/html/StrategyRandomStartingPlayer_8cs_source.html new file mode 100644 index 0000000..57301c0 --- /dev/null +++ b/docs/html/StrategyRandomStartingPlayer_8cs_source.html @@ -0,0 +1,130 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Strategies/StrategyRandomStartingPlayer.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StrategyRandomStartingPlayer.cs
+
+
+
1namespace Library.Strategies;
+
+ +
7{
+
8
+
+
13 public int StartingPlayer()
+
14 {
+
15 Random random = new Random();
+
16 return random.Next(0, 2);
+
17 }
+
+
18}
+
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
int StartingPlayer()
El método de esta estrategia siempre va a determinar aleatoriamente qué jugador en la lista de la par...
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+ +
+
+ + + + diff --git a/docs/html/SurrenderCommand_8cs_source.html b/docs/html/SurrenderCommand_8cs_source.html new file mode 100644 index 0000000..3ab23d1 --- /dev/null +++ b/docs/html/SurrenderCommand_8cs_source.html @@ -0,0 +1,147 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/SurrenderCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SurrenderCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class SurrenderCommand : ModuleBase<SocketCommandContext>
+
12{
+
16 [Command("surrender")]
+
17 [Summary(
+
18 """
+
19 Termina la partida en curso dandole la vicotria al oponente.
+
20 Este comando solo puede ser utilizado por un jugador que esté en una partida..
+
21 """)]
+
+
22 public async Task ExecuteAsync()
+
23 {
+
24 string displayName = CommandHelper.GetDisplayName(Context);
+
25 string result = Facade.Instance.Surrender(displayName);
+
26 await ReplyAsync(result);
+
27 }
+
+
28
+
29}
+
+
Esta clase implementa el comando 'surrender' del bot.
+
async Task ExecuteAsync()
Termina la partida en curso dandole la victoria al oponente.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
string Surrender(string playerName)
Elimina la partida de la lista de partidas em curso.
Definition Facade.cs:524
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/UseCommand_8cs_source.html b/docs/html/UseCommand_8cs_source.html new file mode 100644 index 0000000..8ca5d4c --- /dev/null +++ b/docs/html/UseCommand_8cs_source.html @@ -0,0 +1,174 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/UseCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
UseCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class UseCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("use")]
+
18 [Summary(
+
19 """
+
20 Usa el item seleccionado para beneficiar al Pokemon especificado.
+
21 Si no se pudo utilizar el item el jugador no pierde el turno.
+
22 Este comando solo puede ser utilizado por un jugador mientras
+
23 sea su turno.
+
24 """)]
+
+
25 public async Task ExecuteAsync(
+
26 [Remainder]
+
27 [Summary("Nombre del item a usar y del Pokemon a ser beneficiado concatenados")]
+
28 string itemAndPokemonName
+
29 )
+
30 {
+
31 string itemName = null;
+
32 string pokemonName = null;
+
33 string result;
+
34
+
35 string[] itemAndPokemonSplit = itemAndPokemonName.Split(" ");
+
36 if (itemAndPokemonSplit.Length > 2)
+
37 {
+
38 itemName = String.Join(" ", itemAndPokemonSplit, 0, itemAndPokemonSplit.Length-1);
+
39 pokemonName = itemAndPokemonSplit[itemAndPokemonSplit.Length-1];
+
40 }
+
41 else if (itemAndPokemonSplit.Length == 2)
+
42 {
+
43 itemName = itemAndPokemonSplit[0];
+
44 pokemonName = itemAndPokemonSplit[1];
+
45 }
+
46 else
+
47 {
+
48 result = "Para usar un item debes usar el siguiente formato:\n**!use** <**item**> <**pokemon**>";
+
49 await ReplyAsync(result);
+
50 return;
+
51 }
+
52
+
53 string displayName = CommandHelper.GetDisplayName(Context);
+
54 result = Facade.Instance.UseAnItem(displayName, itemName, pokemonName);
+
55 await ReplyAsync(result);
+
56 }
+
+
57}
+
+
Esta clase implementa el comando 'use' del bot.
Definition UseCommand.cs:12
+
async Task ExecuteAsync([Remainder][Summary("Nombre del item a usar y del Pokemon a ser beneficiado concatenados")] string itemAndPokemonName)
Envía a la fachada un mensaje con el item a usar y el Pokemons que se verá beneficiado.
Definition UseCommand.cs:25
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string UseAnItem(string playerName, string item, string pokemon)
Historia de usuario 8 Permite a un jugador usar un item en un Pokemon.
Definition Facade.cs:283
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/UseItemCommand_8cs_source.html b/docs/html/UseItemCommand_8cs_source.html new file mode 100644 index 0000000..ab39ef8 --- /dev/null +++ b/docs/html/UseItemCommand_8cs_source.html @@ -0,0 +1,149 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/UseItemCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
UseItemCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+ +
7
+
+
11public class UseItemCommand : ModuleBase<SocketCommandContext>
+
12{
+
18 [Command("useitem")]
+
19 [Summary(
+
20 """
+
21 Usa el item seleccionado para beneficiar al Pokemon especificado.
+
22 Si no se pudo utilizar el item el jugador no pierde el turno.
+
23 Este comando solo puede ser utilizado por un jugador mientras
+
24 sea su turno.
+
25 """)]
+
+
26 public async Task ExecuteAsync(
+
27 [Remainder]
+
28 [Summary("Nombre de Pokemon a ser beneficiado")]
+
29 string pokemonName,
+
30 [Remainder]
+
31 [Summary("Nombre del item a utilizar")]
+
32 string itemName)
+
33 {
+
34
+
35 }
+
+
36}
+
+ +
Esta clase implementa el comando 'useitem' del bot.
+
async Task ExecuteAsync([Remainder][Summary("Nombre de Pokemon a ser beneficiado")] string pokemonName, [Remainder][Summary("Nombre del item a utilizar")] string itemName)
Envía a la fachada un mensaje con el item a usar y el Pokemons que se verá beneficiado.
+ + +
+
+ + + + diff --git a/docs/html/WaitingListTest_8cs_source.html b/docs/html/WaitingListTest_8cs_source.html new file mode 100644 index 0000000..2a09fcf --- /dev/null +++ b/docs/html/WaitingListTest_8cs_source.html @@ -0,0 +1,204 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/WaitingListTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
WaitingListTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3
+
4namespace LibraryTests;
+
8[TestFixture]
+
9[TestOf(typeof(WaitingList))]
+
+
10public class WaitingListTest
+
11{
+
12 private WaitingList waitingList;
+
13
+
14 [SetUp]
+
15 public void SetUp()
+
16 {
+
17 waitingList = new WaitingList();
+
18 }
+
22 [Test]
+
+
23 public void TestAddPlayer()
+
24 {
+
25 Assert.That(waitingList.AddPlayer("jugador1"));
+
26 Assert.That(!waitingList.AddPlayer("jugador1"));
+
27
+
28 Assert.That(waitingList.GetWaitingList()[0].Name, Is.EqualTo("jugador1"));
+
29 Assert.That(waitingList.GetWaitingList().Count, Is.EqualTo(1));
+
30
+
31 Assert.Throws<ArgumentException>(() => waitingList.AddPlayer(null));
+
32 Assert.Throws<ArgumentException>(() => waitingList.AddPlayer(string.Empty));
+
33 }
+
+
37 [Test]
+
+
38 public void TestRemovePlayer()
+
39 {
+
40 Assert.That(!waitingList.RemovePlayer("jugador1"));
+
41 waitingList.AddPlayer("jugador1");
+
42 Assert.That(waitingList.RemovePlayer("jugador1"));
+
43 Assert.That(waitingList.GetWaitingList().Count, Is.EqualTo(0));
+
44 }
+
+
48 [Test]
+
+ +
50 {
+
51 waitingList.AddPlayer("jugador1");
+
52 Assert.That(waitingList.FindPlayerByName("jugador1").Name, Is.EqualTo("jugador1"));
+
53 Assert.That(waitingList.FindPlayerByName(""), Is.Null);
+
54 }
+
+
58 [Test]
+
+
59 public void TestGetSomeone()
+
60 {
+
61 Assert.That(waitingList.GetSomeone("Player1"), Is.Null);
+
62
+
63 waitingList.AddPlayer("Player1");
+
64 Assert.That(waitingList.GetSomeone("Player1"), Is.Null);
+
65
+
66 waitingList.AddPlayer("Player1");
+
67 waitingList.AddPlayer("Player2");
+
68 waitingList.AddPlayer("Player3");
+
69 Assert.That(waitingList.GetSomeone("Player1"), Is.Not.Null);
+
70 Assert.That(waitingList.GetSomeone("Player1").Name, Is.Not.EqualTo("Player1"));
+
71 }
+
+
75 [Test]
+
+
76 public void TestGetWaitingList()
+
77 {
+
78 Assert.That(waitingList.GetWaitingList(), Is.Empty);
+
79
+
80 waitingList.AddPlayer("Player1");
+
81 Assert.That(waitingList.GetWaitingList().Count, Is.EqualTo(1));
+
82 }
+
+
83}
+
+
Tests de la clase WaitingList.
+
void TestRemovePlayer()
Verifica que un jugador sea eliminado correctamente de la lista de espera.
+
void TestGetSomeone()
Verifica que el método pueda agregar correctamente a otro jugador de la lista de espera.
+
void TestGetWaitingList()
Verifica que se pueda obtener correctamente la lista de jugadores en espera.
+
void TestAddPlayer()
Verifica que los jugadores sean añadidos correctamente a la lista de espera y maneja los casos de jug...
+
void TestFindPlayerByName()
Verifica que un jugador pueda ser encontrado correctamente por su nombre.
+
string Name
Nombre del jugador.
Definition Player.cs:11
+
Esta clase representa la lista de espera.
Definition WaitingList.cs:6
+
Player? GetSomeone(string playerName)
Devuelve un jugador al azar de la lista de espera.
+
bool AddPlayer(string playerName)
Agrega un jugador a la lista de espera.
+
List< Player > GetWaitingList()
Devuelve la lista de jugadores en espera.
+
Player? FindPlayerByName(string playerName)
Devuelve un jugador de la lista de espera buscandolo por su nombre.
+
bool RemovePlayer(string playerName)
Elimina un jugador de la lista de espera.
+ + +
+
+ + + + diff --git a/docs/html/annotated.html b/docs/html/annotated.html index 42139e0..3a41df1 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Class List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.DragoniteTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.DragoniteTest, including all inherited members.

+ + + + + + + + + + + +
TestAddAFifthAttack()LibraryTests.DragoniteTest
TestAsleepTurns()LibraryTests.DragoniteTest
TestAttacks()LibraryTests.DragoniteTest
TestCurrentStateAndEditState()LibraryTests.DragoniteTest
TestIfItHasFourAttacks()LibraryTests.DragoniteTest
TestInstance()LibraryTests.DragoniteTest
TestLifeAndCurrentLife()LibraryTests.DragoniteTest
TestName()LibraryTests.DragoniteTest
TestRestoreBaseLifeTakeDamageAndGetLife()LibraryTests.DragoniteTest
TestType()LibraryTests.DragoniteTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1DragoniteTest.html b/docs/html/classLibraryTests_1_1DragoniteTest.html new file mode 100644 index 0000000..439340a --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest.html @@ -0,0 +1,410 @@ + + + + + + + +Object Lifecycle: LibraryTests.DragoniteTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.DragoniteTest Class Reference
+
+
+ +

Test de la clase Dragonite + More...

+
+Collaboration diagram for LibraryTests.DragoniteTest:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void TestName ()
 Test del atributo name.
 
void TestType ()
 Test del atributo type.
 
void TestLifeAndCurrentLife ()
 Test de los atributos life y currentLife.
 
void TestIfItHasFourAttacks ()
 Test de la cantidad de ataques que tiene Dragonite.
 
void TestAddAFifthAttack ()
 Test de la limitación de movimientos que tiene Dragonite.
 
void TestCurrentStateAndEditState ()
 Test del atributo CurrentState y el método EditSate.
 
void TestAsleepTurns ()
 Test del atributo asleepTurns.
 
void TestAttacks ()
 Test de metodo FindAttackByName y los ataques que tiene Dragonite, confirmando que fueron creados correctamente.
 
void TestRestoreBaseLifeTakeDamageAndGetLife ()
 Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
 
void TestInstance ()
 Test del método Instance.
 
+

Detailed Description

+

Test de la clase Dragonite

+ +

Definition at line 12 of file DragoniteTest.cs.

+

Member Function Documentation

+ +

◆ TestAddAFifthAttack()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestAddAFifthAttack ()
+
+ +

Test de la limitación de movimientos que tiene Dragonite.

+ +

Definition at line 69 of file DragoniteTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestAsleepTurns()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestAsleepTurns ()
+
+ +

Test del atributo asleepTurns.

+ +

Definition at line 97 of file DragoniteTest.cs.

+ +
+
+ +

◆ TestAttacks()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestAttacks ()
+
+ +

Test de metodo FindAttackByName y los ataques que tiene Dragonite, confirmando que fueron creados correctamente.

+ +

Definition at line 109 of file DragoniteTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestCurrentStateAndEditState()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestCurrentStateAndEditState ()
+
+ +

Test del atributo CurrentState y el método EditSate.

+ +

Definition at line 83 of file DragoniteTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestIfItHasFourAttacks()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestIfItHasFourAttacks ()
+
+ +

Test de la cantidad de ataques que tiene Dragonite.

+ +

Definition at line 57 of file DragoniteTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestInstance()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestInstance ()
+
+ +

Test del método Instance.

+ +

Definition at line 213 of file DragoniteTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestLifeAndCurrentLife()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestLifeAndCurrentLife ()
+
+ +

Test de los atributos life y currentLife.

+ +

Definition at line 42 of file DragoniteTest.cs.

+ +
+
+ +

◆ TestName()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestName ()
+
+ +

Test del atributo name.

+ +

Definition at line 18 of file DragoniteTest.cs.

+ +
+
+ +

◆ TestRestoreBaseLifeTakeDamageAndGetLife()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestRestoreBaseLifeTakeDamageAndGetLife ()
+
+ +

Test de los métodos RestoreBaseLife, TakeDamage y GetLife.

+ +

Definition at line 188 of file DragoniteTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestType()

+ +
+
+ + + + + + + +
void LibraryTests.DragoniteTest.TestType ()
+
+ +

Test del atributo type.

+ +

Definition at line 30 of file DragoniteTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1DragoniteTest.js b/docs/html/classLibraryTests_1_1DragoniteTest.js new file mode 100644 index 0000000..ea50934 --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest.js @@ -0,0 +1,13 @@ +var classLibraryTests_1_1DragoniteTest = +[ + [ "TestAddAFifthAttack", "classLibraryTests_1_1DragoniteTest.html#a4a278dc6b1cded4cbc74e201f2903b8f", null ], + [ "TestAsleepTurns", "classLibraryTests_1_1DragoniteTest.html#a353baa5507b5d28f17534dc36565da9e", null ], + [ "TestAttacks", "classLibraryTests_1_1DragoniteTest.html#af8ab9b69eb28d8f16b9bff9acf66c6a8", null ], + [ "TestCurrentStateAndEditState", "classLibraryTests_1_1DragoniteTest.html#a57ceef29e42e17f60469a82d727f965d", null ], + [ "TestIfItHasFourAttacks", "classLibraryTests_1_1DragoniteTest.html#ae6cddc0b7f6ad7a52c8c0d739ae10a3f", null ], + [ "TestInstance", "classLibraryTests_1_1DragoniteTest.html#ad9a94713c51f4b5469d43f9ff9300926", null ], + [ "TestLifeAndCurrentLife", "classLibraryTests_1_1DragoniteTest.html#a6dba4678b27047a8d98a484789f83e08", null ], + [ "TestName", "classLibraryTests_1_1DragoniteTest.html#af4bcbd2f3b86b754047c63b0e37cefba", null ], + [ "TestRestoreBaseLifeTakeDamageAndGetLife", "classLibraryTests_1_1DragoniteTest.html#a1dde17c1aea64ebdb75a983bf5f12b60", null ], + [ "TestType", "classLibraryTests_1_1DragoniteTest.html#a4289f2b0e451139309fe3a49c3828285", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibraryTests_1_1DragoniteTest__coll__graph.dot b/docs/html/classLibraryTests_1_1DragoniteTest__coll__graph.dot new file mode 100644 index 0000000..bc3e904 --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest__coll__graph.dot @@ -0,0 +1,24 @@ +digraph "LibraryTests.DragoniteTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + + + + + + + +
LibraryTests.DragoniteTest
 
+TestName()
+TestType()
+TestLifeAndCurrentLife()
+TestIfItHasFourAttacks()
+TestAddAFifthAttack()
+TestCurrentStateAndEditState()
+TestAsleepTurns()
+TestAttacks()
+TestRestoreBaseLifeTakeDamage
AndGetLife()
+TestInstance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la clase Dragonite"]; +} diff --git a/docs/html/classLibraryTests_1_1DragoniteTest_a1dde17c1aea64ebdb75a983bf5f12b60_cgraph.dot b/docs/html/classLibraryTests_1_1DragoniteTest_a1dde17c1aea64ebdb75a983bf5f12b60_cgraph.dot new file mode 100644 index 0000000..3c299c2 --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest_a1dde17c1aea64ebdb75a983bf5f12b60_cgraph.dot @@ -0,0 +1,16 @@ +digraph "LibraryTests.DragoniteTest.TestRestoreBaseLifeTakeDamageAndGetLife" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.DragoniteTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GainLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985",tooltip="Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Pokemon.GetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6",tooltip="Devuele la vida del Pokemon en el formato vidaActual/vidaBase."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Pokemon.TakeDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5",tooltip="Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta...."]; +} diff --git a/docs/html/classLibraryTests_1_1DragoniteTest_a4289f2b0e451139309fe3a49c3828285_cgraph.dot b/docs/html/classLibraryTests_1_1DragoniteTest_a4289f2b0e451139309fe3a49c3828285_cgraph.dot new file mode 100644 index 0000000..0ee96ed --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest_a4289f2b0e451139309fe3a49c3828285_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.DragoniteTest.TestType" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.DragoniteTest.\lTestType",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del atributo type."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1DragoniteTest_a4a278dc6b1cded4cbc74e201f2903b8f_cgraph.dot b/docs/html/classLibraryTests_1_1DragoniteTest_a4a278dc6b1cded4cbc74e201f2903b8f_cgraph.dot new file mode 100644 index 0000000..8594d8c --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest_a4a278dc6b1cded4cbc74e201f2903b8f_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.DragoniteTest.TestAddAFifthAttack" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.DragoniteTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la limitación de movimientos que tiene Dragonite."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.AddAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33",tooltip="Añade un ataque a la lista de ataques del pokemon."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1DragoniteTest_a57ceef29e42e17f60469a82d727f965d_cgraph.dot b/docs/html/classLibraryTests_1_1DragoniteTest_a57ceef29e42e17f60469a82d727f965d_cgraph.dot new file mode 100644 index 0000000..1c3b7df --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest_a57ceef29e42e17f60469a82d727f965d_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.DragoniteTest.TestCurrentStateAndEditState" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.DragoniteTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1DragoniteTest_ad9a94713c51f4b5469d43f9ff9300926_cgraph.dot b/docs/html/classLibraryTests_1_1DragoniteTest_ad9a94713c51f4b5469d43f9ff9300926_cgraph.dot new file mode 100644 index 0000000..941834e --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest_ad9a94713c51f4b5469d43f9ff9300926_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.DragoniteTest.TestInstance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.DragoniteTest.\lTestInstance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del método Instance."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Dragonite.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Dragonite.html#a97c847a6f0007baa4e8e55b8271bb0ac",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Dragonite.Dragonite",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Dragonite.html#a1a4ed66e4fb896604d351fe6f13fc63a",tooltip="Constructor de Dragonite, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibraryTests_1_1DragoniteTest_ae6cddc0b7f6ad7a52c8c0d739ae10a3f_cgraph.dot b/docs/html/classLibraryTests_1_1DragoniteTest_ae6cddc0b7f6ad7a52c8c0d739ae10a3f_cgraph.dot new file mode 100644 index 0000000..feba5c1 --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest_ae6cddc0b7f6ad7a52c8c0d739ae10a3f_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.DragoniteTest.TestIfItHasFourAttacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.DragoniteTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la cantidad de ataques que tiene Dragonite."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1DragoniteTest_af8ab9b69eb28d8f16b9bff9acf66c6a8_cgraph.dot b/docs/html/classLibraryTests_1_1DragoniteTest_af8ab9b69eb28d8f16b9bff9acf66c6a8_cgraph.dot new file mode 100644 index 0000000..3494166 --- /dev/null +++ b/docs/html/classLibraryTests_1_1DragoniteTest_af8ab9b69eb28d8f16b9bff9acf66c6a8_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.DragoniteTest.TestAttacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.DragoniteTest.\lTestAttacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de metodo FindAttackByName y los ataques que tiene Dragonite, confirmando que fueron creados cor..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.FindAttack\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c",tooltip="Busca un ataque dentro de la lista de ataques comparando el nombre."]; +} diff --git a/docs/html/classLibraryTests_1_1EnteiTest-members.html b/docs/html/classLibraryTests_1_1EnteiTest-members.html new file mode 100644 index 0000000..177eb9b --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest-members.html @@ -0,0 +1,124 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.EnteiTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.EnteiTest, including all inherited members.

+ + + + + + + + + + + +
TestAddAFifthAttack()LibraryTests.EnteiTest
TestAsleepTurns()LibraryTests.EnteiTest
TestAttacks()LibraryTests.EnteiTest
TestCurrentStateAndEditState()LibraryTests.EnteiTest
TestIfItHasFourAttacks()LibraryTests.EnteiTest
TestInstance()LibraryTests.EnteiTest
TestLifeAndCurrentLife()LibraryTests.EnteiTest
TestName()LibraryTests.EnteiTest
TestRestoreBaseLifeTakeDamageAndGetLife()LibraryTests.EnteiTest
TestType()LibraryTests.EnteiTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1EnteiTest.html b/docs/html/classLibraryTests_1_1EnteiTest.html new file mode 100644 index 0000000..fab438a --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest.html @@ -0,0 +1,410 @@ + + + + + + + +Object Lifecycle: LibraryTests.EnteiTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.EnteiTest Class Reference
+
+
+ +

Test de la clase Entei + More...

+
+Collaboration diagram for LibraryTests.EnteiTest:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void TestName ()
 Test del atributo name.
 
void TestType ()
 Test del atributo type.
 
void TestLifeAndCurrentLife ()
 Test de los atributos life y currentLife.
 
void TestIfItHasFourAttacks ()
 Test de la cantidad de ataques que tiene Entei.
 
void TestAddAFifthAttack ()
 Test de la limitación de movimientos que tiene Entei.
 
void TestCurrentStateAndEditState ()
 Test del atributo CurrentState y el método EditSate.
 
void TestAsleepTurns ()
 Test del atributo asleepTurns.
 
void TestAttacks ()
 Test de metodo FindAttackByName y los ataques que tiene Entei, confirmando que fueron creados correctamente.
 
void TestRestoreBaseLifeTakeDamageAndGetLife ()
 Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
 
void TestInstance ()
 Test del método Instance.
 
+

Detailed Description

+

Test de la clase Entei

+ +

Definition at line 12 of file EnteiTest.cs.

+

Member Function Documentation

+ +

◆ TestAddAFifthAttack()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestAddAFifthAttack ()
+
+ +

Test de la limitación de movimientos que tiene Entei.

+ +

Definition at line 69 of file EnteiTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestAsleepTurns()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestAsleepTurns ()
+
+ +

Test del atributo asleepTurns.

+ +

Definition at line 97 of file EnteiTest.cs.

+ +
+
+ +

◆ TestAttacks()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestAttacks ()
+
+ +

Test de metodo FindAttackByName y los ataques que tiene Entei, confirmando que fueron creados correctamente.

+ +

Definition at line 109 of file EnteiTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestCurrentStateAndEditState()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestCurrentStateAndEditState ()
+
+ +

Test del atributo CurrentState y el método EditSate.

+ +

Definition at line 83 of file EnteiTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestIfItHasFourAttacks()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestIfItHasFourAttacks ()
+
+ +

Test de la cantidad de ataques que tiene Entei.

+ +

Definition at line 57 of file EnteiTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestInstance()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestInstance ()
+
+ +

Test del método Instance.

+ +

Definition at line 212 of file EnteiTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestLifeAndCurrentLife()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestLifeAndCurrentLife ()
+
+ +

Test de los atributos life y currentLife.

+ +

Definition at line 42 of file EnteiTest.cs.

+ +
+
+ +

◆ TestName()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestName ()
+
+ +

Test del atributo name.

+ +

Definition at line 18 of file EnteiTest.cs.

+ +
+
+ +

◆ TestRestoreBaseLifeTakeDamageAndGetLife()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestRestoreBaseLifeTakeDamageAndGetLife ()
+
+ +

Test de los métodos RestoreBaseLife, TakeDamage y GetLife.

+ +

Definition at line 188 of file EnteiTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestType()

+ +
+
+ + + + + + + +
void LibraryTests.EnteiTest.TestType ()
+
+ +

Test del atributo type.

+ +

Definition at line 30 of file EnteiTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1EnteiTest.js b/docs/html/classLibraryTests_1_1EnteiTest.js new file mode 100644 index 0000000..7b09f3b --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest.js @@ -0,0 +1,13 @@ +var classLibraryTests_1_1EnteiTest = +[ + [ "TestAddAFifthAttack", "classLibraryTests_1_1EnteiTest.html#a4c96874da4fff4aa6007982ccebfccd2", null ], + [ "TestAsleepTurns", "classLibraryTests_1_1EnteiTest.html#a2c92a70770242e77bee57b35842cd964", null ], + [ "TestAttacks", "classLibraryTests_1_1EnteiTest.html#affe8fa995b39ba759099a3ed98c8862f", null ], + [ "TestCurrentStateAndEditState", "classLibraryTests_1_1EnteiTest.html#ad8dbdc27468358184b3ccb430d7a2fda", null ], + [ "TestIfItHasFourAttacks", "classLibraryTests_1_1EnteiTest.html#a1a3b7af7512c576dab6c84231d7d8e53", null ], + [ "TestInstance", "classLibraryTests_1_1EnteiTest.html#aea94e25bfe7c570bf322ffc9a7490dce", null ], + [ "TestLifeAndCurrentLife", "classLibraryTests_1_1EnteiTest.html#a7056b2e8fbddedc6ace167371b1289fe", null ], + [ "TestName", "classLibraryTests_1_1EnteiTest.html#a4268e39f3396eee8de7753fc6feb5858", null ], + [ "TestRestoreBaseLifeTakeDamageAndGetLife", "classLibraryTests_1_1EnteiTest.html#aa82a9c1b79b43ba188af744e543a4a50", null ], + [ "TestType", "classLibraryTests_1_1EnteiTest.html#a3b519999367a76775a4e0dee5a3f004c", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibraryTests_1_1EnteiTest__coll__graph.dot b/docs/html/classLibraryTests_1_1EnteiTest__coll__graph.dot new file mode 100644 index 0000000..104091a --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest__coll__graph.dot @@ -0,0 +1,24 @@ +digraph "LibraryTests.EnteiTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + + + + + + + +
LibraryTests.EnteiTest
 
+TestName()
+TestType()
+TestLifeAndCurrentLife()
+TestIfItHasFourAttacks()
+TestAddAFifthAttack()
+TestCurrentStateAndEditState()
+TestAsleepTurns()
+TestAttacks()
+TestRestoreBaseLifeTakeDamage
AndGetLife()
+TestInstance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la clase Entei"]; +} diff --git a/docs/html/classLibraryTests_1_1EnteiTest_a1a3b7af7512c576dab6c84231d7d8e53_cgraph.dot b/docs/html/classLibraryTests_1_1EnteiTest_a1a3b7af7512c576dab6c84231d7d8e53_cgraph.dot new file mode 100644 index 0000000..94d72ff --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest_a1a3b7af7512c576dab6c84231d7d8e53_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.EnteiTest.TestIfItHasFourAttacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.EnteiTest.Test\lIfItHasFourAttacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la cantidad de ataques que tiene Entei."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1EnteiTest_a3b519999367a76775a4e0dee5a3f004c_cgraph.dot b/docs/html/classLibraryTests_1_1EnteiTest_a3b519999367a76775a4e0dee5a3f004c_cgraph.dot new file mode 100644 index 0000000..528751e --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest_a3b519999367a76775a4e0dee5a3f004c_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.EnteiTest.TestType" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.EnteiTest.TestType",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del atributo type."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1EnteiTest_a4c96874da4fff4aa6007982ccebfccd2_cgraph.dot b/docs/html/classLibraryTests_1_1EnteiTest_a4c96874da4fff4aa6007982ccebfccd2_cgraph.dot new file mode 100644 index 0000000..adc5ddb --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest_a4c96874da4fff4aa6007982ccebfccd2_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.EnteiTest.TestAddAFifthAttack" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.EnteiTest.Test\lAddAFifthAttack",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la limitación de movimientos que tiene Entei."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.AddAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33",tooltip="Añade un ataque a la lista de ataques del pokemon."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1EnteiTest_aa82a9c1b79b43ba188af744e543a4a50_cgraph.dot b/docs/html/classLibraryTests_1_1EnteiTest_aa82a9c1b79b43ba188af744e543a4a50_cgraph.dot new file mode 100644 index 0000000..bf42612 --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest_aa82a9c1b79b43ba188af744e543a4a50_cgraph.dot @@ -0,0 +1,16 @@ +digraph "LibraryTests.EnteiTest.TestRestoreBaseLifeTakeDamageAndGetLife" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.EnteiTest.Test\lRestoreBaseLifeTakeDamageAndGetLife",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GainLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985",tooltip="Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Pokemon.GetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6",tooltip="Devuele la vida del Pokemon en el formato vidaActual/vidaBase."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Pokemon.TakeDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5",tooltip="Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta...."]; +} diff --git a/docs/html/classLibraryTests_1_1EnteiTest_ad8dbdc27468358184b3ccb430d7a2fda_cgraph.dot b/docs/html/classLibraryTests_1_1EnteiTest_ad8dbdc27468358184b3ccb430d7a2fda_cgraph.dot new file mode 100644 index 0000000..1285778 --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest_ad8dbdc27468358184b3ccb430d7a2fda_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.EnteiTest.TestCurrentStateAndEditState" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.EnteiTest.Test\lCurrentStateAndEditState",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1EnteiTest_aea94e25bfe7c570bf322ffc9a7490dce_cgraph.dot b/docs/html/classLibraryTests_1_1EnteiTest_aea94e25bfe7c570bf322ffc9a7490dce_cgraph.dot new file mode 100644 index 0000000..27a9c8f --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest_aea94e25bfe7c570bf322ffc9a7490dce_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.EnteiTest.TestInstance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.EnteiTest.Test\lInstance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del método Instance."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Entei.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Entei.html#a8bdaa25d06a7918e9a73bceafbcfe6ca",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Entei.Entei",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Entei.html#a3556d1367901660b9907370d436307ae",tooltip="Constructor de Entei, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibraryTests_1_1EnteiTest_affe8fa995b39ba759099a3ed98c8862f_cgraph.dot b/docs/html/classLibraryTests_1_1EnteiTest_affe8fa995b39ba759099a3ed98c8862f_cgraph.dot new file mode 100644 index 0000000..c4b64a3 --- /dev/null +++ b/docs/html/classLibraryTests_1_1EnteiTest_affe8fa995b39ba759099a3ed98c8862f_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.EnteiTest.TestAttacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.EnteiTest.Test\lAttacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de metodo FindAttackByName y los ataques que tiene Entei, confirmando que fueron creados correct..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.FindAttack\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c",tooltip="Busca un ataque dentro de la lista de ataques comparando el nombre."]; +} diff --git a/docs/html/classLibraryTests_1_1FacadeTest-members.html b/docs/html/classLibraryTests_1_1FacadeTest-members.html index 32b9ae2..fc1b8fb 100644 --- a/docs/html/classLibraryTests_1_1FacadeTest-members.html +++ b/docs/html/classLibraryTests_1_1FacadeTest-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.GameListTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.GameListTest, including all inherited members.

+ + + + + + + +
SetUp() (defined in LibraryTests.GameListTest)LibraryTests.GameListTest
TestAddGame()LibraryTests.GameListTest
TestFindGameByPlayer()LibraryTests.GameListTest
TestFindPlayerByName()LibraryTests.GameListTest
TestGetGameList()LibraryTests.GameListTest
TestRemoveGame()LibraryTests.GameListTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1GameListTest.html b/docs/html/classLibraryTests_1_1GameListTest.html new file mode 100644 index 0000000..1ba3cc6 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GameListTest.html @@ -0,0 +1,301 @@ + + + + + + + +Object Lifecycle: LibraryTests.GameListTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.GameListTest Class Reference
+
+
+ +

Tests de la clase GameList. + More...

+
+Collaboration diagram for LibraryTests.GameListTest:
+
+
+
+ + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void SetUp ()
 
void TestAddGame ()
 Verifica que el método AddGame agrega correctamente un juego a la lista de juegos.
 
void TestRemoveGame ()
 Verifica que el método RemoveGame elimina correctamente un juego de la lista de juegos y que no puede eliminar un juego que no está en la lista.
 
void TestFindPlayerByName ()
 Verifica que el método FindPlayerByName devuelve el jugador correcto cuando se busca por nombre y retorna null si el jugador no existe.
 
void TestFindGameByPlayer ()
 Verifica que el método FindGameByPlayer devuelve el juego en el que se encuentra un jugador y retorna null si el jugador no participa en ningún juego.
 
void TestGetGameList ()
 Verifica que el método GetGameList devuelve correctamente la lista de juegos.
 
+

Detailed Description

+

Tests de la clase GameList.

+ +

Definition at line 11 of file GameListTest.cs.

+

Member Function Documentation

+ +

◆ SetUp()

+ +
+
+ + + + + + + +
void LibraryTests.GameListTest.SetUp ()
+
+ +

Definition at line 20 of file GameListTest.cs.

+ +
+
+ +

◆ TestAddGame()

+ +
+
+ + + + + + + +
void LibraryTests.GameListTest.TestAddGame ()
+
+ +

Verifica que el método AddGame agrega correctamente un juego a la lista de juegos.

+ +

Definition at line 33 of file GameListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestFindGameByPlayer()

+ +
+
+ + + + + + + +
void LibraryTests.GameListTest.TestFindGameByPlayer ()
+
+ +

Verifica que el método FindGameByPlayer devuelve el juego en el que se encuentra un jugador y retorna null si el jugador no participa en ningún juego.

+ +

Definition at line 72 of file GameListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestFindPlayerByName()

+ +
+
+ + + + + + + +
void LibraryTests.GameListTest.TestFindPlayerByName ()
+
+ +

Verifica que el método FindPlayerByName devuelve el jugador correcto cuando se busca por nombre y retorna null si el jugador no existe.

+ +

Definition at line 60 of file GameListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestGetGameList()

+ +
+
+ + + + + + + +
void LibraryTests.GameListTest.TestGetGameList ()
+
+ +

Verifica que el método GetGameList devuelve correctamente la lista de juegos.

+ +

Definition at line 83 of file GameListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestRemoveGame()

+ +
+
+ + + + + + + +
void LibraryTests.GameListTest.TestRemoveGame ()
+
+ +

Verifica que el método RemoveGame elimina correctamente un juego de la lista de juegos y que no puede eliminar un juego que no está en la lista.

+ +

Definition at line 47 of file GameListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1GameListTest.js b/docs/html/classLibraryTests_1_1GameListTest.js new file mode 100644 index 0000000..2182320 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GameListTest.js @@ -0,0 +1,8 @@ +var classLibraryTests_1_1GameListTest = +[ + [ "TestAddGame", "classLibraryTests_1_1GameListTest.html#accc3ecb4dc04d2d6a37279b45ad29a8d", null ], + [ "TestFindGameByPlayer", "classLibraryTests_1_1GameListTest.html#a0643e68476104275fa37144d368b185f", null ], + [ "TestFindPlayerByName", "classLibraryTests_1_1GameListTest.html#a2b03d00401332e0e5be0af38ae416b2d", null ], + [ "TestGetGameList", "classLibraryTests_1_1GameListTest.html#ab6c41e1195e83338035604ac75bea430", null ], + [ "TestRemoveGame", "classLibraryTests_1_1GameListTest.html#ab3b3b6784694918a7c1f24da80ecc85f", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibraryTests_1_1GameListTest__coll__graph.dot b/docs/html/classLibraryTests_1_1GameListTest__coll__graph.dot new file mode 100644 index 0000000..364bc67 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GameListTest__coll__graph.dot @@ -0,0 +1,20 @@ +digraph "LibraryTests.GameListTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + + + +
LibraryTests.GameListTest
+StrategyStartingPlayer
+SetUp()
+TestAddGame()
+TestRemoveGame()
+TestFindPlayerByName()
+TestFindGameByPlayer()
+TestGetGameList()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Tests de la clase GameList."]; +} diff --git a/docs/html/classLibraryTests_1_1GameListTest_a0643e68476104275fa37144d368b185f_cgraph.dot b/docs/html/classLibraryTests_1_1GameListTest_a0643e68476104275fa37144d368b185f_cgraph.dot new file mode 100644 index 0000000..218d9d5 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GameListTest_a0643e68476104275fa37144d368b185f_cgraph.dot @@ -0,0 +1,16 @@ +digraph "LibraryTests.GameListTest.TestFindGameByPlayer" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GameListTest.\lTestFindGameByPlayer",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que el método FindGameByPlayer devuelve el juego en el que se encuentra un jugador y retorna..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.AddGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#acbab8e4b66af16b4ee5cd7b3669a5f82",tooltip="Agrega una partida a la lista de partidas."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; +} diff --git a/docs/html/classLibraryTests_1_1GameListTest_a2b03d00401332e0e5be0af38ae416b2d_cgraph.dot b/docs/html/classLibraryTests_1_1GameListTest_a2b03d00401332e0e5be0af38ae416b2d_cgraph.dot new file mode 100644 index 0000000..ba83dab --- /dev/null +++ b/docs/html/classLibraryTests_1_1GameListTest_a2b03d00401332e0e5be0af38ae416b2d_cgraph.dot @@ -0,0 +1,16 @@ +digraph "LibraryTests.GameListTest.TestFindPlayerByName" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GameListTest.\lTestFindPlayerByName",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que el método FindPlayerByName devuelve el jugador correcto cuando se busca por nombre y ret..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.AddGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#acbab8e4b66af16b4ee5cd7b3669a5f82",tooltip="Agrega una partida a la lista de partidas."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; +} diff --git a/docs/html/classLibraryTests_1_1GameListTest_ab3b3b6784694918a7c1f24da80ecc85f_cgraph.dot b/docs/html/classLibraryTests_1_1GameListTest_ab3b3b6784694918a7c1f24da80ecc85f_cgraph.dot new file mode 100644 index 0000000..7db92fb --- /dev/null +++ b/docs/html/classLibraryTests_1_1GameListTest_ab3b3b6784694918a7c1f24da80ecc85f_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.GameListTest.TestRemoveGame" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GameListTest.\lTestRemoveGame",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que el método RemoveGame elimina correctamente un juego de la lista de juegos y que no puede..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.AddGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#acbab8e4b66af16b4ee5cd7b3669a5f82",tooltip="Agrega una partida a la lista de partidas."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; +} diff --git a/docs/html/classLibraryTests_1_1GameListTest_ab6c41e1195e83338035604ac75bea430_cgraph.dot b/docs/html/classLibraryTests_1_1GameListTest_ab6c41e1195e83338035604ac75bea430_cgraph.dot new file mode 100644 index 0000000..d96ea52 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GameListTest_ab6c41e1195e83338035604ac75bea430_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.GameListTest.TestGetGameList" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GameListTest.\lTestGetGameList",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que el método GetGameList devuelve correctamente la lista de juegos."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.AddGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#acbab8e4b66af16b4ee5cd7b3669a5f82",tooltip="Agrega una partida a la lista de partidas."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.GetGameList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc",tooltip="Devuelve la lista de partidas."]; +} diff --git a/docs/html/classLibraryTests_1_1GameListTest_accc3ecb4dc04d2d6a37279b45ad29a8d_cgraph.dot b/docs/html/classLibraryTests_1_1GameListTest_accc3ecb4dc04d2d6a37279b45ad29a8d_cgraph.dot new file mode 100644 index 0000000..295b6fc --- /dev/null +++ b/docs/html/classLibraryTests_1_1GameListTest_accc3ecb4dc04d2d6a37279b45ad29a8d_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.GameListTest.TestAddGame" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GameListTest.\lTestAddGame",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que el método AddGame agrega correctamente un juego a la lista de juegos."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.AddGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#acbab8e4b66af16b4ee5cd7b3669a5f82",tooltip="Agrega una partida a la lista de partidas."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.GetGameList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc",tooltip="Devuelve la lista de partidas."]; +} diff --git a/docs/html/classLibraryTests_1_1GameTest-members.html b/docs/html/classLibraryTests_1_1GameTest-members.html index 240c727..dbc06c0 100644 --- a/docs/html/classLibraryTests_1_1GameTest-members.html +++ b/docs/html/classLibraryTests_1_1GameTest-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.GastrodonTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.GastrodonTest, including all inherited members.

+ + + + + + + + + + + +
TestAddAFifthAttack()LibraryTests.GastrodonTest
TestAsleepTurns()LibraryTests.GastrodonTest
TestAttacks()LibraryTests.GastrodonTest
TestCurrentStateAndEditState()LibraryTests.GastrodonTest
TestIfItHasFourAttacks()LibraryTests.GastrodonTest
TestInstance()LibraryTests.GastrodonTest
TestLifeAndCurrentLife()LibraryTests.GastrodonTest
TestName()LibraryTests.GastrodonTest
TestRestoreBaseLifeTakeDamageAndGetLife()LibraryTests.GastrodonTest
TestType()LibraryTests.GastrodonTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1GastrodonTest.html b/docs/html/classLibraryTests_1_1GastrodonTest.html new file mode 100644 index 0000000..e1a44dc --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest.html @@ -0,0 +1,410 @@ + + + + + + + +Object Lifecycle: LibraryTests.GastrodonTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.GastrodonTest Class Reference
+
+
+ +

Test de la clase Gastrodon + More...

+
+Collaboration diagram for LibraryTests.GastrodonTest:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void TestName ()
 Test del atributo name.
 
void TestType ()
 Test del atributo type.
 
void TestLifeAndCurrentLife ()
 Test de los atributos life y currentLife.
 
void TestIfItHasFourAttacks ()
 Test de la cantidad de ataques que tiene Gastrodon.
 
void TestAddAFifthAttack ()
 Test de la limitación de movimientos que tiene Gastrodon.
 
void TestCurrentStateAndEditState ()
 Test del atributo CurrentState y el método EditSate.
 
void TestAsleepTurns ()
 Test del atributo asleepTurns.
 
void TestAttacks ()
 Test de metodo FindAttackByName y los ataques que tiene Gastrodon, confirmando que fueron creados correctamente.
 
void TestRestoreBaseLifeTakeDamageAndGetLife ()
 Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
 
void TestInstance ()
 Test del método Instance.
 
+

Detailed Description

+

Test de la clase Gastrodon

+ +

Definition at line 12 of file GastrodonTest.cs.

+

Member Function Documentation

+ +

◆ TestAddAFifthAttack()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestAddAFifthAttack ()
+
+ +

Test de la limitación de movimientos que tiene Gastrodon.

+ +

Definition at line 69 of file GastrodonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestAsleepTurns()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestAsleepTurns ()
+
+ +

Test del atributo asleepTurns.

+ +

Definition at line 97 of file GastrodonTest.cs.

+ +
+
+ +

◆ TestAttacks()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestAttacks ()
+
+ +

Test de metodo FindAttackByName y los ataques que tiene Gastrodon, confirmando que fueron creados correctamente.

+ +

Definition at line 109 of file GastrodonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestCurrentStateAndEditState()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestCurrentStateAndEditState ()
+
+ +

Test del atributo CurrentState y el método EditSate.

+ +

Definition at line 83 of file GastrodonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestIfItHasFourAttacks()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestIfItHasFourAttacks ()
+
+ +

Test de la cantidad de ataques que tiene Gastrodon.

+ +

Definition at line 57 of file GastrodonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestInstance()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestInstance ()
+
+ +

Test del método Instance.

+ +

Definition at line 221 of file GastrodonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestLifeAndCurrentLife()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestLifeAndCurrentLife ()
+
+ +

Test de los atributos life y currentLife.

+ +

Definition at line 42 of file GastrodonTest.cs.

+ +
+
+ +

◆ TestName()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestName ()
+
+ +

Test del atributo name.

+ +

Definition at line 18 of file GastrodonTest.cs.

+ +
+
+ +

◆ TestRestoreBaseLifeTakeDamageAndGetLife()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestRestoreBaseLifeTakeDamageAndGetLife ()
+
+ +

Test de los métodos RestoreBaseLife, TakeDamage y GetLife.

+ +

Definition at line 197 of file GastrodonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestType()

+ +
+
+ + + + + + + +
void LibraryTests.GastrodonTest.TestType ()
+
+ +

Test del atributo type.

+ +

Definition at line 30 of file GastrodonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1GastrodonTest.js b/docs/html/classLibraryTests_1_1GastrodonTest.js new file mode 100644 index 0000000..c991b41 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest.js @@ -0,0 +1,13 @@ +var classLibraryTests_1_1GastrodonTest = +[ + [ "TestAddAFifthAttack", "classLibraryTests_1_1GastrodonTest.html#a3a61683d426fa53bea4d97cee82966ee", null ], + [ "TestAsleepTurns", "classLibraryTests_1_1GastrodonTest.html#a43b1770fc8bcce0a758edc74a4f6efb2", null ], + [ "TestAttacks", "classLibraryTests_1_1GastrodonTest.html#aea1500daa3d27cbb44c13fb7c3bb7728", null ], + [ "TestCurrentStateAndEditState", "classLibraryTests_1_1GastrodonTest.html#a19a70acfa68c0fc126d13dfbcb88535f", null ], + [ "TestIfItHasFourAttacks", "classLibraryTests_1_1GastrodonTest.html#ad25439bfc3837d20e7fb4c5bec6cec72", null ], + [ "TestInstance", "classLibraryTests_1_1GastrodonTest.html#a9cf25ff93083193976a92ccced56dcf8", null ], + [ "TestLifeAndCurrentLife", "classLibraryTests_1_1GastrodonTest.html#aefd44c65a353c5fddc4fd457425f3f42", null ], + [ "TestName", "classLibraryTests_1_1GastrodonTest.html#ac02bc60df432c284e2bcdf2299ae1263", null ], + [ "TestRestoreBaseLifeTakeDamageAndGetLife", "classLibraryTests_1_1GastrodonTest.html#a0c42f999522d5ccee0f79c9bfc8c3fdf", null ], + [ "TestType", "classLibraryTests_1_1GastrodonTest.html#ad5ca8b4fc25e70ec24cf1cedc10e83d4", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibraryTests_1_1GastrodonTest__coll__graph.dot b/docs/html/classLibraryTests_1_1GastrodonTest__coll__graph.dot new file mode 100644 index 0000000..549e3c6 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest__coll__graph.dot @@ -0,0 +1,24 @@ +digraph "LibraryTests.GastrodonTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + + + + + + + +
LibraryTests.GastrodonTest
 
+TestName()
+TestType()
+TestLifeAndCurrentLife()
+TestIfItHasFourAttacks()
+TestAddAFifthAttack()
+TestCurrentStateAndEditState()
+TestAsleepTurns()
+TestAttacks()
+TestRestoreBaseLifeTakeDamage
AndGetLife()
+TestInstance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la clase Gastrodon"]; +} diff --git a/docs/html/classLibraryTests_1_1GastrodonTest_a0c42f999522d5ccee0f79c9bfc8c3fdf_cgraph.dot b/docs/html/classLibraryTests_1_1GastrodonTest_a0c42f999522d5ccee0f79c9bfc8c3fdf_cgraph.dot new file mode 100644 index 0000000..347d676 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest_a0c42f999522d5ccee0f79c9bfc8c3fdf_cgraph.dot @@ -0,0 +1,16 @@ +digraph "LibraryTests.GastrodonTest.TestRestoreBaseLifeTakeDamageAndGetLife" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GastrodonTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GainLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985",tooltip="Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Pokemon.GetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6",tooltip="Devuele la vida del Pokemon en el formato vidaActual/vidaBase."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Pokemon.TakeDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5",tooltip="Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta...."]; +} diff --git a/docs/html/classLibraryTests_1_1GastrodonTest_a19a70acfa68c0fc126d13dfbcb88535f_cgraph.dot b/docs/html/classLibraryTests_1_1GastrodonTest_a19a70acfa68c0fc126d13dfbcb88535f_cgraph.dot new file mode 100644 index 0000000..d892ef7 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest_a19a70acfa68c0fc126d13dfbcb88535f_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.GastrodonTest.TestCurrentStateAndEditState" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GastrodonTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1GastrodonTest_a3a61683d426fa53bea4d97cee82966ee_cgraph.dot b/docs/html/classLibraryTests_1_1GastrodonTest_a3a61683d426fa53bea4d97cee82966ee_cgraph.dot new file mode 100644 index 0000000..ad5840d --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest_a3a61683d426fa53bea4d97cee82966ee_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.GastrodonTest.TestAddAFifthAttack" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GastrodonTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la limitación de movimientos que tiene Gastrodon."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.AddAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33",tooltip="Añade un ataque a la lista de ataques del pokemon."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1GastrodonTest_a9cf25ff93083193976a92ccced56dcf8_cgraph.dot b/docs/html/classLibraryTests_1_1GastrodonTest_a9cf25ff93083193976a92ccced56dcf8_cgraph.dot new file mode 100644 index 0000000..1c2534c --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest_a9cf25ff93083193976a92ccced56dcf8_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.GastrodonTest.TestInstance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GastrodonTest.\lTestInstance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del método Instance."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Gastrodon.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Gastrodon.html#a4eea68f8853432a820fc58924b37d3bf",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Gastrodon.Gastrodon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Gastrodon.html#a1ce2cde7358ec9df01c5b8b433e2b20b",tooltip="Constructor de Gastrodon, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibraryTests_1_1GastrodonTest_ad25439bfc3837d20e7fb4c5bec6cec72_cgraph.dot b/docs/html/classLibraryTests_1_1GastrodonTest_ad25439bfc3837d20e7fb4c5bec6cec72_cgraph.dot new file mode 100644 index 0000000..3d2ea2c --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest_ad25439bfc3837d20e7fb4c5bec6cec72_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.GastrodonTest.TestIfItHasFourAttacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GastrodonTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la cantidad de ataques que tiene Gastrodon."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1GastrodonTest_ad5ca8b4fc25e70ec24cf1cedc10e83d4_cgraph.dot b/docs/html/classLibraryTests_1_1GastrodonTest_ad5ca8b4fc25e70ec24cf1cedc10e83d4_cgraph.dot new file mode 100644 index 0000000..587895a --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest_ad5ca8b4fc25e70ec24cf1cedc10e83d4_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.GastrodonTest.TestType" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GastrodonTest.\lTestType",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del atributo type."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1GastrodonTest_aea1500daa3d27cbb44c13fb7c3bb7728_cgraph.dot b/docs/html/classLibraryTests_1_1GastrodonTest_aea1500daa3d27cbb44c13fb7c3bb7728_cgraph.dot new file mode 100644 index 0000000..c704b93 --- /dev/null +++ b/docs/html/classLibraryTests_1_1GastrodonTest_aea1500daa3d27cbb44c13fb7c3bb7728_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.GastrodonTest.TestAttacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.GastrodonTest.\lTestAttacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de metodo FindAttackByName y los ataques que tiene Gastrodon, confirmando que fueron creados cor..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.FindAttack\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c",tooltip="Busca un ataque dentro de la lista de ataques comparando el nombre."]; +} diff --git a/docs/html/classLibraryTests_1_1GengarTest-members.html b/docs/html/classLibraryTests_1_1GengarTest-members.html index f2c0214..da8716b 100644 --- a/docs/html/classLibraryTests_1_1GengarTest-members.html +++ b/docs/html/classLibraryTests_1_1GengarTest-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.HydreigonTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.HydreigonTest, including all inherited members.

+ + + + + + + + + + + +
TestAddAFifthAttack()LibraryTests.HydreigonTest
TestAsleepTurns()LibraryTests.HydreigonTest
TestAttacks()LibraryTests.HydreigonTest
TestCurrentStateAndEditState()LibraryTests.HydreigonTest
TestIfItHasFourAttacks()LibraryTests.HydreigonTest
TestInstance()LibraryTests.HydreigonTest
TestLifeAndCurrentLife()LibraryTests.HydreigonTest
TestName()LibraryTests.HydreigonTest
TestRestoreBaseLifeTakeDamageAndGetLife()LibraryTests.HydreigonTest
TestType()LibraryTests.HydreigonTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1HydreigonTest.html b/docs/html/classLibraryTests_1_1HydreigonTest.html new file mode 100644 index 0000000..afe0dc7 --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest.html @@ -0,0 +1,410 @@ + + + + + + + +Object Lifecycle: LibraryTests.HydreigonTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.HydreigonTest Class Reference
+
+
+ +

Test de la clase Hydreigon + More...

+
+Collaboration diagram for LibraryTests.HydreigonTest:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void TestName ()
 Test del atributo name.
 
void TestType ()
 Test del atributo type.
 
void TestLifeAndCurrentLife ()
 Test de los atributos life y currentLife.
 
void TestIfItHasFourAttacks ()
 Test de la cantidad de ataques que tiene Hydreigon.
 
void TestAddAFifthAttack ()
 Test de la limitación de movimientos que tiene Hydreigon.
 
void TestCurrentStateAndEditState ()
 Test del atributo CurrentState y el método EditSate.
 
void TestAsleepTurns ()
 Test del atributo asleepTurns.
 
void TestAttacks ()
 Test de metodo FindAttackByName y los ataques que tiene Hydreigon, confirmando que fueron creados correctamente.
 
void TestRestoreBaseLifeTakeDamageAndGetLife ()
 Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
 
void TestInstance ()
 Test del método Instance.
 
+

Detailed Description

+

Test de la clase Hydreigon

+ +

Definition at line 12 of file HydreigonTest.cs.

+

Member Function Documentation

+ +

◆ TestAddAFifthAttack()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestAddAFifthAttack ()
+
+ +

Test de la limitación de movimientos que tiene Hydreigon.

+ +

Definition at line 69 of file HydreigonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestAsleepTurns()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestAsleepTurns ()
+
+ +

Test del atributo asleepTurns.

+ +

Definition at line 97 of file HydreigonTest.cs.

+ +
+
+ +

◆ TestAttacks()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestAttacks ()
+
+ +

Test de metodo FindAttackByName y los ataques que tiene Hydreigon, confirmando que fueron creados correctamente.

+ +

Definition at line 109 of file HydreigonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestCurrentStateAndEditState()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestCurrentStateAndEditState ()
+
+ +

Test del atributo CurrentState y el método EditSate.

+ +

Definition at line 83 of file HydreigonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestIfItHasFourAttacks()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestIfItHasFourAttacks ()
+
+ +

Test de la cantidad de ataques que tiene Hydreigon.

+ +

Definition at line 57 of file HydreigonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestInstance()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestInstance ()
+
+ +

Test del método Instance.

+ +

Definition at line 209 of file HydreigonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestLifeAndCurrentLife()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestLifeAndCurrentLife ()
+
+ +

Test de los atributos life y currentLife.

+ +

Definition at line 42 of file HydreigonTest.cs.

+ +
+
+ +

◆ TestName()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestName ()
+
+ +

Test del atributo name.

+ +

Definition at line 18 of file HydreigonTest.cs.

+ +
+
+ +

◆ TestRestoreBaseLifeTakeDamageAndGetLife()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestRestoreBaseLifeTakeDamageAndGetLife ()
+
+ +

Test de los métodos RestoreBaseLife, TakeDamage y GetLife.

+ +

Definition at line 185 of file HydreigonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestType()

+ +
+
+ + + + + + + +
void LibraryTests.HydreigonTest.TestType ()
+
+ +

Test del atributo type.

+ +

Definition at line 30 of file HydreigonTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1HydreigonTest.js b/docs/html/classLibraryTests_1_1HydreigonTest.js new file mode 100644 index 0000000..3f695ed --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest.js @@ -0,0 +1,13 @@ +var classLibraryTests_1_1HydreigonTest = +[ + [ "TestAddAFifthAttack", "classLibraryTests_1_1HydreigonTest.html#afe9e3eafb2d7fb8faa44f91e44f85eb6", null ], + [ "TestAsleepTurns", "classLibraryTests_1_1HydreigonTest.html#ad8da61b34ae092f3a857cf0a806821bc", null ], + [ "TestAttacks", "classLibraryTests_1_1HydreigonTest.html#afbfc3df59f9b286a92be233c4808cd72", null ], + [ "TestCurrentStateAndEditState", "classLibraryTests_1_1HydreigonTest.html#ae8764629f4f30763ab06fd2a1af60059", null ], + [ "TestIfItHasFourAttacks", "classLibraryTests_1_1HydreigonTest.html#ae1c0ff6486acdde68ccf532b2bb6d018", null ], + [ "TestInstance", "classLibraryTests_1_1HydreigonTest.html#a10a8cf632328d3901689035d4139190e", null ], + [ "TestLifeAndCurrentLife", "classLibraryTests_1_1HydreigonTest.html#a0127c490d902e6f7c97785f3305b70c8", null ], + [ "TestName", "classLibraryTests_1_1HydreigonTest.html#a39c4d7450b299fc91401628bda72b611", null ], + [ "TestRestoreBaseLifeTakeDamageAndGetLife", "classLibraryTests_1_1HydreigonTest.html#a81eea89f8585fd3ee470a8c9fb192596", null ], + [ "TestType", "classLibraryTests_1_1HydreigonTest.html#a80f3ed3b1f9b05baa8e75fc3fb3d66d0", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibraryTests_1_1HydreigonTest__coll__graph.dot b/docs/html/classLibraryTests_1_1HydreigonTest__coll__graph.dot new file mode 100644 index 0000000..1af97b3 --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest__coll__graph.dot @@ -0,0 +1,24 @@ +digraph "LibraryTests.HydreigonTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + + + + + + + +
LibraryTests.HydreigonTest
 
+TestName()
+TestType()
+TestLifeAndCurrentLife()
+TestIfItHasFourAttacks()
+TestAddAFifthAttack()
+TestCurrentStateAndEditState()
+TestAsleepTurns()
+TestAttacks()
+TestRestoreBaseLifeTakeDamage
AndGetLife()
+TestInstance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la clase Hydreigon"]; +} diff --git a/docs/html/classLibraryTests_1_1HydreigonTest_a10a8cf632328d3901689035d4139190e_cgraph.dot b/docs/html/classLibraryTests_1_1HydreigonTest_a10a8cf632328d3901689035d4139190e_cgraph.dot new file mode 100644 index 0000000..7603689 --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest_a10a8cf632328d3901689035d4139190e_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.HydreigonTest.TestInstance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.HydreigonTest.\lTestInstance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del método Instance."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Hydreigon.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Hydreigon.html#aa9a2af73692029374d059e2a2fa8f7af",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Hydreigon.Hydreigon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Hydreigon.html#a7194f60f410e3eaf57a52d8796c6a6a9",tooltip="Constructor de Hydreigon, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibraryTests_1_1HydreigonTest_a80f3ed3b1f9b05baa8e75fc3fb3d66d0_cgraph.dot b/docs/html/classLibraryTests_1_1HydreigonTest_a80f3ed3b1f9b05baa8e75fc3fb3d66d0_cgraph.dot new file mode 100644 index 0000000..87103f6 --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest_a80f3ed3b1f9b05baa8e75fc3fb3d66d0_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.HydreigonTest.TestType" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.HydreigonTest.\lTestType",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del atributo type."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1HydreigonTest_a81eea89f8585fd3ee470a8c9fb192596_cgraph.dot b/docs/html/classLibraryTests_1_1HydreigonTest_a81eea89f8585fd3ee470a8c9fb192596_cgraph.dot new file mode 100644 index 0000000..4e22448 --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest_a81eea89f8585fd3ee470a8c9fb192596_cgraph.dot @@ -0,0 +1,16 @@ +digraph "LibraryTests.HydreigonTest.TestRestoreBaseLifeTakeDamageAndGetLife" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.HydreigonTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GainLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985",tooltip="Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Pokemon.GetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6",tooltip="Devuele la vida del Pokemon en el formato vidaActual/vidaBase."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Pokemon.TakeDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5",tooltip="Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta...."]; +} diff --git a/docs/html/classLibraryTests_1_1HydreigonTest_ae1c0ff6486acdde68ccf532b2bb6d018_cgraph.dot b/docs/html/classLibraryTests_1_1HydreigonTest_ae1c0ff6486acdde68ccf532b2bb6d018_cgraph.dot new file mode 100644 index 0000000..60a818a --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest_ae1c0ff6486acdde68ccf532b2bb6d018_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.HydreigonTest.TestIfItHasFourAttacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.HydreigonTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la cantidad de ataques que tiene Hydreigon."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1HydreigonTest_ae8764629f4f30763ab06fd2a1af60059_cgraph.dot b/docs/html/classLibraryTests_1_1HydreigonTest_ae8764629f4f30763ab06fd2a1af60059_cgraph.dot new file mode 100644 index 0000000..023745d --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest_ae8764629f4f30763ab06fd2a1af60059_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.HydreigonTest.TestCurrentStateAndEditState" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.HydreigonTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1HydreigonTest_afbfc3df59f9b286a92be233c4808cd72_cgraph.dot b/docs/html/classLibraryTests_1_1HydreigonTest_afbfc3df59f9b286a92be233c4808cd72_cgraph.dot new file mode 100644 index 0000000..7a32752 --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest_afbfc3df59f9b286a92be233c4808cd72_cgraph.dot @@ -0,0 +1,12 @@ +digraph "LibraryTests.HydreigonTest.TestAttacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.HydreigonTest.\lTestAttacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de metodo FindAttackByName y los ataques que tiene Hydreigon, confirmando que fueron creados cor..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.FindAttack\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c",tooltip="Busca un ataque dentro de la lista de ataques comparando el nombre."]; +} diff --git a/docs/html/classLibraryTests_1_1HydreigonTest_afe9e3eafb2d7fb8faa44f91e44f85eb6_cgraph.dot b/docs/html/classLibraryTests_1_1HydreigonTest_afe9e3eafb2d7fb8faa44f91e44f85eb6_cgraph.dot new file mode 100644 index 0000000..1bb6e0f --- /dev/null +++ b/docs/html/classLibraryTests_1_1HydreigonTest_afe9e3eafb2d7fb8faa44f91e44f85eb6_cgraph.dot @@ -0,0 +1,14 @@ +digraph "LibraryTests.HydreigonTest.TestAddAFifthAttack" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.HydreigonTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Test de la limitación de movimientos que tiene Hydreigon."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.AddAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33",tooltip="Añade un ataque a la lista de ataques del pokemon."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibraryTests_1_1MewtwoTest-members.html b/docs/html/classLibraryTests_1_1MewtwoTest-members.html index db6d6b1..fb4b69a 100644 --- a/docs/html/classLibraryTests_1_1MewtwoTest-members.html +++ b/docs/html/classLibraryTests_1_1MewtwoTest-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.StateLogicTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.StateLogicTest, including all inherited members.

+ + + + + + + +
AsleepEffectDecreasesTurnsAndReturnsTrue()LibraryTests.StateLogicTest
AsleepEffectIsNotSet()LibraryTests.StateLogicTest
AsleepEffectWakesPokemonAndReturnsFalse()LibraryTests.StateLogicTest
BurnedEffectDecreaseLife()LibraryTests.StateLogicTest
ParalizedEffectRandomness()LibraryTests.StateLogicTest
PoisonedEffectDecreasesLife()LibraryTests.StateLogicTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1StateLogicTest.html b/docs/html/classLibraryTests_1_1StateLogicTest.html new file mode 100644 index 0000000..a1d4337 --- /dev/null +++ b/docs/html/classLibraryTests_1_1StateLogicTest.html @@ -0,0 +1,275 @@ + + + + + + + +Object Lifecycle: LibraryTests.StateLogicTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.StateLogicTest Class Reference
+
+
+
+Collaboration diagram for LibraryTests.StateLogicTest:
+
+
+
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void AsleepEffectDecreasesTurnsAndReturnsTrue ()
 Verifica que la lógica de AsleepEffect disminuya correctamente los AsleepTurn del Pokemon y devuelva true si aún está dormido. ///.
 
void AsleepEffectWakesPokemonAndReturnsFalse ()
 Verifica que la lógica de AsleepEffect despierte al Pokemon (estableciendo su estado en null) y devuelva false si su AsleepTurns llega a 0. ///.
 
void AsleepEffectIsNotSet ()
 Verifica que AsleepEffect devuelva false si el Pokemon no está dormido.
 
void ParalizedEffectRandomness ()
 Verifica que la probabilidad de que ParalizedEffect devuelva true se mantenga dentro del rango esperado (25% con tolerancia).
 
void PoisonedEffectDecreasesLife ()
 Verifica que PoisonedEffect reduzca correctamente la vida actual de un Pokemon envenenado, basado en su vida base.
 
void BurnedEffectDecreaseLife ()
 Verifica que BurnedEffect reduzca correctamente la vida actual de un Pokemon quemado, basado en su vida base.
 
+

Detailed Description

+
+

Definition at line 7 of file StateLogicTest.cs.

+

Member Function Documentation

+ +

◆ AsleepEffectDecreasesTurnsAndReturnsTrue()

+ +
+
+ + + + + + + +
void LibraryTests.StateLogicTest.AsleepEffectDecreasesTurnsAndReturnsTrue ()
+
+ +

Verifica que la lógica de AsleepEffect disminuya correctamente los AsleepTurn del Pokemon y devuelva true si aún está dormido. ///.

+ +

Definition at line 14 of file StateLogicTest.cs.

+ +
+
+ +

◆ AsleepEffectIsNotSet()

+ +
+
+ + + + + + + +
void LibraryTests.StateLogicTest.AsleepEffectIsNotSet ()
+
+ +

Verifica que AsleepEffect devuelva false si el Pokemon no está dormido.

+ +

Definition at line 48 of file StateLogicTest.cs.

+ +
+
+ +

◆ AsleepEffectWakesPokemonAndReturnsFalse()

+ +
+
+ + + + + + + +
void LibraryTests.StateLogicTest.AsleepEffectWakesPokemonAndReturnsFalse ()
+
+ +

Verifica que la lógica de AsleepEffect despierte al Pokemon (estableciendo su estado en null) y devuelva false si su AsleepTurns llega a 0. ///.

+ +

Definition at line 32 of file StateLogicTest.cs.

+ +
+
+ +

◆ BurnedEffectDecreaseLife()

+ +
+
+ + + + + + + +
void LibraryTests.StateLogicTest.BurnedEffectDecreaseLife ()
+
+ +

Verifica que BurnedEffect reduzca correctamente la vida actual de un Pokemon quemado, basado en su vida base.

+ +

Definition at line 109 of file StateLogicTest.cs.

+ +
+
+ +

◆ ParalizedEffectRandomness()

+ +
+
+ + + + + + + +
void LibraryTests.StateLogicTest.ParalizedEffectRandomness ()
+
+ +

Verifica que la probabilidad de que ParalizedEffect devuelva true se mantenga dentro del rango esperado (25% con tolerancia).

+ +

Definition at line 62 of file StateLogicTest.cs.

+ +
+
+ +

◆ PoisonedEffectDecreasesLife()

+ +
+
+ + + + + + + +
void LibraryTests.StateLogicTest.PoisonedEffectDecreasesLife ()
+
+ +

Verifica que PoisonedEffect reduzca correctamente la vida actual de un Pokemon envenenado, basado en su vida base.

+ +

Definition at line 89 of file StateLogicTest.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1StateLogicTest.js b/docs/html/classLibraryTests_1_1StateLogicTest.js new file mode 100644 index 0000000..36624a9 --- /dev/null +++ b/docs/html/classLibraryTests_1_1StateLogicTest.js @@ -0,0 +1,9 @@ +var classLibraryTests_1_1StateLogicTest = +[ + [ "AsleepEffectDecreasesTurnsAndReturnsTrue", "classLibraryTests_1_1StateLogicTest.html#ae05e3983460603c7cd9af708e5be1c7c", null ], + [ "AsleepEffectIsNotSet", "classLibraryTests_1_1StateLogicTest.html#a77a74306f33c1cef3f1b2ce075e8837d", null ], + [ "AsleepEffectWakesPokemonAndReturnsFalse", "classLibraryTests_1_1StateLogicTest.html#a2d056ee95b21771e97c6130591cad345", null ], + [ "BurnedEffectDecreaseLife", "classLibraryTests_1_1StateLogicTest.html#a1e4a543c6b756917e606fba6804c7f71", null ], + [ "ParalizedEffectRandomness", "classLibraryTests_1_1StateLogicTest.html#a370e76e16de0123189fb9c8f7c0ecacd", null ], + [ "PoisonedEffectDecreasesLife", "classLibraryTests_1_1StateLogicTest.html#a725200b2c34c810b25e6e9203252d1ee", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibraryTests_1_1StateLogicTest__coll__graph.dot b/docs/html/classLibraryTests_1_1StateLogicTest__coll__graph.dot new file mode 100644 index 0000000..9bed82d --- /dev/null +++ b/docs/html/classLibraryTests_1_1StateLogicTest__coll__graph.dot @@ -0,0 +1,20 @@ +digraph "LibraryTests.StateLogicTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + + + +
LibraryTests.StateLogicTest
 
+AsleepEffectDecreasesTurns
AndReturnsTrue()
+AsleepEffectWakesPokemon
AndReturnsFalse()
+AsleepEffectIsNotSet()
+ParalizedEffectRandomness()
+PoisonedEffectDecreasesLife()
+BurnedEffectDecreaseLife()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "]; +} diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest-members.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest-members.html new file mode 100644 index 0000000..d90cb22 --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.Strategies.StrategyAlwaysCritTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.Strategies.StrategyAlwaysCritTest, including all inherited members.

+ + +
TestCriticalCheck() (defined in LibraryTests.Strategies.StrategyAlwaysCritTest)LibraryTests.Strategies.StrategyAlwaysCritTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest.html new file mode 100644 index 0000000..9c2792c --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest.html @@ -0,0 +1,152 @@ + + + + + + + +Object Lifecycle: LibraryTests.Strategies.StrategyAlwaysCritTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.Strategies.StrategyAlwaysCritTest Class Reference
+
+
+
+Collaboration diagram for LibraryTests.Strategies.StrategyAlwaysCritTest:
+
+
+
+ + + + +

+Public Member Functions

void TestCriticalCheck ()
 
+

Detailed Description

+
+

Definition at line 8 of file StrategyAlwaysCritTest.cs.

+

Member Function Documentation

+ +

◆ TestCriticalCheck()

+ +
+
+ + + + + + + +
void LibraryTests.Strategies.StrategyAlwaysCritTest.TestCriticalCheck ()
+
+ +

Definition at line 12 of file StrategyAlwaysCritTest.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest__coll__graph.dot b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest__coll__graph.dot new file mode 100644 index 0000000..d8d65d7 --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest__coll__graph.dot @@ -0,0 +1,15 @@ +digraph "LibraryTests.Strategies.StrategyAlwaysCritTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
LibraryTests.Strategies.
StrategyAlwaysCritTest
 
+TestCriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "]; +} diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyNonCritTest-members.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyNonCritTest-members.html new file mode 100644 index 0000000..f0ffb1e --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyNonCritTest-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.Strategies.StrategyNonCritTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.Strategies.StrategyNonCritTest, including all inherited members.

+ + +
TestCriticalCheck() (defined in LibraryTests.Strategies.StrategyNonCritTest)LibraryTests.Strategies.StrategyNonCritTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyNonCritTest.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyNonCritTest.html new file mode 100644 index 0000000..145954e --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyNonCritTest.html @@ -0,0 +1,152 @@ + + + + + + + +Object Lifecycle: LibraryTests.Strategies.StrategyNonCritTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.Strategies.StrategyNonCritTest Class Reference
+
+
+
+Collaboration diagram for LibraryTests.Strategies.StrategyNonCritTest:
+
+
+
+ + + + +

+Public Member Functions

void TestCriticalCheck ()
 
+

Detailed Description

+
+

Definition at line 8 of file StrategyNonCritTest.cs.

+

Member Function Documentation

+ +

◆ TestCriticalCheck()

+ +
+
+ + + + + + + +
void LibraryTests.Strategies.StrategyNonCritTest.TestCriticalCheck ()
+
+ +

Definition at line 12 of file StrategyNonCritTest.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyNonCritTest__coll__graph.dot b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyNonCritTest__coll__graph.dot new file mode 100644 index 0000000..a1a8a66 --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyNonCritTest__coll__graph.dot @@ -0,0 +1,15 @@ +digraph "LibraryTests.Strategies.StrategyNonCritTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
LibraryTests.Strategies.
StrategyNonCritTest
 
+TestCriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "]; +} diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest-members.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest-members.html new file mode 100644 index 0000000..54f23fc --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.Strategies.StrategyPlayerOneStartTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.Strategies.StrategyPlayerOneStartTest, including all inherited members.

+ + +
TestStartingPlayer() (defined in LibraryTests.Strategies.StrategyPlayerOneStartTest)LibraryTests.Strategies.StrategyPlayerOneStartTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest.html new file mode 100644 index 0000000..89d60cc --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest.html @@ -0,0 +1,152 @@ + + + + + + + +Object Lifecycle: LibraryTests.Strategies.StrategyPlayerOneStartTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.Strategies.StrategyPlayerOneStartTest Class Reference
+
+
+
+Collaboration diagram for LibraryTests.Strategies.StrategyPlayerOneStartTest:
+
+
+
+ + + + +

+Public Member Functions

void TestStartingPlayer ()
 
+

Detailed Description

+
+

Definition at line 8 of file StrategyPlayerOneStartTest.cs.

+

Member Function Documentation

+ +

◆ TestStartingPlayer()

+ +
+
+ + + + + + + +
void LibraryTests.Strategies.StrategyPlayerOneStartTest.TestStartingPlayer ()
+
+ +

Definition at line 12 of file StrategyPlayerOneStartTest.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest__coll__graph.dot b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest__coll__graph.dot new file mode 100644 index 0000000..6e4a41a --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest__coll__graph.dot @@ -0,0 +1,15 @@ +digraph "LibraryTests.Strategies.StrategyPlayerOneStartTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
LibraryTests.Strategies.
StrategyPlayerOneStartTest
 
+TestStartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "]; +} diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest-members.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest-members.html new file mode 100644 index 0000000..6d550a0 --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.Strategies.StrategyPlayerTwoStartTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.Strategies.StrategyPlayerTwoStartTest, including all inherited members.

+ + +
TestStartingPlayer() (defined in LibraryTests.Strategies.StrategyPlayerTwoStartTest)LibraryTests.Strategies.StrategyPlayerTwoStartTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest.html new file mode 100644 index 0000000..5ee76a1 --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest.html @@ -0,0 +1,152 @@ + + + + + + + +Object Lifecycle: LibraryTests.Strategies.StrategyPlayerTwoStartTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.Strategies.StrategyPlayerTwoStartTest Class Reference
+
+
+
+Collaboration diagram for LibraryTests.Strategies.StrategyPlayerTwoStartTest:
+
+
+
+ + + + +

+Public Member Functions

void TestStartingPlayer ()
 
+

Detailed Description

+
+

Definition at line 8 of file StrategyPlayerTwoStartTest.cs.

+

Member Function Documentation

+ +

◆ TestStartingPlayer()

+ +
+
+ + + + + + + +
void LibraryTests.Strategies.StrategyPlayerTwoStartTest.TestStartingPlayer ()
+
+ +

Definition at line 12 of file StrategyPlayerTwoStartTest.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest__coll__graph.dot b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest__coll__graph.dot new file mode 100644 index 0000000..53f2f99 --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest__coll__graph.dot @@ -0,0 +1,15 @@ +digraph "LibraryTests.Strategies.StrategyPlayerTwoStartTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
LibraryTests.Strategies.
StrategyPlayerTwoStartTest
 
+TestStartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "]; +} diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest-members.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest-members.html new file mode 100644 index 0000000..94ac6c4 --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.Strategies.StrategyRandomCritTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.Strategies.StrategyRandomCritTest, including all inherited members.

+ + +
TestCriticalCheck() (defined in LibraryTests.Strategies.StrategyRandomCritTest)LibraryTests.Strategies.StrategyRandomCritTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest.html new file mode 100644 index 0000000..ab0fd9b --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest.html @@ -0,0 +1,152 @@ + + + + + + + +Object Lifecycle: LibraryTests.Strategies.StrategyRandomCritTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.Strategies.StrategyRandomCritTest Class Reference
+
+
+
+Collaboration diagram for LibraryTests.Strategies.StrategyRandomCritTest:
+
+
+
+ + + + +

+Public Member Functions

void TestCriticalCheck ()
 
+

Detailed Description

+
+

Definition at line 8 of file StrategyRandomCritTest.cs.

+

Member Function Documentation

+ +

◆ TestCriticalCheck()

+ +
+
+ + + + + + + +
void LibraryTests.Strategies.StrategyRandomCritTest.TestCriticalCheck ()
+
+ +

Definition at line 12 of file StrategyRandomCritTest.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest__coll__graph.dot b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest__coll__graph.dot new file mode 100644 index 0000000..a01cede --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest__coll__graph.dot @@ -0,0 +1,15 @@ +digraph "LibraryTests.Strategies.StrategyRandomCritTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
LibraryTests.Strategies.
StrategyRandomCritTest
 
+TestCriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "]; +} diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest-members.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest-members.html new file mode 100644 index 0000000..34b1e36 --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.Strategies.StrategyRandomStartingPlayerTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.Strategies.StrategyRandomStartingPlayerTest, including all inherited members.

+ + +
TestStartingPlayer() (defined in LibraryTests.Strategies.StrategyRandomStartingPlayerTest)LibraryTests.Strategies.StrategyRandomStartingPlayerTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest.html b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest.html new file mode 100644 index 0000000..1ac517c --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest.html @@ -0,0 +1,152 @@ + + + + + + + +Object Lifecycle: LibraryTests.Strategies.StrategyRandomStartingPlayerTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.Strategies.StrategyRandomStartingPlayerTest Class Reference
+
+
+
+Collaboration diagram for LibraryTests.Strategies.StrategyRandomStartingPlayerTest:
+
+
+
+ + + + +

+Public Member Functions

void TestStartingPlayer ()
 
+

Detailed Description

+
+

Definition at line 8 of file StrategyRandomStartingPlayerTest.cs.

+

Member Function Documentation

+ +

◆ TestStartingPlayer()

+ +
+
+ + + + + + + +
void LibraryTests.Strategies.StrategyRandomStartingPlayerTest.TestStartingPlayer ()
+
+ +

Definition at line 12 of file StrategyRandomStartingPlayerTest.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest__coll__graph.dot b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest__coll__graph.dot new file mode 100644 index 0000000..9248cb7 --- /dev/null +++ b/docs/html/classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest__coll__graph.dot @@ -0,0 +1,15 @@ +digraph "LibraryTests.Strategies.StrategyRandomStartingPlayerTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
LibraryTests.Strategies.
StrategyRandomStartingPlayerTest
 
+TestStartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "]; +} diff --git a/docs/html/classLibraryTests_1_1SuperPotionTest-members.html b/docs/html/classLibraryTests_1_1SuperPotionTest-members.html index e01689e..2913c88 100644 --- a/docs/html/classLibraryTests_1_1SuperPotionTest-members.html +++ b/docs/html/classLibraryTests_1_1SuperPotionTest-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests.WaitingListTest Member List
+
+
+ +

This is the complete list of members for LibraryTests.WaitingListTest, including all inherited members.

+ + + + + + + +
SetUp() (defined in LibraryTests.WaitingListTest)LibraryTests.WaitingListTest
TestAddPlayer()LibraryTests.WaitingListTest
TestFindPlayerByName()LibraryTests.WaitingListTest
TestGetSomeone()LibraryTests.WaitingListTest
TestGetWaitingList()LibraryTests.WaitingListTest
TestRemovePlayer()LibraryTests.WaitingListTest
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1WaitingListTest.html b/docs/html/classLibraryTests_1_1WaitingListTest.html new file mode 100644 index 0000000..4f06874 --- /dev/null +++ b/docs/html/classLibraryTests_1_1WaitingListTest.html @@ -0,0 +1,301 @@ + + + + + + + +Object Lifecycle: LibraryTests.WaitingListTest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.WaitingListTest Class Reference
+
+
+ +

Tests de la clase WaitingList. + More...

+
+Collaboration diagram for LibraryTests.WaitingListTest:
+
+
+
+ + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void SetUp ()
 
void TestAddPlayer ()
 Verifica que los jugadores sean añadidos correctamente a la lista de espera y maneja los casos de jugadores duplicados y entradas inválidas.
 
void TestRemovePlayer ()
 Verifica que un jugador sea eliminado correctamente de la lista de espera.
 
void TestFindPlayerByName ()
 Verifica que un jugador pueda ser encontrado correctamente por su nombre.
 
void TestGetSomeone ()
 Verifica que el método pueda agregar correctamente a otro jugador de la lista de espera.
 
void TestGetWaitingList ()
 Verifica que se pueda obtener correctamente la lista de jugadores en espera.
 
+

Detailed Description

+

Tests de la clase WaitingList.

+ +

Definition at line 10 of file WaitingListTest.cs.

+

Member Function Documentation

+ +

◆ SetUp()

+ +
+
+ + + + + + + +
void LibraryTests.WaitingListTest.SetUp ()
+
+ +

Definition at line 15 of file WaitingListTest.cs.

+ +
+
+ +

◆ TestAddPlayer()

+ +
+
+ + + + + + + +
void LibraryTests.WaitingListTest.TestAddPlayer ()
+
+ +

Verifica que los jugadores sean añadidos correctamente a la lista de espera y maneja los casos de jugadores duplicados y entradas inválidas.

+ +

Definition at line 23 of file WaitingListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestFindPlayerByName()

+ +
+
+ + + + + + + +
void LibraryTests.WaitingListTest.TestFindPlayerByName ()
+
+ +

Verifica que un jugador pueda ser encontrado correctamente por su nombre.

+ +

Definition at line 49 of file WaitingListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestGetSomeone()

+ +
+
+ + + + + + + +
void LibraryTests.WaitingListTest.TestGetSomeone ()
+
+ +

Verifica que el método pueda agregar correctamente a otro jugador de la lista de espera.

+ +

Definition at line 59 of file WaitingListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestGetWaitingList()

+ +
+
+ + + + + + + +
void LibraryTests.WaitingListTest.TestGetWaitingList ()
+
+ +

Verifica que se pueda obtener correctamente la lista de jugadores en espera.

+ +

Definition at line 76 of file WaitingListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ TestRemovePlayer()

+ +
+
+ + + + + + + +
void LibraryTests.WaitingListTest.TestRemovePlayer ()
+
+ +

Verifica que un jugador sea eliminado correctamente de la lista de espera.

+ +

Definition at line 38 of file WaitingListTest.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibraryTests_1_1WaitingListTest.js b/docs/html/classLibraryTests_1_1WaitingListTest.js new file mode 100644 index 0000000..63f42e0 --- /dev/null +++ b/docs/html/classLibraryTests_1_1WaitingListTest.js @@ -0,0 +1,8 @@ +var classLibraryTests_1_1WaitingListTest = +[ + [ "TestAddPlayer", "classLibraryTests_1_1WaitingListTest.html#a4d0f3b6a1e4c4289dfcbaaeefcb50940", null ], + [ "TestFindPlayerByName", "classLibraryTests_1_1WaitingListTest.html#ab5c373347f4922a64f20c838358b8ac3", null ], + [ "TestGetSomeone", "classLibraryTests_1_1WaitingListTest.html#a244b48901624c5eb50756897296538ef", null ], + [ "TestGetWaitingList", "classLibraryTests_1_1WaitingListTest.html#a34b2c0844e2d7634326a82afa0b4f7b1", null ], + [ "TestRemovePlayer", "classLibraryTests_1_1WaitingListTest.html#a050f533da395bae1689d73811427ab5a", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibraryTests_1_1WaitingListTest__coll__graph.dot b/docs/html/classLibraryTests_1_1WaitingListTest__coll__graph.dot new file mode 100644 index 0000000..d189ae7 --- /dev/null +++ b/docs/html/classLibraryTests_1_1WaitingListTest__coll__graph.dot @@ -0,0 +1,20 @@ +digraph "LibraryTests.WaitingListTest" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + + + +
LibraryTests.WaitingListTest
 
+SetUp()
+TestAddPlayer()
+TestRemovePlayer()
+TestFindPlayerByName()
+TestGetSomeone()
+TestGetWaitingList()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Tests de la clase WaitingList."]; +} diff --git a/docs/html/classLibraryTests_1_1WaitingListTest_a050f533da395bae1689d73811427ab5a_cgraph.dot b/docs/html/classLibraryTests_1_1WaitingListTest_a050f533da395bae1689d73811427ab5a_cgraph.dot new file mode 100644 index 0000000..8109fa7 --- /dev/null +++ b/docs/html/classLibraryTests_1_1WaitingListTest_a050f533da395bae1689d73811427ab5a_cgraph.dot @@ -0,0 +1,19 @@ +digraph "LibraryTests.WaitingListTest.TestRemovePlayer" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.WaitingList\lTest.TestRemovePlayer",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que un jugador sea eliminado correctamente de la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.AddPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252",tooltip="Agrega un jugador a la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.WaitingList.GetWaitingList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027",tooltip="Devuelve la lista de jugadores en espera."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.WaitingList.Remove\lPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993",tooltip="Elimina un jugador de la lista de espera."]; + Node5 -> Node3 [id="edge5_Node000005_Node000003",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibraryTests_1_1WaitingListTest_a244b48901624c5eb50756897296538ef_cgraph.dot b/docs/html/classLibraryTests_1_1WaitingListTest_a244b48901624c5eb50756897296538ef_cgraph.dot new file mode 100644 index 0000000..0591046 --- /dev/null +++ b/docs/html/classLibraryTests_1_1WaitingListTest_a244b48901624c5eb50756897296538ef_cgraph.dot @@ -0,0 +1,16 @@ +digraph "LibraryTests.WaitingListTest.TestGetSomeone" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.WaitingList\lTest.TestGetSomeone",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que el método pueda agregar correctamente a otro jugador de la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.AddPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252",tooltip="Agrega un jugador a la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.WaitingList.GetSomeone",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a27fe90fdd4bad1838be5be2719a63d70",tooltip="Devuelve un jugador al azar de la lista de espera."]; +} diff --git a/docs/html/classLibraryTests_1_1WaitingListTest_a34b2c0844e2d7634326a82afa0b4f7b1_cgraph.dot b/docs/html/classLibraryTests_1_1WaitingListTest_a34b2c0844e2d7634326a82afa0b4f7b1_cgraph.dot new file mode 100644 index 0000000..021cded --- /dev/null +++ b/docs/html/classLibraryTests_1_1WaitingListTest_a34b2c0844e2d7634326a82afa0b4f7b1_cgraph.dot @@ -0,0 +1,16 @@ +digraph "LibraryTests.WaitingListTest.TestGetWaitingList" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.WaitingList\lTest.TestGetWaitingList",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que se pueda obtener correctamente la lista de jugadores en espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.AddPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252",tooltip="Agrega un jugador a la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.WaitingList.GetWaitingList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027",tooltip="Devuelve la lista de jugadores en espera."]; +} diff --git a/docs/html/classLibraryTests_1_1WaitingListTest_a4d0f3b6a1e4c4289dfcbaaeefcb50940_cgraph.dot b/docs/html/classLibraryTests_1_1WaitingListTest_a4d0f3b6a1e4c4289dfcbaaeefcb50940_cgraph.dot new file mode 100644 index 0000000..2b0ed42 --- /dev/null +++ b/docs/html/classLibraryTests_1_1WaitingListTest_a4d0f3b6a1e4c4289dfcbaaeefcb50940_cgraph.dot @@ -0,0 +1,16 @@ +digraph "LibraryTests.WaitingListTest.TestAddPlayer" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.WaitingList\lTest.TestAddPlayer",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que los jugadores sean añadidos correctamente a la lista de espera y maneja los casos de jug..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.AddPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252",tooltip="Agrega un jugador a la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.WaitingList.GetWaitingList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027",tooltip="Devuelve la lista de jugadores en espera."]; +} diff --git a/docs/html/classLibraryTests_1_1WaitingListTest_ab5c373347f4922a64f20c838358b8ac3_cgraph.dot b/docs/html/classLibraryTests_1_1WaitingListTest_ab5c373347f4922a64f20c838358b8ac3_cgraph.dot new file mode 100644 index 0000000..f023ec2 --- /dev/null +++ b/docs/html/classLibraryTests_1_1WaitingListTest_ab5c373347f4922a64f20c838358b8ac3_cgraph.dot @@ -0,0 +1,15 @@ +digraph "LibraryTests.WaitingListTest.TestFindPlayerByName" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="LibraryTests.WaitingList\lTest.TestFindPlayerByName",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Verifica que un jugador pueda ser encontrado correctamente por su nombre."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.AddPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252",tooltip="Agrega un jugador a la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node1 -> Node3 [id="edge3_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibraryTests_1_1ZeraoraTest-members.html b/docs/html/classLibraryTests_1_1ZeraoraTest-members.html index 3a2ecc0..1541633 100644 --- a/docs/html/classLibraryTests_1_1ZeraoraTest-members.html +++ b/docs/html/classLibraryTests_1_1ZeraoraTest-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.AttackCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.AttackCommand, including all inherited members.

+ + +
ExecuteAsync([Remainder][Summary("Ataque que desea utilizar.")] string? attack=null)Library.Commands.AttackCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1AttackCommand.html b/docs/html/classLibrary_1_1Commands_1_1AttackCommand.html new file mode 100644 index 0000000..d907c19 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1AttackCommand.html @@ -0,0 +1,175 @@ + + + + + + + +Object Lifecycle: Library.Commands.AttackCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.AttackCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'attack' del bot. + More...

+
+Inheritance diagram for Library.Commands.AttackCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.AttackCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Ataque que desea utilizar.")] string? attack=null)
 Envía a la fachada un mensaje con el ataque a utilizar.
 
+

Detailed Description

+

Esta clase implementa el comando 'attack' del bot.

+ +

Definition at line 11 of file AttackCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.AttackCommand.ExecuteAsync ([Summary("Ataque que desea utilizar.")] string? attack = null)
+
+ +

Envía a la fachada un mensaje con el ataque a utilizar.

+
Parameters
+ + +
attackAtaque a utilizar.
+
+
+ +

Definition at line 26 of file AttackCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1AttackCommand.js b/docs/html/classLibrary_1_1Commands_1_1AttackCommand.js new file mode 100644 index 0000000..05a5f34 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1AttackCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1AttackCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1AttackCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1AttackCommand__coll__graph.dot new file mode 100644 index 0000000..309c73e --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1AttackCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.AttackCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.AttackCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'attack' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1AttackCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1AttackCommand__inherit__graph.dot new file mode 100644 index 0000000..309c73e --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1AttackCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.AttackCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.AttackCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'attack' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1AttackCommand_a348884af05a12f00e675e4438bb6b0ee_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1AttackCommand_a348884af05a12f00e675e4438bb6b0ee_cgraph.dot new file mode 100644 index 0000000..f8e0b3a --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1AttackCommand_a348884af05a12f00e675e4438bb6b0ee_cgraph.dot @@ -0,0 +1,59 @@ +digraph "Library.Commands.AttackCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a26ddb0a7ae0b909f2ded88a249a58aaa",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GameStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c",tooltip="Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores."]; + Node3 -> Node5 [id="edge4_Node000003_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node3 -> Node6 [id="edge5_Node000003_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Game.Winner",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01",tooltip="Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ..."]; + Node2 -> Node7 [id="edge6_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Game.CheckPlayer\lInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce",tooltip="Busca si hay un jugador con el mismo nombre que el del parámetro en una partida."]; + Node2 -> Node8 [id="edge7_Node000002_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node8 -> Node9 [id="edge8_Node000008_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node9 -> Node10 [id="edge9_Node000009_Node000010",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="Library.DamageCalculator.\lCriticalCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3a2f89d68ff61105914612a5c1fdcae3",tooltip="Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria."]; + Node9 -> Node11 [id="edge10_Node000009_Node000011",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="Library.DamageCalculator.\lGetEffectivness",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a984d17ac844873844f080b61bd9d93be",tooltip="Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon."]; + Node9 -> Node12 [id="edge11_Node000009_Node000012",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; + Node9 -> Node13 [id="edge12_Node000009_Node000013",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3ac5d47b8a7ebd067ef03b81c8907802",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; + Node13 -> Node14 [id="edge13_Node000013_Node000014",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; + Node8 -> Node15 [id="edge14_Node000008_Node000015",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="Library.Pokemon.TakeDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5",tooltip="Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta...."]; + Node2 -> Node16 [id="edge15_Node000002_Node000016",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="Library.Player.FindAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#ae71c6dd4e6de83f82e3b6629a2511248",tooltip="Devuelve un ataque de la lista de ataques del pokemon activo."]; + Node16 -> Node17 [id="edge16_Node000016_Node000017",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; + Node2 -> Node18 [id="edge17_Node000002_Node000018",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node18 -> Node19 [id="edge18_Node000018_Node000019",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node20 [id="edge19_Node000002_Node000020",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node20 -> Node19 [id="edge20_Node000020_Node000019",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node21 [id="edge21_Node000002_Node000021",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="Library.GameList.GetGameList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc",tooltip="Devuelve la lista de partidas."]; + Node2 -> Node19 [id="edge22_Node000002_Node000019",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node22 [id="edge23_Node000002_Node000022",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="Library.Player.GetPokemonTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3",tooltip="Devuelve la lista de pokemons del jugador."]; + Node2 -> Node23 [id="edge24_Node000002_Node000023",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="Library.Game.NextTurn",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7",tooltip="Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu..."]; + Node23 -> Node24 [id="edge25_Node000023_Node000024",color="steelblue1",style="solid",tooltip=" "]; + Node24 [id="Node000024",label="Library.Game.CooldownCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825",tooltip="Reduce el tiempo de enfriamiento (cooldown) de todos los ataques especiales de cada Pokemon en los eq..."]; + Node23 -> Node4 [id="edge26_Node000023_Node000004",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1BattleCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1BattleCommand-members.html new file mode 100644 index 0000000..178d90c --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1BattleCommand-members.html @@ -0,0 +1,116 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.BattleCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.BattleCommand, including all inherited members.

+ + + +
ExecuteAsync([Remainder][Summary("Display name del oponente, opcional")] string? opponentDisplayName=null)Library.Commands.BattleCommand
ExecuteAsync([Remainder][Summary("Display name del oponente, opcional")] string? opponentDisplayName=null)Library.Commands.BattleCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1BattleCommand.html b/docs/html/classLibrary_1_1Commands_1_1BattleCommand.html new file mode 100644 index 0000000..7d89b3a --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1BattleCommand.html @@ -0,0 +1,211 @@ + + + + + + + +Object Lifecycle: Library.Commands.BattleCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.BattleCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'battle' del bot. Este comando une al jugador que envía el mensaje con el oponente que se recibe como parámetro, si lo hubiera, en una batalla; si no se recibe un oponente, lo une con cualquiera que esté esperando para jugar. + More...

+
+Inheritance diagram for Library.Commands.BattleCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.BattleCommand:
+
+
+
+ + + + + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Display name del oponente, opcional")] string? opponentDisplayName=null)
 Implementa el comando 'battle'. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar.
 
async Task ExecuteAsync ([Remainder][Summary("Display name del oponente, opcional")] string? opponentDisplayName=null)
 Implementa el comando 'battle'. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar.
 
+

Detailed Description

+

Esta clase implementa el comando 'battle' del bot. Este comando une al jugador que envía el mensaje con el oponente que se recibe como parámetro, si lo hubiera, en una batalla; si no se recibe un oponente, lo une con cualquiera que esté esperando para jugar.

+ +

Definition at line 16 of file BattleCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync() [1/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.BattleCommand.ExecuteAsync ([Summary("Display name del oponente, opcional")] string? opponentDisplayName = null)
+
+ +

Implementa el comando 'battle'. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar.

+
Parameters
+ + +
opponentDisplayNameNombre de oponente, puede ser nulo.
+
+
+ +

Definition at line 30 of file BattleCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ ExecuteAsync() [2/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.BattleCommand.ExecuteAsync ([Summary("Display name del oponente, opcional")] string? opponentDisplayName = null)
+
+ +

Implementa el comando 'battle'. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar.

+
Parameters
+ + +
opponentDisplayNameNombre de oponente, puede ser nulo.
+
+
+ +

Definition at line 31 of file BattleCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1BattleCommand.js b/docs/html/classLibrary_1_1Commands_1_1BattleCommand.js new file mode 100644 index 0000000..a1fa991 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1BattleCommand.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Commands_1_1BattleCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1BattleCommand.html#a0d1cbd516d13618e333208a01ea7f347", null ], + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1BattleCommand.html#a0d1cbd516d13618e333208a01ea7f347", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1BattleCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1BattleCommand__coll__graph.dot new file mode 100644 index 0000000..0855e3d --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1BattleCommand__coll__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.BattleCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.BattleCommand
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'battle' del bot. Este comando une al jugador que envía el mensaje c..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1BattleCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1BattleCommand__inherit__graph.dot new file mode 100644 index 0000000..0855e3d --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1BattleCommand__inherit__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.BattleCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.BattleCommand
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'battle' del bot. Este comando une al jugador que envía el mensaje c..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1BattleCommand_a0d1cbd516d13618e333208a01ea7f347_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1BattleCommand_a0d1cbd516d13618e333208a01ea7f347_cgraph.dot new file mode 100644 index 0000000..daac67d --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1BattleCommand_a0d1cbd516d13618e333208a01ea7f347_cgraph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.BattleCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.BattleCommand.\lExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Implementa el comando 'battle'. Este comando une al jugador que envía el mensaje a la lista de jugado..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.StartGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a254fa741693ebc4342764475104d3733",tooltip="Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node5 -> Node4 [id="edge5_Node000005_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node6 [id="edge6_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node2 -> Node7 [id="edge7_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.WaitingList.GetSomeone",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a27fe90fdd4bad1838be5be2719a63d70",tooltip="Devuelve un jugador al azar de la lista de espera."]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand-members.html new file mode 100644 index 0000000..2fe3deb --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.CatalogueCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.CatalogueCommand, including all inherited members.

+ + +
ExecuteAsync()Library.Commands.CatalogueCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand.html b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand.html new file mode 100644 index 0000000..2d5ee24 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand.html @@ -0,0 +1,169 @@ + + + + + + + +Object Lifecycle: Library.Commands.CatalogueCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.CatalogueCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'catalogue' del bot. + More...

+
+Inheritance diagram for Library.Commands.CatalogueCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.CatalogueCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Muestra los Pokemons del catálogo.
 
+

Detailed Description

+

Esta clase implementa el comando 'catalogue' del bot.

+ +

Definition at line 11 of file CatalogueCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.CatalogueCommand.ExecuteAsync ()
+
+ +

Muestra los Pokemons del catálogo.

+ +

Definition at line 21 of file CatalogueCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand.js b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand.js new file mode 100644 index 0000000..8673331 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1CatalogueCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1CatalogueCommand.html#ad95d287be16f5266dfb90ffab6c073bb", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand__coll__graph.dot new file mode 100644 index 0000000..c6261b7 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.CatalogueCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.Catalogue
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'catalogue' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand__inherit__graph.dot new file mode 100644 index 0000000..c6261b7 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.CatalogueCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.Catalogue
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'catalogue' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand_ad95d287be16f5266dfb90ffab6c073bb_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand_ad95d287be16f5266dfb90ffab6c073bb_cgraph.dot new file mode 100644 index 0000000..a066ed9 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CatalogueCommand_ad95d287be16f5266dfb90ffab6c073bb_cgraph.dot @@ -0,0 +1,17 @@ +digraph "Library.Commands.CatalogueCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.Catalogue\lCommand.ExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Muestra los Pokemons del catálogo."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ShowCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#aba404c6c1cd684fcc79efa9fcddc2a8c",tooltip="Muestra el catálogo de Pokemon disponibles."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.PokemonCatalogue.\lSetCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a89deea710474bec8e34f3853fa26663f",tooltip="Inicialia el catalogo."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.PokemonCatalogue.\lShowCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a530df71a10356bea3a56e1e46ee40f48",tooltip="Devuelve el nombre de todos los Pokemons en el catálogo."]; + Node4 -> Node3 [id="edge4_Node000004_Node000003",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ChangeCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand-members.html new file mode 100644 index 0000000..d0cc45e --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.ChangeCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.ChangeCommand, including all inherited members.

+ + +
ExecuteAsync([Remainder][Summary("Nombre del Pokemon")] string pokemonName)Library.Commands.ChangeCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ChangeCommand.html b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand.html new file mode 100644 index 0000000..80b8161 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand.html @@ -0,0 +1,175 @@ + + + + + + + +Object Lifecycle: Library.Commands.ChangeCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.ChangeCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'change' del bot. + More...

+
+Inheritance diagram for Library.Commands.ChangeCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.ChangeCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Nombre del Pokemon")] string pokemonName)
 Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó para ser su nuevo Pokemon activo.
 
+

Detailed Description

+

Esta clase implementa el comando 'change' del bot.

+ +

Definition at line 11 of file ChangeCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.ChangeCommand.ExecuteAsync ([Summary("Nombre del Pokemon")] string pokemonName)
+
+ +

Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó para ser su nuevo Pokemon activo.

+
Parameters
+ + +
pokemonNameNombre del Pokemon seleccionado.
+
+
+ +

Definition at line 27 of file ChangeCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ChangeCommand.js b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand.js new file mode 100644 index 0000000..26b6369 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1ChangeCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1ChangeCommand.html#a7fa738b2d7cc6f9c0aac78740e7be862", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1ChangeCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand__coll__graph.dot new file mode 100644 index 0000000..ca6e33c --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ChangeCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ChangeCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'change' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ChangeCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand__inherit__graph.dot new file mode 100644 index 0000000..ca6e33c --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ChangeCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ChangeCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'change' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ChangeCommand_a7fa738b2d7cc6f9c0aac78740e7be862_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand_a7fa738b2d7cc6f9c0aac78740e7be862_cgraph.dot new file mode 100644 index 0000000..da0ac4d --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChangeCommand_a7fa738b2d7cc6f9c0aac78740e7be862_cgraph.dot @@ -0,0 +1,37 @@ +digraph "Library.Commands.ChangeCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.ChangeCommand.\lExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó para ser su nuevo P..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ChangePokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a8997a21e19d2a44cd060422768dfbddd",tooltip="Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.ChangePokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a9dd5a455b44cc24f7f9a6e9bcdc37b69",tooltip="Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido..."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a26ddb0a7ae0b909f2ded88a249a58aaa",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Game.GameStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c",tooltip="Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores."]; + Node4 -> Node6 [id="edge5_Node000004_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node4 -> Node7 [id="edge6_Node000004_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Game.Winner",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01",tooltip="Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ..."]; + Node2 -> Node8 [id="edge7_Node000002_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node8 -> Node9 [id="edge8_Node000008_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node10 [id="edge9_Node000002_Node000010",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node10 -> Node9 [id="edge10_Node000010_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node11 [id="edge11_Node000002_Node000011",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="Library.Player.FindPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4",tooltip="Devuelve un pokemon de la lista del jugador buscandolo por el nombre."]; + Node2 -> Node9 [id="edge12_Node000002_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node12 [id="edge13_Node000002_Node000012",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="Library.Game.NextTurn",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7",tooltip="Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu..."]; + Node12 -> Node13 [id="edge14_Node000012_Node000013",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="Library.Game.CooldownCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825",tooltip="Reduce el tiempo de enfriamiento (cooldown) de todos los ataques especiales de cada Pokemon en los eq..."]; + Node12 -> Node5 [id="edge15_Node000012_Node000005",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand-members.html new file mode 100644 index 0000000..ccffbb6 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.CheckTurnCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.CheckTurnCommand, including all inherited members.

+ + +
ExecuteAsync()Library.Commands.CheckTurnCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand.html b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand.html new file mode 100644 index 0000000..9ed134d --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand.html @@ -0,0 +1,169 @@ + + + + + + + +Object Lifecycle: Library.Commands.CheckTurnCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.CheckTurnCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'checkturn' del bot. + More...

+
+Inheritance diagram for Library.Commands.CheckTurnCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.CheckTurnCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Devuelve de quien es el turno.
 
+

Detailed Description

+

Esta clase implementa el comando 'checkturn' del bot.

+ +

Definition at line 11 of file CheckTurnCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.CheckTurnCommand.ExecuteAsync ()
+
+ +

Devuelve de quien es el turno.

+ +

Definition at line 22 of file CheckTurnCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand.js b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand.js new file mode 100644 index 0000000..a56a0d2 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1CheckTurnCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1CheckTurnCommand.html#ab39a32a33c419397d2980f57aa5123cb", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand__coll__graph.dot new file mode 100644 index 0000000..d1187e2 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.CheckTurnCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.CheckTurn
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'checkturn' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand__inherit__graph.dot new file mode 100644 index 0000000..d1187e2 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.CheckTurnCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.CheckTurn
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'checkturn' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand_ab39a32a33c419397d2980f57aa5123cb_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand_ab39a32a33c419397d2980f57aa5123cb_cgraph.dot new file mode 100644 index 0000000..5b40985 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1CheckTurnCommand_ab39a32a33c419397d2980f57aa5123cb_cgraph.dot @@ -0,0 +1,22 @@ +digraph "Library.Commands.CheckTurnCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.CheckTurn\lCommand.ExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Devuelve de quien es el turno."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.CheckTurn",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a99bd9042b777684a16c6d1977b9de625",tooltip="Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.CheckPlayer\lInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce",tooltip="Busca si hay un jugador con el mismo nombre que el del parámetro en una partida."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node6 [id="edge5_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node6 -> Node5 [id="edge6_Node000006_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node5 [id="edge7_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand-members.html new file mode 100644 index 0000000..fd5e9ca --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.ChooseCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.ChooseCommand, including all inherited members.

+ + +
ExecuteAsync([Remainder][Summary("Nombre del pokemon.")] string pokemonName)Library.Commands.ChooseCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseCommand.html b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand.html new file mode 100644 index 0000000..5357c71 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand.html @@ -0,0 +1,175 @@ + + + + + + + +Object Lifecycle: Library.Commands.ChooseCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.ChooseCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'choose' del bot. + More...

+
+Inheritance diagram for Library.Commands.ChooseCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.ChooseCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Nombre del pokemon.")] string pokemonName)
 Envía a la fachada un mensaje con el Pokemon seleccionado.
 
+

Detailed Description

+

Esta clase implementa el comando 'choose' del bot.

+ +

Definition at line 11 of file ChooseCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.ChooseCommand.ExecuteAsync ([Summary("Nombre del pokemon.")] string pokemonName)
+
+ +

Envía a la fachada un mensaje con el Pokemon seleccionado.

+
Parameters
+ + +
pokemonNameNombre del Pokemon seleccionado.
+
+
+ +

Definition at line 23 of file ChooseCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseCommand.js b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand.js new file mode 100644 index 0000000..4a03fa4 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1ChooseCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1ChooseCommand.html#ae57410f3488ac491c3540e5f4dd58093", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand__coll__graph.dot new file mode 100644 index 0000000..7b19e8d --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ChooseCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ChooseCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'choose' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand__inherit__graph.dot new file mode 100644 index 0000000..7b19e8d --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ChooseCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ChooseCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'choose' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseCommand_ae57410f3488ac491c3540e5f4dd58093_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand_ae57410f3488ac491c3540e5f4dd58093_cgraph.dot new file mode 100644 index 0000000..dc54e70 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseCommand_ae57410f3488ac491c3540e5f4dd58093_cgraph.dot @@ -0,0 +1,24 @@ +digraph "Library.Commands.ChooseCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.ChooseCommand.\lExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Envía a la fachada un mensaje con el Pokemon seleccionado."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ChooseTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a542c335b954dab9971c87d83de9ccc97",tooltip="Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Player.AddToTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#aca63ec3547f91e79f9f5c22e366dec9f",tooltip="Agrega un pokemon a la lista de pokemons del jugador."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node6 [id="edge5_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Player.GetPokemonTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3",tooltip="Devuelve la lista de pokemons del jugador."]; + Node2 -> Node7 [id="edge6_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Player.SetActive\lPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a1dc483f61f95351bd3266c5f9663bfb1",tooltip="Cambia el pokemon activo si está vivo."]; + Node2 -> Node8 [id="edge7_Node000002_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.PokemonCatalogue.\lSetCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a89deea710474bec8e34f3853fa26663f",tooltip="Inicialia el catalogo."]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand-members.html new file mode 100644 index 0000000..2629ff9 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.ChooseRandomCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.ChooseRandomCommand, including all inherited members.

+ + +
ExecuteAsync()Library.Commands.ChooseRandomCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand.html b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand.html new file mode 100644 index 0000000..7ab0bd6 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand.html @@ -0,0 +1,169 @@ + + + + + + + +Object Lifecycle: Library.Commands.ChooseRandomCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.ChooseRandomCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'chooserandom' del bot. + More...

+
+Inheritance diagram for Library.Commands.ChooseRandomCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.ChooseRandomCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Completa el equipo del jugador aleatoriamnte.
 
+

Detailed Description

+

Esta clase implementa el comando 'chooserandom' del bot.

+ +

Definition at line 11 of file ChooseRandomCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.ChooseRandomCommand.ExecuteAsync ()
+
+ +

Completa el equipo del jugador aleatoriamnte.

+ +

Definition at line 22 of file ChooseRandomCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand.js b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand.js new file mode 100644 index 0000000..e5d9125 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1ChooseRandomCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1ChooseRandomCommand.html#a3055f5c70847dce83acb728aef6749a5", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand__coll__graph.dot new file mode 100644 index 0000000..9b94316 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ChooseRandomCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ChooseRandom
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'chooserandom' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand__inherit__graph.dot new file mode 100644 index 0000000..9b94316 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ChooseRandomCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ChooseRandom
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'chooserandom' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand_a3055f5c70847dce83acb728aef6749a5_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand_a3055f5c70847dce83acb728aef6749a5_cgraph.dot new file mode 100644 index 0000000..f9bc0bf --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ChooseRandomCommand_a3055f5c70847dce83acb728aef6749a5_cgraph.dot @@ -0,0 +1,20 @@ +digraph "Library.Commands.ChooseRandomCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.ChooseRandom\lCommand.ExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Completa el equipo del jugador aleatoriamnte."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ChooseRandom",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a61547f8ddbb1a86128d810e18d1891fe",tooltip="Completa aleatoriamente el equipo de Pokemons."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Player.AddToTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#aca63ec3547f91e79f9f5c22e366dec9f",tooltip="Agrega un pokemon a la lista de pokemons del jugador."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node6 [id="edge5_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Player.FindPokemon\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a5014994bf275f49a548e7621badd2415",tooltip="Busca un Pokemon en el equipo de Pokemons de un jugador."]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1HelpCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1HelpCommand-members.html new file mode 100644 index 0000000..09dda27 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HelpCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.HelpCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.HelpCommand, including all inherited members.

+ + +
ExecuteAsync()Library.Commands.HelpCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1HelpCommand.html b/docs/html/classLibrary_1_1Commands_1_1HelpCommand.html new file mode 100644 index 0000000..a6f9e3a --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HelpCommand.html @@ -0,0 +1,164 @@ + + + + + + + +Object Lifecycle: Library.Commands.HelpCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.HelpCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'help' del bot. + More...

+
+Inheritance diagram for Library.Commands.HelpCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.HelpCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Muestra todos los comandos que el usuario puede utilizar junto a una breve descripcion.
 
+

Detailed Description

+

Esta clase implementa el comando 'help' del bot.

+ +

Definition at line 11 of file HelpCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.HelpCommand.ExecuteAsync ()
+
+ +

Muestra todos los comandos que el usuario puede utilizar junto a una breve descripcion.

+ +

Definition at line 21 of file HelpCommand.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1HelpCommand.js b/docs/html/classLibrary_1_1Commands_1_1HelpCommand.js new file mode 100644 index 0000000..3e74d55 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HelpCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1HelpCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1HelpCommand.html#ab8bb2c66377771a77e9167b4ea1feac9", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1HelpCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1HelpCommand__coll__graph.dot new file mode 100644 index 0000000..b337658 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HelpCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.HelpCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.HelpCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'help' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1HelpCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1HelpCommand__inherit__graph.dot new file mode 100644 index 0000000..b337658 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HelpCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.HelpCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.HelpCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'help' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1HpCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1HpCommand-members.html new file mode 100644 index 0000000..440be7f --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HpCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.HpCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.HpCommand, including all inherited members.

+ + +
ExecuteAsync([Remainder][Summary("Display name del oponente, opcional")] string? opponentDisplayName=null)Library.Commands.HpCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1HpCommand.html b/docs/html/classLibrary_1_1Commands_1_1HpCommand.html new file mode 100644 index 0000000..d37c8c3 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HpCommand.html @@ -0,0 +1,175 @@ + + + + + + + +Object Lifecycle: Library.Commands.HpCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.HpCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'hp' del bot. + More...

+
+Inheritance diagram for Library.Commands.HpCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.HpCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Display name del oponente, opcional")] string? opponentDisplayName=null)
 Muestra la vida de los Pokemons del jugador que utiliza el comando si no se pasa el nombre del oponente como parámetro. Si se pasa el nombre del oponente muestra la vida de los Pokemons del rival.
 
+

Detailed Description

+

Esta clase implementa el comando 'hp' del bot.

+ +

Definition at line 11 of file HpCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.HpCommand.ExecuteAsync ([Summary("Display name del oponente, opcional")] string? opponentDisplayName = null)
+
+ +

Muestra la vida de los Pokemons del jugador que utiliza el comando si no se pasa el nombre del oponente como parámetro. Si se pasa el nombre del oponente muestra la vida de los Pokemons del rival.

+
Parameters
+ + +
opponentDisplayNameNombre del Pokemon seleccionado.
+
+
+ +

Definition at line 26 of file HpCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1HpCommand.js b/docs/html/classLibrary_1_1Commands_1_1HpCommand.js new file mode 100644 index 0000000..6c7a27d --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HpCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1HpCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1HpCommand.html#af1980a2d6d596e48a2c7bdf5d25e5d9b", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1HpCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1HpCommand__coll__graph.dot new file mode 100644 index 0000000..c687ccb --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HpCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.HpCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.HpCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'hp' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1HpCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1HpCommand__inherit__graph.dot new file mode 100644 index 0000000..c687ccb --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HpCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.HpCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.HpCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'hp' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1HpCommand_af1980a2d6d596e48a2c7bdf5d25e5d9b_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1HpCommand_af1980a2d6d596e48a2c7bdf5d25e5d9b_cgraph.dot new file mode 100644 index 0000000..d4d45f0 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1HpCommand_af1980a2d6d596e48a2c7bdf5d25e5d9b_cgraph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.HpCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.HpCommand.\lExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Muestra la vida de los Pokemons del jugador que utiliza el comando si no se pasa el nombre del oponen..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ShowPokemonsHp",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a021e3e6d485a0cb0599f1821b49ef30c",tooltip="Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.CheckPlayer\lInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce",tooltip="Busca si hay un jugador con el mismo nombre que el del parámetro en una partida."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node6 [id="edge5_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node6 -> Node5 [id="edge6_Node000006_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node7 [id="edge7_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Pokemon.GetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6",tooltip="Devuele la vida del Pokemon en el formato vidaActual/vidaBase."]; + Node2 -> Node8 [id="edge8_Node000002_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.Player.GetPokemonTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3",tooltip="Devuelve la lista de pokemons del jugador."]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1JoinCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1JoinCommand-members.html new file mode 100644 index 0000000..5138ae3 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1JoinCommand-members.html @@ -0,0 +1,116 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.JoinCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.JoinCommand, including all inherited members.

+ + + +
ExecuteAsync()Library.Commands.JoinCommand
ExecuteAsync()Library.Commands.JoinCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1JoinCommand.html b/docs/html/classLibrary_1_1Commands_1_1JoinCommand.html new file mode 100644 index 0000000..100358a --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1JoinCommand.html @@ -0,0 +1,199 @@ + + + + + + + +Object Lifecycle: Library.Commands.JoinCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.JoinCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'join' del bot. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar. + More...

+
+Inheritance diagram for Library.Commands.JoinCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.JoinCommand:
+
+
+
+ + + + + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Implementa el comando 'join'. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar.
 
async Task ExecuteAsync ()
 Implementa el comando 'join'. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar.
 
+

Detailed Description

+

Esta clase implementa el comando 'join' del bot. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar.

+ +

Definition at line 11 of file JoinCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync() [1/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.JoinCommand.ExecuteAsync ()
+
+ +

Implementa el comando 'join'. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar.

+ +

Definition at line 20 of file JoinCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ ExecuteAsync() [2/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.JoinCommand.ExecuteAsync ()
+
+ +

Implementa el comando 'join'. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar.

+ +

Definition at line 20 of file JoinCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1JoinCommand.js b/docs/html/classLibrary_1_1Commands_1_1JoinCommand.js new file mode 100644 index 0000000..141f9a0 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1JoinCommand.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Commands_1_1JoinCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1JoinCommand.html#aa20b376619f55db3b80d51c603787598", null ], + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1JoinCommand.html#aa20b376619f55db3b80d51c603787598", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1JoinCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1JoinCommand__coll__graph.dot new file mode 100644 index 0000000..933b313 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1JoinCommand__coll__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.JoinCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.JoinCommand
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'join' del bot. Este comando une al jugador que envía el mensaje a l..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1JoinCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1JoinCommand__inherit__graph.dot new file mode 100644 index 0000000..933b313 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1JoinCommand__inherit__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.JoinCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.JoinCommand
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'join' del bot. Este comando une al jugador que envía el mensaje a l..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1JoinCommand_aa20b376619f55db3b80d51c603787598_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1JoinCommand_aa20b376619f55db3b80d51c603787598_cgraph.dot new file mode 100644 index 0000000..4c59088 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1JoinCommand_aa20b376619f55db3b80d51c603787598_cgraph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.JoinCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.JoinCommand.\lExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Implementa el comando 'join'. Este comando une al jugador que envía el mensaje a la lista de jugadore..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.AddPlayer\lToWaitingList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#ab8784ba49bab75ab95697412f7154c37",tooltip="Historia de usuario 9: Agrega un jugador a la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.AddPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252",tooltip="Agrega un jugador a la lista de espera."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node5 -> Node6 [id="edge5_Node000005_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node7 [id="edge6_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node7 -> Node6 [id="edge7_Node000007_Node000006",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1LeaveCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand-members.html new file mode 100644 index 0000000..c07be75 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand-members.html @@ -0,0 +1,116 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.LeaveCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.LeaveCommand, including all inherited members.

+ + + +
ExecuteAsync()Library.Commands.LeaveCommand
ExecuteAsync()Library.Commands.LeaveCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1LeaveCommand.html b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand.html new file mode 100644 index 0000000..c9a5fc5 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand.html @@ -0,0 +1,199 @@ + + + + + + + +Object Lifecycle: Library.Commands.LeaveCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.LeaveCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lista de jugadores esperando para jugar. + More...

+
+Inheritance diagram for Library.Commands.LeaveCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.LeaveCommand:
+
+
+
+ + + + + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lista de jugadores esperando para jugar.
 
async Task ExecuteAsync ()
 Implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lista de jugadores esperando para jugar.
 
+

Detailed Description

+

Esta clase implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lista de jugadores esperando para jugar.

+ +

Definition at line 11 of file LeaveCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync() [1/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.LeaveCommand.ExecuteAsync ()
+
+ +

Implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lista de jugadores esperando para jugar.

+ +

Definition at line 20 of file LeaveCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ ExecuteAsync() [2/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.LeaveCommand.ExecuteAsync ()
+
+ +

Implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lista de jugadores esperando para jugar.

+ +

Definition at line 20 of file LeaveCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1LeaveCommand.js b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand.js new file mode 100644 index 0000000..138fe61 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Commands_1_1LeaveCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1LeaveCommand.html#a7f1bf0c5e2d80619aba43d8e27ca3575", null ], + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1LeaveCommand.html#a7f1bf0c5e2d80619aba43d8e27ca3575", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1LeaveCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand__coll__graph.dot new file mode 100644 index 0000000..902d63f --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand__coll__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.LeaveCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.LeaveCommand
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaj..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1LeaveCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand__inherit__graph.dot new file mode 100644 index 0000000..902d63f --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand__inherit__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.LeaveCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.LeaveCommand
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaj..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1LeaveCommand_a7f1bf0c5e2d80619aba43d8e27ca3575_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand_a7f1bf0c5e2d80619aba43d8e27ca3575_cgraph.dot new file mode 100644 index 0000000..c9ff598 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1LeaveCommand_a7f1bf0c5e2d80619aba43d8e27ca3575_cgraph.dot @@ -0,0 +1,16 @@ +digraph "Library.Commands.LeaveCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.LeaveCommand.\lExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lis..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.RemovePlayer\lFromWaitingList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a722ee564dbd34c1e91462b7b69274ae4",tooltip="Historia de usuario 9.1: Remueve un jugador de la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Remove\lPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993",tooltip="Elimina un jugador de la lista de espera."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand-members.html new file mode 100644 index 0000000..6a06a1b --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand-members.html @@ -0,0 +1,118 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.PokemonNameCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.PokemonNameCommand, including all inherited members.

+ + + + + +
ExecuteAsync([Remainder][Summary("ID")] int id=0)Library.Commands.PokemonNameCommand
ExecuteAsync([Remainder][Summary("ID")] int id=0)Library.Commands.PokemonNameCommand
PokemonNameCommand(ILogger< PokemonNameCommand > logger)Library.Commands.PokemonNameCommand
PokemonNameCommand(ILogger< PokemonNameCommand > logger)Library.Commands.PokemonNameCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand.html b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand.html new file mode 100644 index 0000000..dcd4241 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand.html @@ -0,0 +1,262 @@ + + + + + + + +Object Lifecycle: Library.Commands.PokemonNameCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.PokemonNameCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'name' del bot. Este comando retorna el nombre de un Pokémon dado su identificador. + More...

+
+Inheritance diagram for Library.Commands.PokemonNameCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.PokemonNameCommand:
+
+
+
+ + + + + + + + + + + + + + +

+Public Member Functions

 PokemonNameCommand (ILogger< PokemonNameCommand > logger)
 Inicializa una nueva instancia de la clase PokemonNameCommand con los valores recibidos como argumento.
 
async Task ExecuteAsync ([Remainder][Summary("ID")] int id=0)
 Implementa el comando 'name'. Este comando retorna el nombre de un Pokémon dado su identificador.
 
 PokemonNameCommand (ILogger< PokemonNameCommand > logger)
 Inicializa una nueva instancia de la clase PokemonNameCommand con los valores recibidos como argumento.
 
async Task ExecuteAsync ([Remainder][Summary("ID")] int id=0)
 Implementa el comando 'name'. Este comando retorna el nombre de un Pokémon dado su identificador.
 
+

Detailed Description

+

Esta clase implementa el comando 'name' del bot. Este comando retorna el nombre de un Pokémon dado su identificador.

+ +

Definition at line 14 of file PokemonNameCommand.cs.

+

Constructor & Destructor Documentation

+ +

◆ PokemonNameCommand() [1/2]

+ +
+
+ + + + + + + +
Library.Commands.PokemonNameCommand.PokemonNameCommand (ILogger< PokemonNameCommand > logger)
+
+ +

Inicializa una nueva instancia de la clase PokemonNameCommand con los valores recibidos como argumento.

+
Parameters
+ + +
loggerEl servicio de logging a utilizar.
+
+
+ +

Definition at line 25 of file PokemonNameCommand.cs.

+ +
+
+ +

◆ PokemonNameCommand() [2/2]

+ +
+
+ + + + + + + +
Library.Commands.PokemonNameCommand.PokemonNameCommand (ILogger< PokemonNameCommand > logger)
+
+ +

Inicializa una nueva instancia de la clase PokemonNameCommand con los valores recibidos como argumento.

+
Parameters
+ + +
loggerEl servicio de logging a utilizar.
+
+
+ +

Definition at line 25 of file PokemonNameCommand.cs.

+ +
+
+

Member Function Documentation

+ +

◆ ExecuteAsync() [1/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.PokemonNameCommand.ExecuteAsync ([Summary("ID")] int id = 0)
+
+ +

Implementa el comando 'name'. Este comando retorna el nombre de un Pokémon dado su identificador.

+
Parameters
+ + +
idEl identificador del Pokémon a buscar.
+
+
+ +

Definition at line 42 of file PokemonNameCommand.cs.

+ +
+
+ +

◆ ExecuteAsync() [2/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.PokemonNameCommand.ExecuteAsync ([Summary("ID")] int id = 0)
+
+ +

Implementa el comando 'name'. Este comando retorna el nombre de un Pokémon dado su identificador.

+
Parameters
+ + +
idEl identificador del Pokémon a buscar.
+
+
+ +

Definition at line 42 of file PokemonNameCommand.cs.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand.js b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand.js new file mode 100644 index 0000000..5c132cd --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand.js @@ -0,0 +1,7 @@ +var classLibrary_1_1Commands_1_1PokemonNameCommand = +[ + [ "PokemonNameCommand", "classLibrary_1_1Commands_1_1PokemonNameCommand.html#aa7e4f79fe0a06e94fcbe255dab87c347", null ], + [ "PokemonNameCommand", "classLibrary_1_1Commands_1_1PokemonNameCommand.html#aa7e4f79fe0a06e94fcbe255dab87c347", null ], + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1PokemonNameCommand.html#acd205142adf45da4aa1d1c6d69574793", null ], + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1PokemonNameCommand.html#acd205142adf45da4aa1d1c6d69574793", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand__coll__graph.dot new file mode 100644 index 0000000..2738df5 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand__coll__graph.dot @@ -0,0 +1,27 @@ +digraph "Library.Commands.PokemonNameCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + +
Library.Commands.Pokemon
NameCommand
 
+PokemonNameCommand()
+ExecuteAsync()
+PokemonNameCommand()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'name' del bot. Este comando retorna el nombre de un Pokémon dado su..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand__inherit__graph.dot new file mode 100644 index 0000000..2738df5 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1PokemonNameCommand__inherit__graph.dot @@ -0,0 +1,27 @@ +digraph "Library.Commands.PokemonNameCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + +
Library.Commands.Pokemon
NameCommand
 
+PokemonNameCommand()
+ExecuteAsync()
+PokemonNameCommand()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'name' del bot. Este comando retorna el nombre de un Pokémon dado su..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand-members.html new file mode 100644 index 0000000..4ba2749 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.ShowAttacksCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.ShowAttacksCommand, including all inherited members.

+ + +
ExecuteAsync()Library.Commands.ShowAttacksCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand.html b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand.html new file mode 100644 index 0000000..b868572 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand.html @@ -0,0 +1,169 @@ + + + + + + + +Object Lifecycle: Library.Commands.ShowAttacksCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.ShowAttacksCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'showattacks' del bot. + More...

+
+Inheritance diagram for Library.Commands.ShowAttacksCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.ShowAttacksCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Muestra los ataques disponibles del Pokemon activo del jugador.
 
+

Detailed Description

+

Esta clase implementa el comando 'showattacks' del bot.

+ +

Definition at line 11 of file ShowAttacksCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.ShowAttacksCommand.ExecuteAsync ()
+
+ +

Muestra los ataques disponibles del Pokemon activo del jugador.

+ +

Definition at line 22 of file ShowAttacksCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand.js b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand.js new file mode 100644 index 0000000..b6d326d --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1ShowAttacksCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1ShowAttacksCommand.html#a6466a9979baa930d14799d06cf2eb72a", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand__coll__graph.dot new file mode 100644 index 0000000..5318f35 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ShowAttacksCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ShowAttacks
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'showattacks' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand__inherit__graph.dot new file mode 100644 index 0000000..5318f35 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ShowAttacksCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ShowAttacks
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'showattacks' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand_a6466a9979baa930d14799d06cf2eb72a_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand_a6466a9979baa930d14799d06cf2eb72a_cgraph.dot new file mode 100644 index 0000000..6aa6b7f --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowAttacksCommand_a6466a9979baa930d14799d06cf2eb72a_cgraph.dot @@ -0,0 +1,20 @@ +digraph "Library.Commands.ShowAttacksCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.ShowAttacks\lCommand.ExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Muestra los ataques disponibles del Pokemon activo del jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ShowAtacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a6734f40108ad2d62679d48933a14aefc",tooltip="Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Player.GetPokemon\lAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded",tooltip="Devuelve un string con los nombres de todos los ataques del pokemon activo."]; + Node5 -> Node6 [id="edge5_Node000005_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand-members.html new file mode 100644 index 0000000..132e6b4 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.ShowItemsCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.ShowItemsCommand, including all inherited members.

+ + +
ExecuteAsync()Library.Commands.ShowItemsCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand.html b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand.html new file mode 100644 index 0000000..19fb119 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand.html @@ -0,0 +1,169 @@ + + + + + + + +Object Lifecycle: Library.Commands.ShowItemsCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.ShowItemsCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'showitems' del bot. + More...

+
+Inheritance diagram for Library.Commands.ShowItemsCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.ShowItemsCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Muestra los items disponibles del jugador.
 
+

Detailed Description

+

Esta clase implementa el comando 'showitems' del bot.

+ +

Definition at line 11 of file ShowItemsCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.ShowItemsCommand.ExecuteAsync ()
+
+ +

Muestra los items disponibles del jugador.

+ +

Definition at line 22 of file ShowItemsCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand.js b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand.js new file mode 100644 index 0000000..476c4a7 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1ShowItemsCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1ShowItemsCommand.html#a6756f4952cbc7fb519b1ab6eeb202425", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand__coll__graph.dot new file mode 100644 index 0000000..b553c56 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ShowItemsCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ShowItems
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'showitems' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand__inherit__graph.dot new file mode 100644 index 0000000..b553c56 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ShowItemsCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.ShowItems
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'showitems' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand_a6756f4952cbc7fb519b1ab6eeb202425_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand_a6756f4952cbc7fb519b1ab6eeb202425_cgraph.dot new file mode 100644 index 0000000..69f645c --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1ShowItemsCommand_a6756f4952cbc7fb519b1ab6eeb202425_cgraph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.ShowItemsCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.ShowItems\lCommand.ExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Muestra los items disponibles del jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#ad549661271bb9a21203fac96721c0fa2",tooltip="Muestra los items del jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node5 -> Node4 [id="edge5_Node000005_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node6 [id="edge6_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Player.GetItemList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a2150b3552c081b27d259d0928de09668",tooltip="Devuelve la lista de items del jugador."]; + Node2 -> Node7 [id="edge7_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Player.ItemCount",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#ad1de9088eb192fd7951de1bcc3327213",tooltip="Se encarga de determinar la cantidad de instancias de un item que tiene el jugador en su lista de ite..."]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand-members.html new file mode 100644 index 0000000..9c315fd --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.SurrenderCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.SurrenderCommand, including all inherited members.

+ + +
ExecuteAsync()Library.Commands.SurrenderCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand.html b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand.html new file mode 100644 index 0000000..73c3eec --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand.html @@ -0,0 +1,169 @@ + + + + + + + +Object Lifecycle: Library.Commands.SurrenderCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.SurrenderCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'surrender' del bot. + More...

+
+Inheritance diagram for Library.Commands.SurrenderCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.SurrenderCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Termina la partida en curso dandole la victoria al oponente.
 
+

Detailed Description

+

Esta clase implementa el comando 'surrender' del bot.

+ +

Definition at line 11 of file SurrenderCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.SurrenderCommand.ExecuteAsync ()
+
+ +

Termina la partida en curso dandole la victoria al oponente.

+ +

Definition at line 22 of file SurrenderCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand.js b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand.js new file mode 100644 index 0000000..6c4a642 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1SurrenderCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1SurrenderCommand.html#a0c2a380d2d4324b1ae2b0994094c948a", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand__coll__graph.dot new file mode 100644 index 0000000..a537181 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.SurrenderCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.Surrender
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'surrender' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand__inherit__graph.dot new file mode 100644 index 0000000..a537181 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.SurrenderCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.Surrender
Command
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'surrender' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand_a0c2a380d2d4324b1ae2b0994094c948a_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand_a0c2a380d2d4324b1ae2b0994094c948a_cgraph.dot new file mode 100644 index 0000000..4af72da --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1SurrenderCommand_a0c2a380d2d4324b1ae2b0994094c948a_cgraph.dot @@ -0,0 +1,22 @@ +digraph "Library.Commands.SurrenderCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.Surrender\lCommand.ExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Termina la partida en curso dandole la victoria al oponente."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.Surrender",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a4da326581139b7ba8ec08003e30b7b14",tooltip="Elimina la partida de la lista de partidas em curso."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node5 -> Node4 [id="edge5_Node000005_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node4 [id="edge6_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node6 [id="edge7_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1UseCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1UseCommand-members.html new file mode 100644 index 0000000..0827215 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UseCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.UseCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.UseCommand, including all inherited members.

+ + +
ExecuteAsync([Remainder][Summary("Nombre del item a usar y del Pokemon a ser beneficiado concatenados")] string itemAndPokemonName)Library.Commands.UseCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1UseCommand.html b/docs/html/classLibrary_1_1Commands_1_1UseCommand.html new file mode 100644 index 0000000..250be49 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UseCommand.html @@ -0,0 +1,175 @@ + + + + + + + +Object Lifecycle: Library.Commands.UseCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.UseCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'use' del bot. + More...

+
+Inheritance diagram for Library.Commands.UseCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.UseCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Nombre del item a usar y del Pokemon a ser beneficiado concatenados")] string itemAndPokemonName)
 Envía a la fachada un mensaje con el item a usar y el Pokemons que se verá beneficiado.
 
+

Detailed Description

+

Esta clase implementa el comando 'use' del bot.

+ +

Definition at line 11 of file UseCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Library.Commands.UseCommand.ExecuteAsync ([Summary("Nombre del item a usar y del Pokemon a ser beneficiado concatenados")] string itemAndPokemonName)
+
+ +

Envía a la fachada un mensaje con el item a usar y el Pokemons que se verá beneficiado.

+
Parameters
+ + +
itemAndPokemonNameNombre de Pokemon a ser beneficiado y del item a utilizar concatenados.
+
+
+ +

Definition at line 25 of file UseCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1UseCommand.js b/docs/html/classLibrary_1_1Commands_1_1UseCommand.js new file mode 100644 index 0000000..561a530 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UseCommand.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Commands_1_1UseCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1UseCommand.html#adbca94b51c1373b97987dda45869481b", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1UseCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1UseCommand__coll__graph.dot new file mode 100644 index 0000000..296f5fc --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UseCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.UseCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.UseCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'use' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1UseCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1UseCommand__inherit__graph.dot new file mode 100644 index 0000000..296f5fc --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UseCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Commands.UseCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Commands.UseCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'use' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1UseCommand_adbca94b51c1373b97987dda45869481b_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1UseCommand_adbca94b51c1373b97987dda45869481b_cgraph.dot new file mode 100644 index 0000000..ea02c5a --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UseCommand_adbca94b51c1373b97987dda45869481b_cgraph.dot @@ -0,0 +1,27 @@ +digraph "Library.Commands.UseCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.UseCommand.\lExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Envía a la fachada un mensaje con el item a usar y el Pokemons que se verá beneficiado."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.UseAnItem",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a95c0e8427585bfbc9cdd72b9accb92aa",tooltip="Historia de usuario 8 Permite a un jugador usar un item en un Pokemon."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Player.FindItem",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a16305aed363ffcf597644f27c1d6f76e",tooltip="Devuelve un item de la lista de items buscandolo por su nombre."]; + Node2 -> Node6 [id="edge5_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node6 -> Node4 [id="edge6_Node000006_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node2 -> Node7 [id="edge7_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Player.FindPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4",tooltip="Devuelve un pokemon de la lista del jugador buscandolo por el nombre."]; + Node2 -> Node8 [id="edge8_Node000002_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.Game.UseItem",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a35db53b070d4c81bbc40b9a10ffdeede",tooltip="Permite que un jugador use un item en un Pokemon específico de su equipo, verificando la validez del ..."]; + Node8 -> Node9 [id="edge9_Node000008_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="Library.IItem.Use",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1IItem.html#a4329d015044ee4837cb2ebd63727f272",tooltip="Utiliza el item sobre un pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand-members.html new file mode 100644 index 0000000..7f4e8c3 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand-members.html @@ -0,0 +1,116 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.UserInfoCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.UserInfoCommand, including all inherited members.

+ + + +
ExecuteAsync([Remainder][Summary("El usuario del que tener información, opcional")] string? displayName=null)Library.Commands.UserInfoCommand
ExecuteAsync([Remainder][Summary("El usuario del que tener información, opcional")] string? displayName=null)Library.Commands.UserInfoCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand.html b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand.html new file mode 100644 index 0000000..018f2d2 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand.html @@ -0,0 +1,201 @@ + + + + + + + +Object Lifecycle: Library.Commands.UserInfoCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.UserInfoCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'userinfo', alias 'who' o 'whois' del bot. Este comando retorna información sobre el usuario que envía el mensaje o sobre otro usuario si se incluye como parámetro.. + More...

+
+Inheritance diagram for Library.Commands.UserInfoCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.UserInfoCommand:
+
+
+
+ + + + + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("El usuario del que tener información, opcional")] string? displayName=null)
 Implementa el comando 'userinfo', alias 'who' o 'whois' del bot.
 
async Task ExecuteAsync ([Remainder][Summary("El usuario del que tener información, opcional")] string? displayName=null)
 Implementa el comando 'userinfo', alias 'who' o 'whois' del bot.
 
+

Detailed Description

+

Esta clase implementa el comando 'userinfo', alias 'who' o 'whois' del bot. Este comando retorna información sobre el usuario que envía el mensaje o sobre otro usuario si se incluye como parámetro..

+ +

Definition at line 13 of file UserInfoCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync() [1/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.UserInfoCommand.ExecuteAsync ([Summary("El usuario del que tener información, opcional")] string? displayName = null)
+
+ +

Implementa el comando 'userinfo', alias 'who' o 'whois' del bot.

+
Parameters
+ + +
displayNameEl nombre de usuario de Discord a buscar.
+
+
+ +

Definition at line 26 of file UserInfoCommand.cs.

+ +
+
+ +

◆ ExecuteAsync() [2/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.UserInfoCommand.ExecuteAsync ([Summary("El usuario del que tener información, opcional")] string? displayName = null)
+
+ +

Implementa el comando 'userinfo', alias 'who' o 'whois' del bot.

+
Parameters
+ + +
displayNameEl nombre de usuario de Discord a buscar.
+
+
+ +

Definition at line 26 of file UserInfoCommand.cs.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand.js b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand.js new file mode 100644 index 0000000..398ad90 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Commands_1_1UserInfoCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1UserInfoCommand.html#a4b273671d6b580cd309f6ded8384f7bc", null ], + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1UserInfoCommand.html#a4b273671d6b580cd309f6ded8384f7bc", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand__coll__graph.dot new file mode 100644 index 0000000..859aa74 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand__coll__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.UserInfoCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.UserInfo
Command
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'userinfo', alias 'who' o 'whois' del bot. Este comando retorna info..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand__inherit__graph.dot new file mode 100644 index 0000000..859aa74 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1UserInfoCommand__inherit__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.UserInfoCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.UserInfo
Command
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'userinfo', alias 'who' o 'whois' del bot. Este comando retorna info..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1WaitingCommand-members.html b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand-members.html new file mode 100644 index 0000000..efc05be --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand-members.html @@ -0,0 +1,116 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Commands.WaitingCommand Member List
+
+
+ +

This is the complete list of members for Library.Commands.WaitingCommand, including all inherited members.

+ + + +
ExecuteAsync()Library.Commands.WaitingCommand
ExecuteAsync()Library.Commands.WaitingCommand
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1WaitingCommand.html b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand.html new file mode 100644 index 0000000..2463a11 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand.html @@ -0,0 +1,199 @@ + + + + + + + +Object Lifecycle: Library.Commands.WaitingCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands.WaitingCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'waitinglist' del bot. Este comando muestra la lista de jugadores esperando para jugar. + More...

+
+Inheritance diagram for Library.Commands.WaitingCommand:
+
+
+
+
+Collaboration diagram for Library.Commands.WaitingCommand:
+
+
+
+ + + + + + + + +

+Public Member Functions

async Task ExecuteAsync ()
 Implementa el comando 'waitinglist'. Este comando muestra la lista de jugadores esperando para jugar.
 
async Task ExecuteAsync ()
 Implementa el comando 'waitinglist'. Este comando muestra la lista de jugadores esperando para jugar.
 
+

Detailed Description

+

Esta clase implementa el comando 'waitinglist' del bot. Este comando muestra la lista de jugadores esperando para jugar.

+ +

Definition at line 11 of file WaitingCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync() [1/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.WaitingCommand.ExecuteAsync ()
+
+ +

Implementa el comando 'waitinglist'. Este comando muestra la lista de jugadores esperando para jugar.

+ +

Definition at line 20 of file WaitingCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ ExecuteAsync() [2/2]

+ +
+
+ + + + + + + +
async Task Library.Commands.WaitingCommand.ExecuteAsync ()
+
+ +

Implementa el comando 'waitinglist'. Este comando muestra la lista de jugadores esperando para jugar.

+ +

Definition at line 20 of file WaitingCommand.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Commands_1_1WaitingCommand.js b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand.js new file mode 100644 index 0000000..91b6835 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Commands_1_1WaitingCommand = +[ + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1WaitingCommand.html#a4222829d8068ad03a5b349c87ec34860", null ], + [ "ExecuteAsync", "classLibrary_1_1Commands_1_1WaitingCommand.html#a4222829d8068ad03a5b349c87ec34860", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Commands_1_1WaitingCommand__coll__graph.dot b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand__coll__graph.dot new file mode 100644 index 0000000..baa8c62 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand__coll__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.WaitingCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.Waiting
Command
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'waitinglist' del bot. Este comando muestra la lista de jugadores es..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1WaitingCommand__inherit__graph.dot b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand__inherit__graph.dot new file mode 100644 index 0000000..baa8c62 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand__inherit__graph.dot @@ -0,0 +1,25 @@ +digraph "Library.Commands.WaitingCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Commands.Waiting
Command
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'waitinglist' del bot. Este comando muestra la lista de jugadores es..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classLibrary_1_1Commands_1_1WaitingCommand_a4222829d8068ad03a5b349c87ec34860_cgraph.dot b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand_a4222829d8068ad03a5b349c87ec34860_cgraph.dot new file mode 100644 index 0000000..1a3ffd4 --- /dev/null +++ b/docs/html/classLibrary_1_1Commands_1_1WaitingCommand_a4222829d8068ad03a5b349c87ec34860_cgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Commands.WaitingCommand.ExecuteAsync" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Commands.Waiting\lCommand.ExecuteAsync",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Implementa el comando 'waitinglist'. Este comando muestra la lista de jugadores esperando para jugar."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.GetAllPlayers\lWaiting",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a5d257ae6bf3f4c69a6d1c7a78adcd48c",tooltip="Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.GetWaitingList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027",tooltip="Devuelve la lista de jugadores en espera."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator-members.html b/docs/html/classLibrary_1_1DamageCalculator-members.html new file mode 100644 index 0000000..aa59f28 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator-members.html @@ -0,0 +1,124 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.DamageCalculator Member List
+
+
+ +

This is the complete list of members for Library.DamageCalculator, including all inherited members.

+ + + + + + + + + + + +
CalculateDamage(Pokemon attackedPokemon, Attack attack)Library.DamageCalculatorstatic
CalculateDamage(Pokemon attackedPokemon, Attack attack, Player attackedPlayer)Library.DamageCalculator
CriticalCheck()Library.DamageCalculatorstatic
CriticalCheck()Library.DamageCalculator
DamageCalculator()Library.DamageCalculator
GetEffectivness(Type type, List< Type > types)Library.DamageCalculatorstatic
GetEffectivness(Type type, List< Type > types)Library.DamageCalculator
SetCritCheckStategy(IStrategyCritCheck strategy)Library.DamageCalculator
SpecialCheck(Pokemon attackedPokemon, Attack attack)Library.DamageCalculatorstatic
SpecialCheck(Pokemon attackedPokemon, Attack attack)Library.DamageCalculator
+
+ + + + diff --git a/docs/html/classLibrary_1_1DamageCalculator.html b/docs/html/classLibrary_1_1DamageCalculator.html new file mode 100644 index 0000000..58e387c --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator.html @@ -0,0 +1,552 @@ + + + + + + + +Object Lifecycle: Library.DamageCalculator Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.DamageCalculator Class Reference
+
+
+ +

Es una clase a la cual le delegamos la función de calcular el daño para aplicar SRP así game tiene una única responsabilidad Es la clase Experta al momento de calcular daño. + More...

+
+Collaboration diagram for Library.DamageCalculator:
+
+
+
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 DamageCalculator ()
 Contstructor de la clase DamageCalculator. Aplica el patrón Grasp Creator al asignar una estrategia predefinida.
 
double GetEffectivness (Type type, List< Type > types)
 Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon.
 
double CriticalCheck ()
 Determina si un ataque resulta en un golpe crítico basado en la estrategia que esté utilizando.
 
string SpecialCheck (Pokemon attackedPokemon, Attack attack)
 Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el Pokemon no tenga ya otro efecto.
 
string CalculateDamage (Pokemon attackedPokemon, Attack attack, Player attackedPlayer)
 Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque, la efectividad de tipos y la probabilidad de golpe crítico, además de revisar si se trata de un ataque especial.
 
void SetCritCheckStategy (IStrategyCritCheck strategy)
 Asigna una estrategia para el cálculo de daño crítico.
 
+ + + + + + + + + + + + + +

+Static Public Member Functions

static double GetEffectivness (Type type, List< Type > types)
 Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon.
 
static double CriticalCheck ()
 Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria.
 
static void SpecialCheck (Pokemon attackedPokemon, Attack attack)
 Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el Pokemon no tenga ya otro efecto.
 
static double CalculateDamage (Pokemon attackedPokemon, Attack attack)
 Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque, la efectividad de tipos y la probabilidad de golpe crítico, además de revisar si se trata de un ataque especial.
 
+

Detailed Description

+

Es una clase a la cual le delegamos la función de calcular el daño para aplicar SRP así game tiene una única responsabilidad Es la clase Experta al momento de calcular daño.

+ +

Definition at line 13 of file DamageCalculator.cs.

+

Constructor & Destructor Documentation

+ +

◆ DamageCalculator()

+ +
+
+ + + + + + + +
Library.DamageCalculator.DamageCalculator ()
+
+ +

Contstructor de la clase DamageCalculator. Aplica el patrón Grasp Creator al asignar una estrategia predefinida.

+ +

Definition at line 132 of file DamageCalculator.cs.

+ +
+
+

Member Function Documentation

+ +

◆ CalculateDamage() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + +
static double Library.DamageCalculator.CalculateDamage (Pokemon attackedPokemon,
Attack attack )
+
+static
+
+ +

Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque, la efectividad de tipos y la probabilidad de golpe crítico, además de revisar si se trata de un ataque especial.

+
Parameters
+ + + +
attackedPokemonEl Pokemon que recibe el ataque.
attackEl ataque que se está ejecutando.
+
+
+
Returns
El daño calculado como un double. Devuelve 0.0 si el ataque falla.
+ +

Definition at line 198 of file DamageCalculator.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ CalculateDamage() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + +
string Library.DamageCalculator.CalculateDamage (Pokemon attackedPokemon,
Attack attack,
Player attackedPlayer )
+
+ +

Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque, la efectividad de tipos y la probabilidad de golpe crítico, además de revisar si se trata de un ataque especial.

+
Parameters
+ + + +
attackedPokemonEl Pokemon que recibe el ataque.
attackEl ataque que se está ejecutando.
+
+
+
Returns
El daño calculado como un double. Devuelve 0.0 si el ataque falla.
+ +

Definition at line 213 of file DamageCalculator.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ CriticalCheck() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
static double Library.DamageCalculator.CriticalCheck ()
+
+static
+
+ +

Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria.

+
Returns
Un valor double: 1.20 si el ataque es crítico (10% de probabilidad), o 1.0 si no es crítico.
+


+

+ +

Definition at line 160 of file DamageCalculator.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ CriticalCheck() [2/2]

+ +
+
+ + + + + + + +
double Library.DamageCalculator.CriticalCheck ()
+
+ +

Determina si un ataque resulta en un golpe crítico basado en la estrategia que esté utilizando.

+
Returns
Un valor double: 1.20 si el ataque es crítico (10% de probabilidad al usar la estrategia de daño random), o 1.0 si no es crítico.
+


+

+ +

Definition at line 171 of file DamageCalculator.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ GetEffectivness() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + +
static double Library.DamageCalculator.GetEffectivness (Type type,
List< Type > types )
+
+static
+
+ +

Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon.

+
Parameters
+ + + +
typeEl tipo del ataque.
typesUna lista de los tipos del Pokemon objetivo.
+
+
+
Returns
Valor double indicando el factor de efectividad del ataque. 2.0 para súperefectivo, 0.5 para poco efectivo, 0.0 si no tiene efecto, y 1.0 si no hay una relación específica.
+ +

Definition at line 134 of file DamageCalculator.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ GetEffectivness() [2/2]

+ +
+
+ + + + + + + + + + + +
double Library.DamageCalculator.GetEffectivness (Type type,
List< Type > types )
+
+ +

Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon.

+
Parameters
+ + + +
typeEl tipo del ataque.
typesUna lista de los tipos del Pokemon objetivo.
+
+
+
Returns
Valor double indicando el factor de efectividad del ataque. 2.0 para súperefectivo, 0.5 para poco efectivo, 0.0 si no tiene efecto, y 1.0 si no hay una relación específica.
+ +

Definition at line 146 of file DamageCalculator.cs.

+ +
+
+ +

◆ SetCritCheckStategy()

+ +
+
+ + + + + + + +
void Library.DamageCalculator.SetCritCheckStategy (IStrategyCritCheck strategy)
+
+ +

Asigna una estrategia para el cálculo de daño crítico.

+
Parameters
+ + +
strategyEstrategia a asignar
+
+
+ +

Definition at line 270 of file DamageCalculator.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ SpecialCheck() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + +
static void Library.DamageCalculator.SpecialCheck (Pokemon attackedPokemon,
Attack attack )
+
+static
+
+ +

Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el Pokemon no tenga ya otro efecto.

+
Parameters
+ + + +
attackedPokemonEl Pokemon que recibe el ataque.
attackEl ataque ejecutado.
+
+
+

Si el ataque es un SpecialAttack y el Pokemon objetivo no tiene un estado actual, se aplica el efecto especial del ataque y se setea su cooldown.

+ +

Definition at line 179 of file DamageCalculator.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ SpecialCheck() [2/2]

+ +
+
+ + + + + + + + + + + +
string Library.DamageCalculator.SpecialCheck (Pokemon attackedPokemon,
Attack attack )
+
+ +

Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el Pokemon no tenga ya otro efecto.

+
Parameters
+ + + +
attackedPokemonEl Pokemon que recibe el ataque.
attackEl ataque ejecutado.
+
+
+

Si el ataque es un SpecialAttack y el Pokemon objetivo no tiene un estado actual, se aplica el efecto especial del ataque y se setea su cooldown.

+ +

Definition at line 184 of file DamageCalculator.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1DamageCalculator.js b/docs/html/classLibrary_1_1DamageCalculator.js new file mode 100644 index 0000000..ae2c1b2 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator.js @@ -0,0 +1,9 @@ +var classLibrary_1_1DamageCalculator = +[ + [ "DamageCalculator", "classLibrary_1_1DamageCalculator.html#af66d9c27e30f3129ec3a32aab9482df8", null ], + [ "CalculateDamage", "classLibrary_1_1DamageCalculator.html#a441bd820eda5da6d69edcc4e5b7d8752", null ], + [ "CriticalCheck", "classLibrary_1_1DamageCalculator.html#a89e81852f3b95bd2aadc9644c50b7364", null ], + [ "GetEffectivness", "classLibrary_1_1DamageCalculator.html#a8a2ef5388c2d37d86a3f37c6bb02f6c0", null ], + [ "SetCritCheckStategy", "classLibrary_1_1DamageCalculator.html#af28970536542db6f844927c0518e0eb5", null ], + [ "SpecialCheck", "classLibrary_1_1DamageCalculator.html#a5685a1add3420618f3b27f1e2f5ff622", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1DamageCalculator__coll__graph.dot b/docs/html/classLibrary_1_1DamageCalculator__coll__graph.dot new file mode 100644 index 0000000..fbe275b --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator__coll__graph.dot @@ -0,0 +1,26 @@ +digraph "Library.DamageCalculator" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ + + +
+ + + + + + + + + + +
Library.DamageCalculator
+EffectivnessDataBase
+StrategyCritCheck
+EffectivnessDataBase
+DamageCalculator()
+GetEffectivness()
+CriticalCheck()
+SpecialCheck()
+CalculateDamage()
+SetCritCheckStategy()
+GetEffectivness()
+CriticalCheck()
+SpecialCheck()
+CalculateDamage()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Es una clase a la cual le delegamos la función de calcular el daño para aplicar SRP así game tiene un..."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_a0684bc36799bc6bc3b46780b7263e60d_cgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_a0684bc36799bc6bc3b46780b7263e60d_cgraph.dot new file mode 100644 index 0000000..93d0745 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_a0684bc36799bc6bc3b46780b7263e60d_cgraph.dot @@ -0,0 +1,20 @@ +digraph "Library.DamageCalculator.CalculateDamage" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lCriticalCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3a2f89d68ff61105914612a5c1fdcae3",tooltip="Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.DamageCalculator.\lGetEffectivness",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a984d17ac844873844f080b61bd9d93be",tooltip="Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3ac5d47b8a7ebd067ef03b81c8907802",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; + Node5 -> Node6 [id="edge5_Node000005_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_a0684bc36799bc6bc3b46780b7263e60d_icgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_a0684bc36799bc6bc3b46780b7263e60d_icgraph.dot new file mode 100644 index 0000000..a903007 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_a0684bc36799bc6bc3b46780b7263e60d_icgraph.dot @@ -0,0 +1,48 @@ +digraph "Library.DamageCalculator.CalculateDamage" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node3 -> Node5 [id="edge4_Node000003_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node3 -> Node6 [id="edge5_Node000003_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node3 -> Node7 [id="edge6_Node000003_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node3 -> Node8 [id="edge7_Node000003_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node3 -> Node9 [id="edge8_Node000003_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node3 -> Node10 [id="edge9_Node000003_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node3 -> Node11 [id="edge10_Node000003_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node3 -> Node12 [id="edge11_Node000003_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node3 -> Node13 [id="edge12_Node000003_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node3 -> Node14 [id="edge13_Node000003_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node3 -> Node15 [id="edge14_Node000003_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node3 -> Node16 [id="edge15_Node000003_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node2 -> Node17 [id="edge16_Node000002_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.GameTest.Test\lWinnerPlayer1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#a57bf287b4709e4ead91451a31c009692",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node2 -> Node18 [id="edge17_Node000002_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.GameTest.Test\lWinnerPlayer2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#aa81b288826686b2b502032d0973b517f",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node1 -> Node19 [id="edge18_Node000001_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25142733833a36fd79da48c53e80f225",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node1 -> Node20 [id="edge19_Node000001_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="LibraryTests.SpecialAttack\lTest.TestSpecialAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8",tooltip="Test de ataque especial."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_a3a2f89d68ff61105914612a5c1fdcae3_icgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_a3a2f89d68ff61105914612a5c1fdcae3_icgraph.dot new file mode 100644 index 0000000..95cc7f3 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_a3a2f89d68ff61105914612a5c1fdcae3_icgraph.dot @@ -0,0 +1,52 @@ +digraph "Library.DamageCalculator.CriticalCheck" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lCriticalCheck",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node4 -> Node6 [id="edge5_Node000004_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node4 -> Node7 [id="edge6_Node000004_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node4 -> Node8 [id="edge7_Node000004_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node4 -> Node9 [id="edge8_Node000004_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node4 -> Node10 [id="edge9_Node000004_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node4 -> Node11 [id="edge10_Node000004_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node12 [id="edge11_Node000004_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node13 [id="edge12_Node000004_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node4 -> Node14 [id="edge13_Node000004_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node15 [id="edge14_Node000004_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node4 -> Node16 [id="edge15_Node000004_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node4 -> Node17 [id="edge16_Node000004_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node3 -> Node18 [id="edge17_Node000003_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.GameTest.Test\lWinnerPlayer1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#a57bf287b4709e4ead91451a31c009692",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node3 -> Node19 [id="edge18_Node000003_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.GameTest.Test\lWinnerPlayer2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#aa81b288826686b2b502032d0973b517f",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node2 -> Node20 [id="edge19_Node000002_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25142733833a36fd79da48c53e80f225",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node2 -> Node21 [id="edge20_Node000002_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.SpecialAttack\lTest.TestSpecialAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8",tooltip="Test de ataque especial."]; + Node1 -> Node22 [id="edge21_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a441bd820eda5da6d69edcc4e5b7d8752",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_a3ac5d47b8a7ebd067ef03b81c8907802_cgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_a3ac5d47b8a7ebd067ef03b81c8907802_cgraph.dot new file mode 100644 index 0000000..08c6be1 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_a3ac5d47b8a7ebd067ef03b81c8907802_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.DamageCalculator.SpecialCheck" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_a3ac5d47b8a7ebd067ef03b81c8907802_icgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_a3ac5d47b8a7ebd067ef03b81c8907802_icgraph.dot new file mode 100644 index 0000000..37b8d40 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_a3ac5d47b8a7ebd067ef03b81c8907802_icgraph.dot @@ -0,0 +1,52 @@ +digraph "Library.DamageCalculator.SpecialCheck" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node4 -> Node6 [id="edge5_Node000004_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node4 -> Node7 [id="edge6_Node000004_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node4 -> Node8 [id="edge7_Node000004_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node4 -> Node9 [id="edge8_Node000004_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node4 -> Node10 [id="edge9_Node000004_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node4 -> Node11 [id="edge10_Node000004_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node12 [id="edge11_Node000004_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node13 [id="edge12_Node000004_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node4 -> Node14 [id="edge13_Node000004_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node15 [id="edge14_Node000004_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node4 -> Node16 [id="edge15_Node000004_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node4 -> Node17 [id="edge16_Node000004_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node3 -> Node18 [id="edge17_Node000003_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.GameTest.Test\lWinnerPlayer1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#a57bf287b4709e4ead91451a31c009692",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node3 -> Node19 [id="edge18_Node000003_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.GameTest.Test\lWinnerPlayer2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#aa81b288826686b2b502032d0973b517f",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node2 -> Node20 [id="edge19_Node000002_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25142733833a36fd79da48c53e80f225",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node2 -> Node21 [id="edge20_Node000002_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.SpecialAttack\lTest.TestSpecialAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8",tooltip="Test de ataque especial."]; + Node1 -> Node22 [id="edge21_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a441bd820eda5da6d69edcc4e5b7d8752",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_a441bd820eda5da6d69edcc4e5b7d8752_cgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_a441bd820eda5da6d69edcc4e5b7d8752_cgraph.dot new file mode 100644 index 0000000..8d9beeb --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_a441bd820eda5da6d69edcc4e5b7d8752_cgraph.dot @@ -0,0 +1,24 @@ +digraph "Library.DamageCalculator.CalculateDamage" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lCriticalCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3a2f89d68ff61105914612a5c1fdcae3",tooltip="Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.DamageCalculator.\lGetEffectivness",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a984d17ac844873844f080b61bd9d93be",tooltip="Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Player.SetActive\lPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a1dc483f61f95351bd3266c5f9663bfb1",tooltip="Cambia el pokemon activo si está vivo."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3ac5d47b8a7ebd067ef03b81c8907802",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; + Node6 -> Node7 [id="edge6_Node000006_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; + Node1 -> Node8 [id="edge7_Node000001_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.Pokemon.TakeDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5",tooltip="Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta...."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_a5685a1add3420618f3b27f1e2f5ff622_cgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_a5685a1add3420618f3b27f1e2f5ff622_cgraph.dot new file mode 100644 index 0000000..cd6c286 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_a5685a1add3420618f3b27f1e2f5ff622_cgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.DamageCalculator.SpecialCheck" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Pokemon.SetAsleep\lTurns",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a1f220939df23a443793d4ba26e39ee2f",tooltip="Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_a89e81852f3b95bd2aadc9644c50b7364_cgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_a89e81852f3b95bd2aadc9644c50b7364_cgraph.dot new file mode 100644 index 0000000..50aea51 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_a89e81852f3b95bd2aadc9644c50b7364_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.DamageCalculator.CriticalCheck" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lCriticalCheck",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Determina si un ataque resulta en un golpe crítico basado en la estrategia que esté utilizando."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Strategies.IStrategy\lCritCheck.CriticalCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html#aff67cf04282f5bb52593bd366ae6d2a2",tooltip="Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su ..."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_a984d17ac844873844f080b61bd9d93be_icgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_a984d17ac844873844f080b61bd9d93be_icgraph.dot new file mode 100644 index 0000000..7905056 --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_a984d17ac844873844f080b61bd9d93be_icgraph.dot @@ -0,0 +1,52 @@ +digraph "Library.DamageCalculator.GetEffectivness" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lGetEffectivness",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node4 -> Node6 [id="edge5_Node000004_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node4 -> Node7 [id="edge6_Node000004_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node4 -> Node8 [id="edge7_Node000004_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node4 -> Node9 [id="edge8_Node000004_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node4 -> Node10 [id="edge9_Node000004_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node4 -> Node11 [id="edge10_Node000004_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node12 [id="edge11_Node000004_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node13 [id="edge12_Node000004_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node4 -> Node14 [id="edge13_Node000004_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node15 [id="edge14_Node000004_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node4 -> Node16 [id="edge15_Node000004_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node4 -> Node17 [id="edge16_Node000004_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node3 -> Node18 [id="edge17_Node000003_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.GameTest.Test\lWinnerPlayer1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#a57bf287b4709e4ead91451a31c009692",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node3 -> Node19 [id="edge18_Node000003_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.GameTest.Test\lWinnerPlayer2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#aa81b288826686b2b502032d0973b517f",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node2 -> Node20 [id="edge19_Node000002_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25142733833a36fd79da48c53e80f225",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node2 -> Node21 [id="edge20_Node000002_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.SpecialAttack\lTest.TestSpecialAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8",tooltip="Test de ataque especial."]; + Node1 -> Node22 [id="edge21_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a441bd820eda5da6d69edcc4e5b7d8752",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; +} diff --git a/docs/html/classLibrary_1_1DamageCalculator_af28970536542db6f844927c0518e0eb5_icgraph.dot b/docs/html/classLibrary_1_1DamageCalculator_af28970536542db6f844927c0518e0eb5_icgraph.dot new file mode 100644 index 0000000..463b3db --- /dev/null +++ b/docs/html/classLibrary_1_1DamageCalculator_af28970536542db6f844927c0518e0eb5_icgraph.dot @@ -0,0 +1,18 @@ +digraph "Library.DamageCalculator.SetCritCheckStategy" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.DamageCalculator.\lSetCritCheckStategy",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Asigna una estrategia para el cálculo de daño crítico."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.SetDamageCalculator\lStrategy",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a77f6da1303c22a2e9318018ae687da41",tooltip="Permite cambiar la estrategia que contiene la calculadora de daño, solo se usa en los tests."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Facade.EditDamage\lCalculatorStrategy",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a9809b5935c0b49409da62958cd65b597",tooltip="Este método se encarga de cambiar la estrategia asignada en la calculadora de daño...."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node3 -> Node5 [id="edge4_Node000003_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; +} diff --git a/docs/html/classLibrary_1_1Dragonite-members.html b/docs/html/classLibrary_1_1Dragonite-members.html new file mode 100644 index 0000000..83d4e77 --- /dev/null +++ b/docs/html/classLibrary_1_1Dragonite-members.html @@ -0,0 +1,140 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Dragonite Member List
+
+
+ +

This is the complete list of members for Library.Dragonite, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddAttack(IAttack attack)Library.Pokemon
AddAttack(IAttack attack)Library.Pokemon
AsleepTurnsLibrary.Pokemon
BaseLifeLibrary.Pokemon
CurrentLifeLibrary.Pokemon
CurrentStateLibrary.Pokemon
Dragonite()Library.Dragonite
EditState(State? state)Library.Pokemon
EditState(State? state)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
GainLife(double hp)Library.Pokemon
GainLife(double hp)Library.Pokemon
GetAttacks()Library.Pokemon
GetAttacks()Library.Pokemon
GetLife()Library.Pokemon
GetLife()Library.Pokemon
GetTypes()Library.Pokemon
GetTypes()Library.Pokemon
Instance()Library.Dragonite
NameLibrary.Pokemon
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
SetAsleepTurns()Library.Pokemon
TakeDamage(double damage)Library.Pokemon
TakeDamage(double damage)Library.Pokemon
+
+ + + + diff --git a/docs/html/classLibrary_1_1Dragonite.html b/docs/html/classLibrary_1_1Dragonite.html new file mode 100644 index 0000000..696d01a --- /dev/null +++ b/docs/html/classLibrary_1_1Dragonite.html @@ -0,0 +1,290 @@ + + + + + + + +Object Lifecycle: Library.Dragonite Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Dragonite Class Reference
+
+
+ +

Esta clase representa el Pokemon Dragonite. Al ser un Pokemon hereda de la clase Pokemon. + More...

+
+Inheritance diagram for Library.Dragonite:
+
+
+
+
+Collaboration diagram for Library.Dragonite:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Dragonite ()
 Constructor de Dragonite, implementa el patron GRASP creator.
 
override Pokemon Instance ()
 Este método retorna una copia del pokemon aplicando así, el patrón prototype.
 
- Public Member Functions inherited from Library.Pokemon
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void SetAsleepTurns ()
 Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 Método abstracto para obtener una nueva instancia del Pokemon deseado. Aplicando así el patrón prototype.
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Library.Pokemon
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
- Properties inherited from Library.Pokemon
string Name [get, set]
 Nombre del Pokemon.
 
StateCurrentState [get, set]
 Estado actual de un pokemon.
 
int AsleepTurns [get, set]
 Cantidad de turnos que el Pokemon está dormido.
 
double BaseLife [get]
 Vida base del Pokemon.
 
double CurrentLife [get, set]
 Vida actual del Pokemon.
 
+

Detailed Description

+

Esta clase representa el Pokemon Dragonite. Al ser un Pokemon hereda de la clase Pokemon.

+ +

Definition at line 7 of file Dragonite.cs.

+

Constructor & Destructor Documentation

+ +

◆ Dragonite()

+ +
+
+ + + + + + + +
Library.Dragonite.Dragonite ()
+
+ +

Constructor de Dragonite, implementa el patron GRASP creator.

+ +

Definition at line 12 of file Dragonite.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+

Member Function Documentation

+ +

◆ Instance()

+ +
+
+ + + + + + + +
override Pokemon Library.Dragonite.Instance ()
+
+ +

Este método retorna una copia del pokemon aplicando así, el patrón prototype.

+
Returns
Pokemon del subtipo Dragonite
+ +

Definition at line 23 of file Dragonite.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Dragonite.js b/docs/html/classLibrary_1_1Dragonite.js new file mode 100644 index 0000000..ae8c817 --- /dev/null +++ b/docs/html/classLibrary_1_1Dragonite.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Dragonite = +[ + [ "Dragonite", "classLibrary_1_1Dragonite.html#a1a4ed66e4fb896604d351fe6f13fc63a", null ], + [ "Instance", "classLibrary_1_1Dragonite.html#a97c847a6f0007baa4e8e55b8271bb0ac", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Dragonite__coll__graph.dot b/docs/html/classLibrary_1_1Dragonite__coll__graph.dot new file mode 100644 index 0000000..a3cb048 --- /dev/null +++ b/docs/html/classLibrary_1_1Dragonite__coll__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Dragonite" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Dragonite
 
+Dragonite()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Dragonite. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Dragonite__inherit__graph.dot b/docs/html/classLibrary_1_1Dragonite__inherit__graph.dot new file mode 100644 index 0000000..a3cb048 --- /dev/null +++ b/docs/html/classLibrary_1_1Dragonite__inherit__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Dragonite" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Dragonite
 
+Dragonite()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Dragonite. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Dragonite_a1a4ed66e4fb896604d351fe6f13fc63a_icgraph.dot b/docs/html/classLibrary_1_1Dragonite_a1a4ed66e4fb896604d351fe6f13fc63a_icgraph.dot new file mode 100644 index 0000000..ac4b267 --- /dev/null +++ b/docs/html/classLibrary_1_1Dragonite_a1a4ed66e4fb896604d351fe6f13fc63a_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Dragonite.Dragonite" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Dragonite.Dragonite",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Constructor de Dragonite, implementa el patron GRASP creator."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Dragonite.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Dragonite.html#a97c847a6f0007baa4e8e55b8271bb0ac",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.DragoniteTest.\lTestInstance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#ad9a94713c51f4b5469d43f9ff9300926",tooltip="Test del método Instance."]; +} diff --git a/docs/html/classLibrary_1_1Dragonite_a97c847a6f0007baa4e8e55b8271bb0ac_cgraph.dot b/docs/html/classLibrary_1_1Dragonite_a97c847a6f0007baa4e8e55b8271bb0ac_cgraph.dot new file mode 100644 index 0000000..e44d237 --- /dev/null +++ b/docs/html/classLibrary_1_1Dragonite_a97c847a6f0007baa4e8e55b8271bb0ac_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Dragonite.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Dragonite.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Dragonite.Dragonite",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Dragonite.html#a1a4ed66e4fb896604d351fe6f13fc63a",tooltip="Constructor de Dragonite, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibrary_1_1Dragonite_a97c847a6f0007baa4e8e55b8271bb0ac_icgraph.dot b/docs/html/classLibrary_1_1Dragonite_a97c847a6f0007baa4e8e55b8271bb0ac_icgraph.dot new file mode 100644 index 0000000..7deef5e --- /dev/null +++ b/docs/html/classLibrary_1_1Dragonite_a97c847a6f0007baa4e8e55b8271bb0ac_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Dragonite.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Dragonite.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="LibraryTests.DragoniteTest.\lTestInstance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#ad9a94713c51f4b5469d43f9ff9300926",tooltip="Test del método Instance."]; +} diff --git a/docs/html/classLibrary_1_1Entei-members.html b/docs/html/classLibrary_1_1Entei-members.html new file mode 100644 index 0000000..5f5e361 --- /dev/null +++ b/docs/html/classLibrary_1_1Entei-members.html @@ -0,0 +1,140 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Entei Member List
+
+
+ +

This is the complete list of members for Library.Entei, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddAttack(IAttack attack)Library.Pokemon
AddAttack(IAttack attack)Library.Pokemon
AsleepTurnsLibrary.Pokemon
BaseLifeLibrary.Pokemon
CurrentLifeLibrary.Pokemon
CurrentStateLibrary.Pokemon
EditState(State? state)Library.Pokemon
EditState(State? state)Library.Pokemon
Entei()Library.Entei
FindAttackByName(string attackString)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
GainLife(double hp)Library.Pokemon
GainLife(double hp)Library.Pokemon
GetAttacks()Library.Pokemon
GetAttacks()Library.Pokemon
GetLife()Library.Pokemon
GetLife()Library.Pokemon
GetTypes()Library.Pokemon
GetTypes()Library.Pokemon
Instance()Library.Entei
NameLibrary.Pokemon
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
SetAsleepTurns()Library.Pokemon
TakeDamage(double damage)Library.Pokemon
TakeDamage(double damage)Library.Pokemon
+
+ + + + diff --git a/docs/html/classLibrary_1_1Entei.html b/docs/html/classLibrary_1_1Entei.html new file mode 100644 index 0000000..028d794 --- /dev/null +++ b/docs/html/classLibrary_1_1Entei.html @@ -0,0 +1,290 @@ + + + + + + + +Object Lifecycle: Library.Entei Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Entei Class Reference
+
+
+ +

Esta clase representa el Pokemon Entei. Al ser un Pokemon hereda de la clase Pokemon. + More...

+
+Inheritance diagram for Library.Entei:
+
+
+
+
+Collaboration diagram for Library.Entei:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Entei ()
 Constructor de Entei, implementa el patron GRASP creator.
 
override Pokemon Instance ()
 Este método retorna una copia del pokemon aplicando así, el patrón prototype.
 
- Public Member Functions inherited from Library.Pokemon
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void SetAsleepTurns ()
 Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 Método abstracto para obtener una nueva instancia del Pokemon deseado. Aplicando así el patrón prototype.
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Library.Pokemon
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
- Properties inherited from Library.Pokemon
string Name [get, set]
 Nombre del Pokemon.
 
StateCurrentState [get, set]
 Estado actual de un pokemon.
 
int AsleepTurns [get, set]
 Cantidad de turnos que el Pokemon está dormido.
 
double BaseLife [get]
 Vida base del Pokemon.
 
double CurrentLife [get, set]
 Vida actual del Pokemon.
 
+

Detailed Description

+

Esta clase representa el Pokemon Entei. Al ser un Pokemon hereda de la clase Pokemon.

+ +

Definition at line 7 of file Entei.cs.

+

Constructor & Destructor Documentation

+ +

◆ Entei()

+ +
+
+ + + + + + + +
Library.Entei.Entei ()
+
+ +

Constructor de Entei, implementa el patron GRASP creator.

+ +

Definition at line 12 of file Entei.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+

Member Function Documentation

+ +

◆ Instance()

+ +
+
+ + + + + + + +
override Pokemon Library.Entei.Instance ()
+
+ +

Este método retorna una copia del pokemon aplicando así, el patrón prototype.

+
Returns
Pokemon del subtipo Entei
+ +

Definition at line 22 of file Entei.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Entei.js b/docs/html/classLibrary_1_1Entei.js new file mode 100644 index 0000000..96764e3 --- /dev/null +++ b/docs/html/classLibrary_1_1Entei.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Entei = +[ + [ "Entei", "classLibrary_1_1Entei.html#a3556d1367901660b9907370d436307ae", null ], + [ "Instance", "classLibrary_1_1Entei.html#a8bdaa25d06a7918e9a73bceafbcfe6ca", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Entei__coll__graph.dot b/docs/html/classLibrary_1_1Entei__coll__graph.dot new file mode 100644 index 0000000..944a1d1 --- /dev/null +++ b/docs/html/classLibrary_1_1Entei__coll__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Entei" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Entei
 
+Entei()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Entei. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Entei__inherit__graph.dot b/docs/html/classLibrary_1_1Entei__inherit__graph.dot new file mode 100644 index 0000000..944a1d1 --- /dev/null +++ b/docs/html/classLibrary_1_1Entei__inherit__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Entei" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Entei
 
+Entei()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Entei. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Entei_a3556d1367901660b9907370d436307ae_icgraph.dot b/docs/html/classLibrary_1_1Entei_a3556d1367901660b9907370d436307ae_icgraph.dot new file mode 100644 index 0000000..aa45d48 --- /dev/null +++ b/docs/html/classLibrary_1_1Entei_a3556d1367901660b9907370d436307ae_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Entei.Entei" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Entei.Entei",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Constructor de Entei, implementa el patron GRASP creator."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Entei.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Entei.html#a8bdaa25d06a7918e9a73bceafbcfe6ca",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.EnteiTest.Test\lInstance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#aea94e25bfe7c570bf322ffc9a7490dce",tooltip="Test del método Instance."]; +} diff --git a/docs/html/classLibrary_1_1Entei_a8bdaa25d06a7918e9a73bceafbcfe6ca_cgraph.dot b/docs/html/classLibrary_1_1Entei_a8bdaa25d06a7918e9a73bceafbcfe6ca_cgraph.dot new file mode 100644 index 0000000..8608e8c --- /dev/null +++ b/docs/html/classLibrary_1_1Entei_a8bdaa25d06a7918e9a73bceafbcfe6ca_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Entei.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Entei.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Entei.Entei",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Entei.html#a3556d1367901660b9907370d436307ae",tooltip="Constructor de Entei, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibrary_1_1Entei_a8bdaa25d06a7918e9a73bceafbcfe6ca_icgraph.dot b/docs/html/classLibrary_1_1Entei_a8bdaa25d06a7918e9a73bceafbcfe6ca_icgraph.dot new file mode 100644 index 0000000..6a27608 --- /dev/null +++ b/docs/html/classLibrary_1_1Entei_a8bdaa25d06a7918e9a73bceafbcfe6ca_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Entei.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Entei.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="LibraryTests.EnteiTest.Test\lInstance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#aea94e25bfe7c570bf322ffc9a7490dce",tooltip="Test del método Instance."]; +} diff --git a/docs/html/classLibrary_1_1Facade-members.html b/docs/html/classLibrary_1_1Facade-members.html new file mode 100644 index 0000000..9005cff --- /dev/null +++ b/docs/html/classLibrary_1_1Facade-members.html @@ -0,0 +1,146 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Facade Member List
+
+
+ +

This is the complete list of members for Library.Facade, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddPlayerToWaitingList(string playerName)Library.Facadestatic
AddPlayerToWaitingList(string playerName)Library.Facade
ChangePokemon(string playerName, string pokemonName)Library.Facadestatic
ChangePokemon(string playerName, string pokemonName)Library.Facade
CheckGameStatus(Game game)Library.Facadestatic
CheckGameStatus(Game game)Library.Facade
CheckTurn(string playerName)Library.Facadestatic
CheckTurn(string playerName)Library.Facade
ChooseAttack(string playerName, string attackName)Library.Facadestatic
ChooseAttack(string playerName, string attackName)Library.Facade
ChooseRandom(string playerName)Library.Facade
ChooseTeam(string playerName, string cPokemon)Library.Facadestatic
ChooseTeam(string playerName, string pokemonName)Library.Facade
EditDamageCalculatorStrategy(string playerName, IStrategyCritCheck strategyCritCheck)Library.Facade
GetAllPlayersWaiting()Library.Facadestatic
GetAllPlayersWaiting()Library.Facade
InstanceLibrary.Facadestatic
RemovePlayerFromWaitingList(string playerName)Library.Facadestatic
RemovePlayerFromWaitingList(string playerName)Library.Facade
Reset()Library.Facade
ShowAtacks(string playerName)Library.Facadestatic
ShowAtacks(string playerName)Library.Facade
ShowCatalogue()Library.Facadestatic
ShowCatalogue()Library.Facade
ShowItems(string playerName)Library.Facade
ShowPokemonsHp(string playerName, string playerToCheckName=null)Library.Facadestatic
ShowPokemonsHp(string playerName, string? playerToCheckName=null)Library.Facade
StartGame(string playerName, string opponentName)Library.Facadestatic
StartGame(string playerName, string opponentName, IStrategyStartingPlayer strategyStartingPlayer)Library.Facade
Surrender(string playerName)Library.Facade
UseAnItem(string playerName, string item, string pokemon)Library.Facadestatic
UseAnItem(string playerName, string item, string pokemon)Library.Facade
+
+ + + + diff --git a/docs/html/classLibrary_1_1Facade.html b/docs/html/classLibrary_1_1Facade.html new file mode 100644 index 0000000..1718537 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade.html @@ -0,0 +1,1527 @@ + + + + + + + +Object Lifecycle: Library.Facade Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Facade Class Reference
+
+
+ +

Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del chatbot. + More...

+
+Collaboration diagram for Library.Facade:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void Reset ()
 Restablece la instancia a null, permitiendo crear una nueva. Solo se utiliza en los tests.
 
string ChooseTeam (string playerName, string pokemonName)
 Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo.
 
string ShowAtacks (string playerName)
 Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador.
 
string ShowPokemonsHp (string playerName, string? playerToCheckName=null)
 Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador.
 
string ChooseAttack (string playerName, string attackName)
 Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una partida.
 
string CheckTurn (string playerName)
 Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles.
 
string CheckGameStatus (Game game)
 Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador.
 
string ChangePokemon (string playerName, string pokemonName)
 Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una partida.
 
string UseAnItem (string playerName, string item, string pokemon)
 Historia de usuario 8 Permite a un jugador usar un item en un Pokemon.
 
string AddPlayerToWaitingList (string playerName)
 Historia de usuario 9: Agrega un jugador a la lista de espera.
 
string RemovePlayerFromWaitingList (string playerName)
 Historia de usuario 9.1: Remueve un jugador de la lista de espera.
 
string GetAllPlayersWaiting ()
 Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.
 
string StartGame (string playerName, string opponentName, IStrategyStartingPlayer strategyStartingPlayer)
 Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o un jugador al azar de la lista de espera.
 
string ShowCatalogue ()
 Muestra el catálogo de Pokemon disponibles.
 
string Surrender (string playerName)
 Elimina la partida de la lista de partidas em curso.
 
string ShowItems (string playerName)
 Muestra los items del jugador.
 
string ChooseRandom (string playerName)
 Completa aleatoriamente el equipo de Pokemons.
 
string EditDamageCalculatorStrategy (string playerName, IStrategyCritCheck strategyCritCheck)
 Este método se encarga de cambiar la estrategia asignada en la calculadora de daño. Se utiliza solo para tests.
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

static string ChooseTeam (string playerName, string cPokemon)
 Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo.
 
static string ShowAtacks (string playerName)
 Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador.
 
static string ShowPokemonsHp (string playerName, string playerToCheckName=null)
 Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador.
 
static string ChooseAttack (string playerName, string attackName)
 Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una partida.
 
static string CheckTurn (string playerName)
 Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles.
 
static string CheckGameStatus (Game game)
 Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador.
 
static string ChangePokemon (string playerName, string pokemonName)
 Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una partida.
 
static string UseAnItem (string playerName, string item, string pokemon)
 Historia de usuario 8 Permite a un jugador usar un item en un Pokemon.
 
static string AddPlayerToWaitingList (string playerName)
 Historia de usuario 9: Agrega un jugador a la lista de espera.
 
static string RemovePlayerFromWaitingList (string playerName)
 Historia de usuario 9.1: Remueve un jugador de la lista de espera.
 
static string GetAllPlayersWaiting ()
 Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.
 
static string StartGame (string playerName, string opponentName)
 Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o un jugador al azar de la lista de espera.
 
static string ShowCatalogue ()
 Muestra el catálogo de Pokemon disponibles.
 
+ + + + +

+Properties

static Facade Instance [get]
 Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
 
+

Detailed Description

+

Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del chatbot.

+

Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del chatbot. Esta clase es un singleton.

+ +

Definition at line 8 of file Facade.cs.

+

Member Function Documentation

+ +

◆ AddPlayerToWaitingList() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
static string Library.Facade.AddPlayerToWaitingList (string playerName)
+
+static
+
+ +

Historia de usuario 9: Agrega un jugador a la lista de espera.

+
Parameters
+ + +
playerNameNombre del jugador.
+
+
+
Returns
Mensaje indicando si el jugador fue agregado o ya estaba en la lista.
+ +

Definition at line 307 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ AddPlayerToWaitingList() [2/2]

+ +
+
+ + + + + + + +
string Library.Facade.AddPlayerToWaitingList (string playerName)
+
+ +

Historia de usuario 9: Agrega un jugador a la lista de espera.

+
Parameters
+ + +
playerNameNombre del jugador.
+
+
+
Returns
Mensaje indicando si el jugador fue agregado o ya estaba en la lista.
+ +

Definition at line 394 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ ChangePokemon() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + +
static string Library.Facade.ChangePokemon (string playerName,
string pokemonName )
+
+static
+
+ +

Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una partida.

+
Parameters
+ + + +
playerNameNombre del jugador que desea cambiar de Pokemon.
pokemonNameNombre del Pokemon al que se desea cambiar.
+
+
+
Returns
Un mensaje string que indica el resultado de la acción.
+ +

Definition at line 234 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ChangePokemon() [2/2]

+ +
+
+ + + + + + + + + + + +
string Library.Facade.ChangePokemon (string playerName,
string pokemonName )
+
+ +

Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una partida.

+
Parameters
+ + + +
playerNameNombre del jugador que desea cambiar de Pokemon.
pokemonNameNombre del Pokemon al que se desea cambiar.
+
+
+
Returns
Un mensaje string que indica el resultado de la acción.
+ +

Definition at line 309 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ CheckGameStatus() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
static string Library.Facade.CheckGameStatus (Game game)
+
+static
+
+ +

Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador.

+
Parameters
+ + +
gameLa partida actual.
+
+
+
Returns
"Próximo turno" en caso de que la partida siga o un string conteniendo el ganador y el perdedor.
+ +

Definition at line 209 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ CheckGameStatus() [2/2]

+ +
+
+ + + + + + + +
string Library.Facade.CheckGameStatus (Game game)
+
+ +

Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador.

+
Parameters
+ + +
gameLa partida actual.
+
+
+
Returns
"Próximo turno, ahora es el turno de..." en caso de que la partida siga o un string conteniendo el ganador y el perdedor.
+ +

Definition at line 285 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ CheckTurn() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
static string Library.Facade.CheckTurn (string playerName)
+
+static
+
+ +

Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles.

+
Parameters
+ + +
playerNameNombre del jugador.
+
+
+
Returns
Mensaje string indicando si es o no su turno, junto con las opciones.
+ +

Definition at line 176 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ CheckTurn() [2/2]

+ +
+
+ + + + + + + +
string Library.Facade.CheckTurn (string playerName)
+
+ +

Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles.

+
Parameters
+ + +
playerNameNombre del jugador.
+
+
+
Returns
Mensaje string indicando si es o no su turno, junto con las opciones.
+ +

Definition at line 255 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ ChooseAttack() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + +
static string Library.Facade.ChooseAttack (string playerName,
string attackName )
+
+static
+
+ +

Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una partida.

+
Parameters
+ + + +
playerNameNombre del jugador que realiza el ataque.
attackNameNombre del ataque que se desea utilizar.
+
+
+
Returns
Un mensaje string que indica el resultado de la acción.
+ +

Definition at line 127 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ChooseAttack() [2/2]

+ +
+
+ + + + + + + + + + + +
string Library.Facade.ChooseAttack (string playerName,
string attackName )
+
+ +

Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una partida.

+
Parameters
+ + + +
playerNameNombre del jugador que realiza el ataque.
attackNameNombre del ataque que se desea utilizar.
+
+
+
Returns
Un mensaje string que indica el resultado de la acción.
+ +

Definition at line 206 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ ChooseRandom()

+ +
+
+ + + + + + + +
string Library.Facade.ChooseRandom (string playerName)
+
+ +

Completa aleatoriamente el equipo de Pokemons.

+
Parameters
+ + +
playerNameNombre del jugador.
+
+
+
Returns
string con el nombre de los Pokemons agregados.
+ +

Definition at line 568 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ChooseTeam() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + +
static string Library.Facade.ChooseTeam (string playerName,
string cPokemon )
+
+static
+
+ +

Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo.

+
Parameters
+ + + +
playerNameNombre del jugador.
cPokemonNombre del Pokemon que se quiere añadir al equipo.
+
+
+
Returns
Mensaje string indicando si el Pokemon fue añadido, si ya estaba ne el equipo o si hubo un error.
+ +

Definition at line 26 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ChooseTeam() [2/2]

+ +
+
+ + + + + + + + + + + +
string Library.Facade.ChooseTeam (string playerName,
string pokemonName )
+
+ +

Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo.

+
Parameters
+ + + +
playerNameNombre del jugador.
pokemonNameNombre del Pokemon que se quiere añadir al equipo.
+
+
+
Returns
Mensaje string indicando si el Pokemon fue añadido, si ya estaba ne el equipo o si hubo un error.
+ +

Definition at line 72 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ EditDamageCalculatorStrategy()

+ +
+
+ + + + + + + + + + + +
string Library.Facade.EditDamageCalculatorStrategy (string playerName,
IStrategyCritCheck strategyCritCheck )
+
+ +

Este método se encarga de cambiar la estrategia asignada en la calculadora de daño. Se utiliza solo para tests.

+
Parameters
+ + + +
playerNameNombre del jugador
strategyCritCheckLa estrategia que determinará el cálculo de daño crítico de la calculadora
+
+
+
Returns
+ +

Definition at line 598 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ GetAllPlayersWaiting() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
static string Library.Facade.GetAllPlayersWaiting ()
+
+static
+
+ +

Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.

+
Returns
Lista de jugadores en espera o un mensaje indicando que no hay nadie esperando.
+ +

Definition at line 340 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ GetAllPlayersWaiting() [2/2]

+ +
+
+ + + + + + + +
string Library.Facade.GetAllPlayersWaiting ()
+
+ +

Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.

+
Returns
Lista de jugadores en espera o un mensaje indicando que no hay nadie esperando.
+ +

Definition at line 426 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ RemovePlayerFromWaitingList() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
static string Library.Facade.RemovePlayerFromWaitingList (string playerName)
+
+static
+
+ +

Historia de usuario 9.1: Remueve un jugador de la lista de espera.

+
Parameters
+ + +
playerNameNombre del jugador.
+
+
+
Returns
Mensaje string indicando si el jugador fue removido o no estaba en la lista.
+ +

Definition at line 328 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ RemovePlayerFromWaitingList() [2/2]

+ +
+
+ + + + + + + +
string Library.Facade.RemovePlayerFromWaitingList (string playerName)
+
+ +

Historia de usuario 9.1: Remueve un jugador de la lista de espera.

+
Parameters
+ + +
playerNameNombre del jugador.
+
+
+
Returns
Mensaje string indicando si el jugador fue removido o no estaba en la lista.
+ +

Definition at line 414 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ Reset()

+ +
+
+ + + + + + + +
void Library.Facade.Reset ()
+
+ +

Restablece la instancia a null, permitiendo crear una nueva. Solo se utiliza en los tests.

+ +

Definition at line 49 of file Facade.cs.

+ +
+
+ +

◆ ShowAtacks() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
static string Library.Facade.ShowAtacks (string playerName)
+
+static
+
+ +

Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador.

+
Parameters
+ + +
playerNameNombre del jugador activo.
+
+
+
Returns
Un string de los ataques del Pokémon activo o un mensaje de error en caso de que el jugador no exista.
+ +

Definition at line 71 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ShowAtacks() [2/2]

+ +
+
+ + + + + + + +
string Library.Facade.ShowAtacks (string playerName)
+
+ +

Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador.

+
Parameters
+ + +
playerNameNombre del jugador activo.
+
+
+
Returns
Un string de los ataques del Pokémon activo o un mensaje de error en caso de que el jugador no exista.
+ +

Definition at line 107 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ ShowCatalogue() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
static string Library.Facade.ShowCatalogue ()
+
+static
+
+ +

Muestra el catálogo de Pokemon disponibles.

+
Returns
Lista de Pokemon en el catálogo.
+ +

Definition at line 440 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ShowCatalogue() [2/2]

+ +
+
+ + + + + + + +
string Library.Facade.ShowCatalogue ()
+
+ +

Muestra el catálogo de Pokemon disponibles.

+
Returns
Lista de Pokemon en el catálogo.
+ +

Definition at line 514 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ ShowItems()

+ +
+
+ + + + + + + +
string Library.Facade.ShowItems (string playerName)
+
+ +

Muestra los items del jugador.

+
Parameters
+ + +
playerNameNombre del jugador.
+
+
+
Returns
string con el nombre y la cantidad de items disponibles.
+ +

Definition at line 546 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ShowPokemonsHp() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + +
static string Library.Facade.ShowPokemonsHp (string playerName,
string playerToCheckName = null )
+
+static
+
+ +

Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador.

+
Parameters
+ + + +
playerNameNombre del jugador.
playerToCheckNameNombre del jugador cuya lista de Pokemon se va a comprobar (opcional). Si es null hace referencia al propio jugador. Si no, hace referencia a otro.
+
+
+
Returns
Un string de los Pokemon y sus HP o un mensaje de error.
+ +

Definition at line 89 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ShowPokemonsHp() [2/2]

+ +
+
+ + + + + + + + + + + +
string Library.Facade.ShowPokemonsHp (string playerName,
string? playerToCheckName = null )
+
+ +

Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador.

+
Parameters
+ + + +
playerNameNombre del jugador.
playerToCheckNameNombre del jugador cuya lista de Pokemon se va a comprobar (opcional). Si es null hace referencia al propio jugador. Si no, hace referencia a otro.
+
+
+
Returns
Un string de los Pokemon y sus HP o un mensaje de error.
+ +

Definition at line 126 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ StartGame() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + +
static string Library.Facade.StartGame (string playerName,
string opponentName )
+
+static
+
+ +

Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o un jugador al azar de la lista de espera.

+
Parameters
+ + + +
playerNameNombre del jugador que inicia la batalla.
opponentNameNombre del oponente (opcional).
+
+
+
Returns
string indicando si la batalla comenzó o si hubo algún error.
+ +

Definition at line 383 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ StartGame() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + +
string Library.Facade.StartGame (string playerName,
string opponentName,
IStrategyStartingPlayer strategyStartingPlayer )
+
+ +

Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o un jugador al azar de la lista de espera.

+
Parameters
+ + + + +
playerNameNombre del jugador que inicia la batalla.
opponentNameNombre del oponente (opcional).
strategyStartingPlayerLa estrategia que determinará el jugador inicial
+
+
+
Returns
string indicando si la batalla comenzó o si hubo algún error.
+ +

Definition at line 471 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+ +

◆ Surrender()

+ +
+
+ + + + + + + +
string Library.Facade.Surrender (string playerName)
+
+ +

Elimina la partida de la lista de partidas em curso.

+
Parameters
+ + +
playerNameNombre de quien se rinde.
+
+
+
Returns
string informando quien se rindió o si no está en partida.
+ +

Definition at line 524 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ UseAnItem() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + +
static string Library.Facade.UseAnItem (string playerName,
string item,
string pokemon )
+
+static
+
+ +

Historia de usuario 8 Permite a un jugador usar un item en un Pokemon.

+
Parameters
+ + + + +
playerNameNombre del jugador.
itemNombre del item a usar.
pokemonNombre del Pokemon objetivo.
+
+
+
Returns
Resultado del uso del item string.
+ +

Definition at line 283 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ UseAnItem() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + +
string Library.Facade.UseAnItem (string playerName,
string item,
string pokemon )
+
+ +

Historia de usuario 8 Permite a un jugador usar un item en un Pokemon.

+
Parameters
+ + + + +
playerNameNombre del jugador.
itemNombre del item a usar.
pokemonNombre del Pokemon objetivo.
+
+
+
Returns
Resultado del uso del item string.
+ +

Definition at line 351 of file Facade.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+

Property Documentation

+ +

◆ Instance

+ +
+
+ + + + + +
+ + + + +
Facade Library.Facade.Instance
+
+staticget
+
+ +

Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.

+ +

Definition at line 33 of file Facade.cs.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Facade.js b/docs/html/classLibrary_1_1Facade.js new file mode 100644 index 0000000..b169fd8 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade.js @@ -0,0 +1,21 @@ +var classLibrary_1_1Facade = +[ + [ "AddPlayerToWaitingList", "classLibrary_1_1Facade.html#a28c360b7b080e1dc99a7bab8aacea2d8", null ], + [ "ChangePokemon", "classLibrary_1_1Facade.html#a1519c6b71e81f41a591e639f950cee76", null ], + [ "CheckGameStatus", "classLibrary_1_1Facade.html#af9bbf1fdcb0970ec13c23d7bd93276ef", null ], + [ "CheckTurn", "classLibrary_1_1Facade.html#a976667038f4d0db5b62263a394504557", null ], + [ "ChooseAttack", "classLibrary_1_1Facade.html#a1f5339c8342daf1f8ae3cd6aacf7fab8", null ], + [ "ChooseRandom", "classLibrary_1_1Facade.html#a61547f8ddbb1a86128d810e18d1891fe", null ], + [ "ChooseTeam", "classLibrary_1_1Facade.html#a1b275983d998bde8b135c652e3c48a93", null ], + [ "EditDamageCalculatorStrategy", "classLibrary_1_1Facade.html#a9809b5935c0b49409da62958cd65b597", null ], + [ "GetAllPlayersWaiting", "classLibrary_1_1Facade.html#a463911202200e59df38d6710bf55ee2c", null ], + [ "RemovePlayerFromWaitingList", "classLibrary_1_1Facade.html#a34c5740597794ab66e59ab01ed1f4575", null ], + [ "Reset", "classLibrary_1_1Facade.html#a80ac355e00a0b2daacb5f171137cdc8e", null ], + [ "ShowAtacks", "classLibrary_1_1Facade.html#a88bb33e0550842c0d34b763eca260ce3", null ], + [ "ShowCatalogue", "classLibrary_1_1Facade.html#ab8c86f0413ac804373d0748af67d8136", null ], + [ "ShowItems", "classLibrary_1_1Facade.html#ad549661271bb9a21203fac96721c0fa2", null ], + [ "ShowPokemonsHp", "classLibrary_1_1Facade.html#a1ab4cd6b1641209fac55991c17754b66", null ], + [ "StartGame", "classLibrary_1_1Facade.html#a3faab158ef85b4fb9dc994f427022ad0", null ], + [ "Surrender", "classLibrary_1_1Facade.html#a4da326581139b7ba8ec08003e30b7b14", null ], + [ "UseAnItem", "classLibrary_1_1Facade.html#ac824fa926ae85650e174fad4cd2a738d", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Facade__coll__graph.dot b/docs/html/classLibrary_1_1Facade__coll__graph.dot new file mode 100644 index 0000000..9912614 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade__coll__graph.dot @@ -0,0 +1,43 @@ +digraph "Library.Facade" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Library.Facade
+WaitingList
+GameList
+WaitingList
+GameList
+Pokedex
+Instance
+Reset()
+ChooseTeam()
+ShowAtacks()
+ShowPokemonsHp()
+ChooseAttack()
+CheckTurn()
+CheckGameStatus()
+ChangePokemon()
+UseAnItem()
+AddPlayerToWaitingList()
and 8 more...
+ChooseTeam()
+ShowAtacks()
+ShowPokemonsHp()
+ChooseAttack()
+CheckTurn()
+CheckGameStatus()
+ChangePokemon()
+UseAnItem()
+AddPlayerToWaitingList()
+RemovePlayerFromWaitingList()
+GetAllPlayersWaiting()
+StartGame()
+ShowCatalogue()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch..."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a021e3e6d485a0cb0599f1821b49ef30c_cgraph.dot b/docs/html/classLibrary_1_1Facade_a021e3e6d485a0cb0599f1821b49ef30c_cgraph.dot new file mode 100644 index 0000000..3f3e374 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a021e3e6d485a0cb0599f1821b49ef30c_cgraph.dot @@ -0,0 +1,23 @@ +digraph "Library.Facade.ShowPokemonsHp" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ShowPokemonsHp",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.CheckPlayer\lInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce",tooltip="Busca si hay un jugador con el mismo nombre que el del parámetro en una partida."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node5 -> Node4 [id="edge5_Node000005_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node6 [id="edge6_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Pokemon.GetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6",tooltip="Devuele la vida del Pokemon en el formato vidaActual/vidaBase."]; + Node1 -> Node7 [id="edge7_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Player.GetPokemonTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3",tooltip="Devuelve la lista de pokemons del jugador."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a021e3e6d485a0cb0599f1821b49ef30c_icgraph.dot b/docs/html/classLibrary_1_1Facade_a021e3e6d485a0cb0599f1821b49ef30c_icgraph.dot new file mode 100644 index 0000000..601109b --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a021e3e6d485a0cb0599f1821b49ef30c_icgraph.dot @@ -0,0 +1,20 @@ +digraph "Library.Facade.ShowPokemonsHp" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.ShowPokemonsHp",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.HpCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1HpCommand.html#af1980a2d6d596e48a2c7bdf5d25e5d9b",tooltip="Muestra la vida de los Pokemons del jugador que utiliza el comando si no se pasa el nombre del oponen..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestUserStory3",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817",tooltip="Test de la historia de usuario 3."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory31Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ad457dd01813745d9531ce7f619201084",tooltip="Verifica que se muestra el HP de los Pokemon del jugador y también si otro jugador no ha completado s..."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory3NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac97c5863dec4cad34b9571fc6f9fbec2",tooltip="Verifica que si un jugador no está en ninguna partida, se muestra un mensaje de error al intentar ver..."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a1519c6b71e81f41a591e639f950cee76_cgraph.dot b/docs/html/classLibrary_1_1Facade_a1519c6b71e81f41a591e639f950cee76_cgraph.dot new file mode 100644 index 0000000..3006719 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a1519c6b71e81f41a591e639f950cee76_cgraph.dot @@ -0,0 +1,37 @@ +digraph "Library.Facade.ChangePokemon" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ChangePokemon",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.BothPlayers\lHaveChosenTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a528d52cbb8d9637f8dd55cdf6c7ceea1",tooltip="Revisa si ambos jugadores completaron sus equipos."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.ChangePokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a9dd5a455b44cc24f7f9a6e9bcdc37b69",tooltip="Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido..."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a26ddb0a7ae0b909f2ded88a249a58aaa",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Game.GameStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c",tooltip="Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores."]; + Node4 -> Node6 [id="edge5_Node000004_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node4 -> Node7 [id="edge6_Node000004_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Game.Winner",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01",tooltip="Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ..."]; + Node1 -> Node8 [id="edge7_Node000001_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node8 -> Node9 [id="edge8_Node000008_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node10 [id="edge9_Node000001_Node000010",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node10 -> Node9 [id="edge10_Node000010_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node11 [id="edge11_Node000001_Node000011",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="Library.Player.FindPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4",tooltip="Devuelve un pokemon de la lista del jugador buscandolo por el nombre."]; + Node1 -> Node9 [id="edge12_Node000001_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node12 [id="edge13_Node000001_Node000012",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="Library.Game.NextTurn",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7",tooltip="Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu..."]; + Node12 -> Node13 [id="edge14_Node000012_Node000013",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="Library.Game.CooldownCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825",tooltip="Reduce el tiempo de enfriamiento (cooldown) de todos los ataques especiales de cada Pokemon en los eq..."]; + Node12 -> Node5 [id="edge15_Node000012_Node000005",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Facade_a1ab4cd6b1641209fac55991c17754b66_cgraph.dot b/docs/html/classLibrary_1_1Facade_a1ab4cd6b1641209fac55991c17754b66_cgraph.dot new file mode 100644 index 0000000..cd88383 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a1ab4cd6b1641209fac55991c17754b66_cgraph.dot @@ -0,0 +1,23 @@ +digraph "Library.Facade.ShowPokemonsHp" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ShowPokemonsHp",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.CheckPlayer\lInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce",tooltip="Busca si hay un jugador con el mismo nombre que el del parámetro en una partida."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node5 -> Node4 [id="edge5_Node000005_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node6 [id="edge6_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Player.GetPokemonTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3",tooltip="Devuelve la lista de pokemons del jugador."]; + Node1 -> Node7 [id="edge7_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a1b275983d998bde8b135c652e3c48a93_cgraph.dot b/docs/html/classLibrary_1_1Facade_a1b275983d998bde8b135c652e3c48a93_cgraph.dot new file mode 100644 index 0000000..35e64a4 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a1b275983d998bde8b135c652e3c48a93_cgraph.dot @@ -0,0 +1,18 @@ +digraph "Library.Facade.ChooseTeam" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ChooseTeam",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Player.AddToTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#aca63ec3547f91e79f9f5c22e366dec9f",tooltip="Agrega un pokemon a la lista de pokemons del jugador."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Player.FindPokemon\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a5014994bf275f49a548e7621badd2415",tooltip="Busca un Pokemon en el equipo de Pokemons de un jugador."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a1f5339c8342daf1f8ae3cd6aacf7fab8_cgraph.dot b/docs/html/classLibrary_1_1Facade_a1f5339c8342daf1f8ae3cd6aacf7fab8_cgraph.dot new file mode 100644 index 0000000..86101d2 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a1f5339c8342daf1f8ae3cd6aacf7fab8_cgraph.dot @@ -0,0 +1,57 @@ +digraph "Library.Facade.ChooseAttack" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.BothPlayers\lHaveChosenTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a528d52cbb8d9637f8dd55cdf6c7ceea1",tooltip="Revisa si ambos jugadores completaron sus equipos."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a26ddb0a7ae0b909f2ded88a249a58aaa",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GameStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c",tooltip="Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores."]; + Node3 -> Node5 [id="edge4_Node000003_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node3 -> Node6 [id="edge5_Node000003_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Game.Winner",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01",tooltip="Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ..."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Game.CheckPlayer\lInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce",tooltip="Busca si hay un jugador con el mismo nombre que el del parámetro en una partida."]; + Node1 -> Node8 [id="edge7_Node000001_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node8 -> Node9 [id="edge8_Node000008_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node9 -> Node10 [id="edge9_Node000009_Node000010",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="Library.DamageCalculator.\lCriticalCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3a2f89d68ff61105914612a5c1fdcae3",tooltip="Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria."]; + Node9 -> Node11 [id="edge10_Node000009_Node000011",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="Library.DamageCalculator.\lGetEffectivness",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a984d17ac844873844f080b61bd9d93be",tooltip="Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon."]; + Node9 -> Node12 [id="edge11_Node000009_Node000012",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; + Node9 -> Node13 [id="edge12_Node000009_Node000013",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3ac5d47b8a7ebd067ef03b81c8907802",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; + Node13 -> Node14 [id="edge13_Node000013_Node000014",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; + Node8 -> Node15 [id="edge14_Node000008_Node000015",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="Library.Pokemon.TakeDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5",tooltip="Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta...."]; + Node1 -> Node16 [id="edge15_Node000001_Node000016",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="Library.Player.FindAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#ae71c6dd4e6de83f82e3b6629a2511248",tooltip="Devuelve un ataque de la lista de ataques del pokemon activo."]; + Node16 -> Node17 [id="edge16_Node000016_Node000017",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; + Node1 -> Node18 [id="edge17_Node000001_Node000018",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node18 -> Node19 [id="edge18_Node000018_Node000019",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node20 [id="edge19_Node000001_Node000020",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node20 -> Node19 [id="edge20_Node000020_Node000019",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node21 [id="edge21_Node000001_Node000021",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="Library.GameList.GetGameList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc",tooltip="Devuelve la lista de partidas."]; + Node1 -> Node19 [id="edge22_Node000001_Node000019",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node22 [id="edge23_Node000001_Node000022",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="Library.Game.NextTurn",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7",tooltip="Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu..."]; + Node22 -> Node23 [id="edge24_Node000022_Node000023",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="Library.Game.CooldownCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825",tooltip="Reduce el tiempo de enfriamiento (cooldown) de todos los ataques especiales de cada Pokemon en los eq..."]; + Node22 -> Node4 [id="edge25_Node000022_Node000004",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Facade_a254fa741693ebc4342764475104d3733_cgraph.dot b/docs/html/classLibrary_1_1Facade_a254fa741693ebc4342764475104d3733_cgraph.dot new file mode 100644 index 0000000..2f74fda --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a254fa741693ebc4342764475104d3733_cgraph.dot @@ -0,0 +1,21 @@ +digraph "Library.Facade.StartGame" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.StartGame",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node4 -> Node3 [id="edge4_Node000004_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node5 [id="edge5_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node1 -> Node6 [id="edge6_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.WaitingList.GetSomeone",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a27fe90fdd4bad1838be5be2719a63d70",tooltip="Devuelve un jugador al azar de la lista de espera."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a254fa741693ebc4342764475104d3733_icgraph.dot b/docs/html/classLibrary_1_1Facade_a254fa741693ebc4342764475104d3733_icgraph.dot new file mode 100644 index 0000000..21c638f --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a254fa741693ebc4342764475104d3733_icgraph.dot @@ -0,0 +1,66 @@ +digraph "Library.Facade.StartGame" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.StartGame",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.BattleCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1BattleCommand.html#a0d1cbd516d13618e333208a01ea7f347",tooltip="Implementa el comando 'battle'. Este comando une al jugador que envía el mensaje a la lista de jugado..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestSurrender",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a59409b12f5f11ca59b1722c05da89de0",tooltip="Verifica que un jugador solo pueda rendirse si está en una partida activa."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a0c532a87220e7aa87b92a92e99c193c0",tooltip="Test de la historia de usuario 1."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory11",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ab3570deef98f9efd32b87177c43f9e25",tooltip="Test de la historia de usuario 11."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory1Add1Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a10bd8bf843aaa0239a2b9a75a1f01d55",tooltip="Verifica que un jugador puede añadir un Pokemon a su equipo."]; + Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory1FullTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac182763b9e55bee3ace5da415ab5f5b5",tooltip="Comprueba que no se pueden agregar más de 6 Pokemon a un equipo."]; + Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory1LastPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a538b13d1b3f8d861bf5a4ab1525cf9c0",tooltip="Verifica que cuando el jugador completa su equipo con 6 Pokemon, se muestra un mensaje indicando que ..."]; + Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory1RepeatedPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a5db4ed9186bb93b71c48c0284fa6209e",tooltip="Comprueba que no se puede añadir un Pokemon ya presente en el equipo del jugador."]; + Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory1UnknownPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#abbba8e9f24b1b2d8b74bb5c23165eac6",tooltip="Verifica que si un jugador intenta elegir un Pokemon inexistente, se muestra un mensaje de error."]; + Node1 -> Node12 [id="edge11_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6",tooltip="Test de la historia de usuario 2."]; + Node1 -> Node13 [id="edge12_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory3",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817",tooltip="Test de la historia de usuario 3."]; + Node1 -> Node14 [id="edge13_Node000001_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory31Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ad457dd01813745d9531ce7f619201084",tooltip="Verifica que se muestra el HP de los Pokemon del jugador y también si otro jugador no ha completado s..."]; + Node1 -> Node15 [id="edge14_Node000001_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node1 -> Node16 [id="edge15_Node000001_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node1 -> Node17 [id="edge16_Node000001_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node1 -> Node18 [id="edge17_Node000001_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node1 -> Node19 [id="edge18_Node000001_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node20 [id="edge19_Node000001_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node21 [id="edge20_Node000001_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node22 [id="edge21_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="LibraryTests.FacadeTest.\lTestUserStory5",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aba6d127eb4dbc71cbd758dc3e41ecb5d",tooltip="Test de la historia de usuario 5."]; + Node1 -> Node23 [id="edge22_Node000001_Node000023",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node1 -> Node24 [id="edge23_Node000001_Node000024",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node24 [id="Node000024",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node1 -> Node25 [id="edge24_Node000001_Node000025",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node25 [id="Node000025",label="LibraryTests.FacadeTest.\lTestUserStory7",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c",tooltip="Test de la historia de usuario 7."]; + Node1 -> Node26 [id="edge25_Node000001_Node000026",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node26 [id="Node000026",label="LibraryTests.FacadeTest.\lTestUserStory8",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#afbd379e47a09ca21177b0d80591ab6f9",tooltip="Test de la historia de usuario 8."]; + Node1 -> Node27 [id="edge26_Node000001_Node000027",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node27 [id="Node000027",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node1 -> Node28 [id="edge27_Node000001_Node000028",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node28 [id="Node000028",label="LibraryTests.FacadeTest.\lTestUserStory8InactivePlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a36324ef55159b9fda15f8af4ffed2867",tooltip="Verifica que el jugador inactivo no pueda usar items."]; + Node1 -> Node29 [id="edge28_Node000001_Node000029",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node29 [id="Node000029",label="LibraryTests.FacadeTest.\lTestUserStory8PlayersNotReady",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a6cbb0df5960d492889cbe914ff9786f4",tooltip="Verifica que un jugador no puede usar un item si el otro jugador no ha completado su equipo."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a26ddb0a7ae0b909f2ded88a249a58aaa_cgraph.dot b/docs/html/classLibrary_1_1Facade_a26ddb0a7ae0b909f2ded88a249a58aaa_cgraph.dot new file mode 100644 index 0000000..aa22202 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a26ddb0a7ae0b909f2ded88a249a58aaa_cgraph.dot @@ -0,0 +1,16 @@ +digraph "Library.Facade.CheckGameStatus" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.GameStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c",tooltip="Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.Winner",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01",tooltip="Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ..."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a26ddb0a7ae0b909f2ded88a249a58aaa_icgraph.dot b/docs/html/classLibrary_1_1Facade_a26ddb0a7ae0b909f2ded88a249a58aaa_icgraph.dot new file mode 100644 index 0000000..8b23094 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a26ddb0a7ae0b909f2ded88a249a58aaa_icgraph.dot @@ -0,0 +1,52 @@ +digraph "Library.Facade.CheckGameStatus" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ChangePokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a8997a21e19d2a44cd060422768dfbddd",tooltip="Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Commands.ChangeCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ChangeCommand.html#a7fa738b2d7cc6f9c0aac78740e7be862",tooltip="Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó para ser su nuevo P..."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory7",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c",tooltip="Test de la historia de usuario 7."]; + Node2 -> Node6 [id="edge5_Node000002_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory7NotInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#add57cb11e369fb7a1488cb5a855a0dda",tooltip="Verifica que se muestra un mensaje de error si un jugador intenta cambiar su Pokemon activo sin estar..."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node7 -> Node8 [id="edge7_Node000007_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node7 -> Node9 [id="edge8_Node000007_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node7 -> Node10 [id="edge9_Node000007_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node7 -> Node11 [id="edge10_Node000007_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node7 -> Node12 [id="edge11_Node000007_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node7 -> Node13 [id="edge12_Node000007_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node7 -> Node14 [id="edge13_Node000007_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node7 -> Node15 [id="edge14_Node000007_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node7 -> Node16 [id="edge15_Node000007_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node7 -> Node17 [id="edge16_Node000007_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node7 -> Node18 [id="edge17_Node000007_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node7 -> Node4 [id="edge18_Node000007_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 -> Node19 [id="edge19_Node000007_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node1 -> Node18 [id="edge20_Node000001_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node20 [id="edge21_Node000001_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="LibraryTests.FacadeTest.\lTestUserStory6NullGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a449e40612f3960914c79b6196b20196c",tooltip="Verifica que se muestra un mensaje de error al corroborar el estado de una partida si la misma no se ..."]; + Node1 -> Node21 [id="edge22_Node000001_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="Library.Facade.UseAnItem",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#ac824fa926ae85650e174fad4cd2a738d",tooltip="Historia de usuario 8 Permite a un jugador usar un item en un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a28c360b7b080e1dc99a7bab8aacea2d8_cgraph.dot b/docs/html/classLibrary_1_1Facade_a28c360b7b080e1dc99a7bab8aacea2d8_cgraph.dot new file mode 100644 index 0000000..5fe2385 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a28c360b7b080e1dc99a7bab8aacea2d8_cgraph.dot @@ -0,0 +1,21 @@ +digraph "Library.Facade.AddPlayerToWaitingList" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.AddPlayer\lToWaitingList",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 9: Agrega un jugador a la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.AddPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252",tooltip="Agrega un jugador a la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node6 -> Node5 [id="edge6_Node000006_Node000005",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Facade_a34c5740597794ab66e59ab01ed1f4575_cgraph.dot b/docs/html/classLibrary_1_1Facade_a34c5740597794ab66e59ab01ed1f4575_cgraph.dot new file mode 100644 index 0000000..914783e --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a34c5740597794ab66e59ab01ed1f4575_cgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Facade.RemovePlayerFromWaitingList" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.RemovePlayer\lFromWaitingList",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 9.1: Remueve un jugador de la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.Remove\lPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993",tooltip="Elimina un jugador de la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a3faab158ef85b4fb9dc994f427022ad0_cgraph.dot b/docs/html/classLibrary_1_1Facade_a3faab158ef85b4fb9dc994f427022ad0_cgraph.dot new file mode 100644 index 0000000..2f74fda --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a3faab158ef85b4fb9dc994f427022ad0_cgraph.dot @@ -0,0 +1,21 @@ +digraph "Library.Facade.StartGame" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.StartGame",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node4 -> Node3 [id="edge4_Node000004_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node5 [id="edge5_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node1 -> Node6 [id="edge6_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.WaitingList.GetSomeone",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a27fe90fdd4bad1838be5be2719a63d70",tooltip="Devuelve un jugador al azar de la lista de espera."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a463911202200e59df38d6710bf55ee2c_cgraph.dot b/docs/html/classLibrary_1_1Facade_a463911202200e59df38d6710bf55ee2c_cgraph.dot new file mode 100644 index 0000000..d487021 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a463911202200e59df38d6710bf55ee2c_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Facade.GetAllPlayersWaiting" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.GetAllPlayers\lWaiting",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.GetWaitingList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027",tooltip="Devuelve la lista de jugadores en espera."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a4da326581139b7ba8ec08003e30b7b14_cgraph.dot b/docs/html/classLibrary_1_1Facade_a4da326581139b7ba8ec08003e30b7b14_cgraph.dot new file mode 100644 index 0000000..a145f55 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a4da326581139b7ba8ec08003e30b7b14_cgraph.dot @@ -0,0 +1,20 @@ +digraph "Library.Facade.Surrender" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.Surrender",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Elimina la partida de la lista de partidas em curso."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node4 -> Node3 [id="edge4_Node000004_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node3 [id="edge5_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node5 [id="edge6_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a4da326581139b7ba8ec08003e30b7b14_icgraph.dot b/docs/html/classLibrary_1_1Facade_a4da326581139b7ba8ec08003e30b7b14_icgraph.dot new file mode 100644 index 0000000..392177b --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a4da326581139b7ba8ec08003e30b7b14_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Facade.Surrender" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.Surrender",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Elimina la partida de la lista de partidas em curso."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.Surrender\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1SurrenderCommand.html#a0c2a380d2d4324b1ae2b0994094c948a",tooltip="Termina la partida en curso dandole la victoria al oponente."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestSurrender",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a59409b12f5f11ca59b1722c05da89de0",tooltip="Verifica que un jugador solo pueda rendirse si está en una partida activa."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a542c335b954dab9971c87d83de9ccc97_cgraph.dot b/docs/html/classLibrary_1_1Facade_a542c335b954dab9971c87d83de9ccc97_cgraph.dot new file mode 100644 index 0000000..808bb50 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a542c335b954dab9971c87d83de9ccc97_cgraph.dot @@ -0,0 +1,22 @@ +digraph "Library.Facade.ChooseTeam" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ChooseTeam",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Player.AddToTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#aca63ec3547f91e79f9f5c22e366dec9f",tooltip="Agrega un pokemon a la lista de pokemons del jugador."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Player.GetPokemonTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3",tooltip="Devuelve la lista de pokemons del jugador."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Player.SetActive\lPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a1dc483f61f95351bd3266c5f9663bfb1",tooltip="Cambia el pokemon activo si está vivo."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.PokemonCatalogue.\lSetCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a89deea710474bec8e34f3853fa26663f",tooltip="Inicialia el catalogo."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a542c335b954dab9971c87d83de9ccc97_icgraph.dot b/docs/html/classLibrary_1_1Facade_a542c335b954dab9971c87d83de9ccc97_icgraph.dot new file mode 100644 index 0000000..be0babb --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a542c335b954dab9971c87d83de9ccc97_icgraph.dot @@ -0,0 +1,62 @@ +digraph "Library.Facade.ChooseTeam" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.ChooseTeam",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.ChooseCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ChooseCommand.html#ae57410f3488ac491c3540e5f4dd58093",tooltip="Envía a la fachada un mensaje con el Pokemon seleccionado."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a0c532a87220e7aa87b92a92e99c193c0",tooltip="Test de la historia de usuario 1."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory1Add1Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a10bd8bf843aaa0239a2b9a75a1f01d55",tooltip="Verifica que un jugador puede añadir un Pokemon a su equipo."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory1FullTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac182763b9e55bee3ace5da415ab5f5b5",tooltip="Comprueba que no se pueden agregar más de 6 Pokemon a un equipo."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory1LastPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a538b13d1b3f8d861bf5a4ab1525cf9c0",tooltip="Verifica que cuando el jugador completa su equipo con 6 Pokemon, se muestra un mensaje indicando que ..."]; + Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory1PlayerNotInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7364d08447ab4746282162e85f0b0ea6",tooltip="Verifica que se muestre un mensaje de error cuando un jugador intenta elegir un Pokemon sin estar en ..."]; + Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory1RepeatedPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a5db4ed9186bb93b71c48c0284fa6209e",tooltip="Comprueba que no se puede añadir un Pokemon ya presente en el equipo del jugador."]; + Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory1UnknownPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#abbba8e9f24b1b2d8b74bb5c23165eac6",tooltip="Verifica que si un jugador intenta elegir un Pokemon inexistente, se muestra un mensaje de error."]; + Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6",tooltip="Test de la historia de usuario 2."]; + Node1 -> Node12 [id="edge11_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory3",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817",tooltip="Test de la historia de usuario 3."]; + Node1 -> Node13 [id="edge12_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory31Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ad457dd01813745d9531ce7f619201084",tooltip="Verifica que se muestra el HP de los Pokemon del jugador y también si otro jugador no ha completado s..."]; + Node1 -> Node14 [id="edge13_Node000001_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node1 -> Node15 [id="edge14_Node000001_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node1 -> Node16 [id="edge15_Node000001_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node1 -> Node17 [id="edge16_Node000001_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node1 -> Node18 [id="edge17_Node000001_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node19 [id="edge18_Node000001_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node20 [id="edge19_Node000001_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node21 [id="edge20_Node000001_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node1 -> Node22 [id="edge21_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node1 -> Node23 [id="edge22_Node000001_Node000023",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="LibraryTests.FacadeTest.\lTestUserStory7",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c",tooltip="Test de la historia de usuario 7."]; + Node1 -> Node24 [id="edge23_Node000001_Node000024",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node24 [id="Node000024",label="LibraryTests.FacadeTest.\lTestUserStory8",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#afbd379e47a09ca21177b0d80591ab6f9",tooltip="Test de la historia de usuario 8."]; + Node1 -> Node25 [id="edge24_Node000001_Node000025",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node25 [id="Node000025",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node1 -> Node26 [id="edge25_Node000001_Node000026",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node26 [id="Node000026",label="LibraryTests.FacadeTest.\lTestUserStory8InactivePlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a36324ef55159b9fda15f8af4ffed2867",tooltip="Verifica que el jugador inactivo no pueda usar items."]; + Node1 -> Node27 [id="edge26_Node000001_Node000027",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node27 [id="Node000027",label="LibraryTests.FacadeTest.\lTestUserStory8PlayersNotReady",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a6cbb0df5960d492889cbe914ff9786f4",tooltip="Verifica que un jugador no puede usar un item si el otro jugador no ha completado su equipo."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a5d257ae6bf3f4c69a6d1c7a78adcd48c_cgraph.dot b/docs/html/classLibrary_1_1Facade_a5d257ae6bf3f4c69a6d1c7a78adcd48c_cgraph.dot new file mode 100644 index 0000000..d487021 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a5d257ae6bf3f4c69a6d1c7a78adcd48c_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Facade.GetAllPlayersWaiting" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.GetAllPlayers\lWaiting",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.GetWaitingList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027",tooltip="Devuelve la lista de jugadores en espera."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a5d257ae6bf3f4c69a6d1c7a78adcd48c_icgraph.dot b/docs/html/classLibrary_1_1Facade_a5d257ae6bf3f4c69a6d1c7a78adcd48c_icgraph.dot new file mode 100644 index 0000000..df416a0 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a5d257ae6bf3f4c69a6d1c7a78adcd48c_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Facade.GetAllPlayersWaiting" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.GetAllPlayers\lWaiting",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.Waiting\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1WaitingCommand.html#a4222829d8068ad03a5b349c87ec34860",tooltip="Implementa el comando 'waitinglist'. Este comando muestra la lista de jugadores esperando para jugar."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestUserStory10",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a37b9657e8da7c1732b914ff3ff5a5ac0",tooltip="Test de la historia de usuario 10."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a61547f8ddbb1a86128d810e18d1891fe_cgraph.dot b/docs/html/classLibrary_1_1Facade_a61547f8ddbb1a86128d810e18d1891fe_cgraph.dot new file mode 100644 index 0000000..04dde70 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a61547f8ddbb1a86128d810e18d1891fe_cgraph.dot @@ -0,0 +1,18 @@ +digraph "Library.Facade.ChooseRandom" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ChooseRandom",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Completa aleatoriamente el equipo de Pokemons."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Player.AddToTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#aca63ec3547f91e79f9f5c22e366dec9f",tooltip="Agrega un pokemon a la lista de pokemons del jugador."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Player.FindPokemon\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a5014994bf275f49a548e7621badd2415",tooltip="Busca un Pokemon en el equipo de Pokemons de un jugador."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a61547f8ddbb1a86128d810e18d1891fe_icgraph.dot b/docs/html/classLibrary_1_1Facade_a61547f8ddbb1a86128d810e18d1891fe_icgraph.dot new file mode 100644 index 0000000..2bdfb97 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a61547f8ddbb1a86128d810e18d1891fe_icgraph.dot @@ -0,0 +1,16 @@ +digraph "Library.Facade.ChooseRandom" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.ChooseRandom",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Completa aleatoriamente el equipo de Pokemons."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.ChooseRandom\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ChooseRandomCommand.html#a3055f5c70847dce83acb728aef6749a5",tooltip="Completa el equipo del jugador aleatoriamnte."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory7",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c",tooltip="Verifica que un jugador puede cambiar su Pokémon activo solo si está en una partida y si el Pokemon p..."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a654944afb774828780427cef30687c84_cgraph.dot b/docs/html/classLibrary_1_1Facade_a654944afb774828780427cef30687c84_cgraph.dot new file mode 100644 index 0000000..f45a725 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a654944afb774828780427cef30687c84_cgraph.dot @@ -0,0 +1,57 @@ +digraph "Library.Facade.ChooseAttack" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a26ddb0a7ae0b909f2ded88a249a58aaa",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.GameStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c",tooltip="Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Game.Winner",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01",tooltip="Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ..."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Game.CheckPlayer\lInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce",tooltip="Busca si hay un jugador con el mismo nombre que el del parámetro en una partida."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node7 -> Node8 [id="edge7_Node000007_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node8 -> Node9 [id="edge8_Node000008_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="Library.DamageCalculator.\lCriticalCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3a2f89d68ff61105914612a5c1fdcae3",tooltip="Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria."]; + Node8 -> Node10 [id="edge9_Node000008_Node000010",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="Library.DamageCalculator.\lGetEffectivness",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a984d17ac844873844f080b61bd9d93be",tooltip="Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon."]; + Node8 -> Node11 [id="edge10_Node000008_Node000011",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789",tooltip="Devuelve la lista de tipos del Pokemon."]; + Node8 -> Node12 [id="edge11_Node000008_Node000012",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3ac5d47b8a7ebd067ef03b81c8907802",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; + Node12 -> Node13 [id="edge12_Node000012_Node000013",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53",tooltip="Actualiza el currentState del pokemon."]; + Node7 -> Node14 [id="edge13_Node000007_Node000014",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="Library.Pokemon.TakeDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5",tooltip="Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta...."]; + Node1 -> Node15 [id="edge14_Node000001_Node000015",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="Library.Player.FindAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#ae71c6dd4e6de83f82e3b6629a2511248",tooltip="Devuelve un ataque de la lista de ataques del pokemon activo."]; + Node15 -> Node16 [id="edge15_Node000015_Node000016",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; + Node1 -> Node17 [id="edge16_Node000001_Node000017",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node17 -> Node18 [id="edge17_Node000017_Node000018",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node19 [id="edge18_Node000001_Node000019",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node19 -> Node18 [id="edge19_Node000019_Node000018",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node20 [id="edge20_Node000001_Node000020",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="Library.GameList.GetGameList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc",tooltip="Devuelve la lista de partidas."]; + Node1 -> Node18 [id="edge21_Node000001_Node000018",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node21 [id="edge22_Node000001_Node000021",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="Library.Player.GetPokemonTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3",tooltip="Devuelve la lista de pokemons del jugador."]; + Node1 -> Node22 [id="edge23_Node000001_Node000022",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="Library.Game.NextTurn",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7",tooltip="Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu..."]; + Node22 -> Node23 [id="edge24_Node000022_Node000023",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="Library.Game.CooldownCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825",tooltip="Reduce el tiempo de enfriamiento (cooldown) de todos los ataques especiales de cada Pokemon en los eq..."]; + Node22 -> Node3 [id="edge25_Node000022_Node000003",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Facade_a654944afb774828780427cef30687c84_icgraph.dot b/docs/html/classLibrary_1_1Facade_a654944afb774828780427cef30687c84_icgraph.dot new file mode 100644 index 0000000..654d996 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a654944afb774828780427cef30687c84_icgraph.dot @@ -0,0 +1,36 @@ +digraph "Library.Facade.ChooseAttack" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node12 [id="edge11_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node1 -> Node13 [id="edge12_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node1 -> Node14 [id="edge13_Node000001_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a6734f40108ad2d62679d48933a14aefc_cgraph.dot b/docs/html/classLibrary_1_1Facade_a6734f40108ad2d62679d48933a14aefc_cgraph.dot new file mode 100644 index 0000000..45393ac --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a6734f40108ad2d62679d48933a14aefc_cgraph.dot @@ -0,0 +1,18 @@ +digraph "Library.Facade.ShowAtacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ShowAtacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Player.GetPokemon\lAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded",tooltip="Devuelve un string con los nombres de todos los ataques del pokemon activo."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a6734f40108ad2d62679d48933a14aefc_icgraph.dot b/docs/html/classLibrary_1_1Facade_a6734f40108ad2d62679d48933a14aefc_icgraph.dot new file mode 100644 index 0000000..24a581e --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a6734f40108ad2d62679d48933a14aefc_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Facade.ShowAtacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.ShowAtacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.ShowAttacks\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ShowAttacksCommand.html#a6466a9979baa930d14799d06cf2eb72a",tooltip="Muestra los ataques disponibles del Pokemon activo del jugador."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestUserStory2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6",tooltip="Test de la historia de usuario 2."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a722ee564dbd34c1e91462b7b69274ae4_cgraph.dot b/docs/html/classLibrary_1_1Facade_a722ee564dbd34c1e91462b7b69274ae4_cgraph.dot new file mode 100644 index 0000000..914783e --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a722ee564dbd34c1e91462b7b69274ae4_cgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Facade.RemovePlayerFromWaitingList" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.RemovePlayer\lFromWaitingList",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 9.1: Remueve un jugador de la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.Remove\lPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993",tooltip="Elimina un jugador de la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a722ee564dbd34c1e91462b7b69274ae4_icgraph.dot b/docs/html/classLibrary_1_1Facade_a722ee564dbd34c1e91462b7b69274ae4_icgraph.dot new file mode 100644 index 0000000..bd33ea2 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a722ee564dbd34c1e91462b7b69274ae4_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Facade.RemovePlayerFromWaitingList" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.RemovePlayer\lFromWaitingList",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 9.1: Remueve un jugador de la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.LeaveCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1LeaveCommand.html#a7f1bf0c5e2d80619aba43d8e27ca3575",tooltip="Implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lis..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestUserStory9_1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af138d4012ab860533759da2839dcde10",tooltip="Verifica que un jugador pueda ser eliminado de la lista de espera correctamente."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a88bb33e0550842c0d34b763eca260ce3_cgraph.dot b/docs/html/classLibrary_1_1Facade_a88bb33e0550842c0d34b763eca260ce3_cgraph.dot new file mode 100644 index 0000000..45393ac --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a88bb33e0550842c0d34b763eca260ce3_cgraph.dot @@ -0,0 +1,18 @@ +digraph "Library.Facade.ShowAtacks" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ShowAtacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Player.GetPokemon\lAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded",tooltip="Devuelve un string con los nombres de todos los ataques del pokemon activo."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4",tooltip="Devuelve la lista de ataques del Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a8997a21e19d2a44cd060422768dfbddd_cgraph.dot b/docs/html/classLibrary_1_1Facade_a8997a21e19d2a44cd060422768dfbddd_cgraph.dot new file mode 100644 index 0000000..c1be8ca --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a8997a21e19d2a44cd060422768dfbddd_cgraph.dot @@ -0,0 +1,35 @@ +digraph "Library.Facade.ChangePokemon" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ChangePokemon",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.ChangePokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a9dd5a455b44cc24f7f9a6e9bcdc37b69",tooltip="Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a26ddb0a7ae0b909f2ded88a249a58aaa",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GameStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c",tooltip="Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores."]; + Node3 -> Node5 [id="edge4_Node000003_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node3 -> Node6 [id="edge5_Node000003_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Game.Winner",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01",tooltip="Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ..."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node7 -> Node8 [id="edge7_Node000007_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node9 [id="edge8_Node000001_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node9 -> Node8 [id="edge9_Node000009_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node10 [id="edge10_Node000001_Node000010",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="Library.Player.FindPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4",tooltip="Devuelve un pokemon de la lista del jugador buscandolo por el nombre."]; + Node1 -> Node8 [id="edge11_Node000001_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node11 [id="edge12_Node000001_Node000011",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="Library.Game.NextTurn",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7",tooltip="Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu..."]; + Node11 -> Node12 [id="edge13_Node000011_Node000012",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="Library.Game.CooldownCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825",tooltip="Reduce el tiempo de enfriamiento (cooldown) de todos los ataques especiales de cada Pokemon en los eq..."]; + Node11 -> Node4 [id="edge14_Node000011_Node000004",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Facade_a8997a21e19d2a44cd060422768dfbddd_icgraph.dot b/docs/html/classLibrary_1_1Facade_a8997a21e19d2a44cd060422768dfbddd_icgraph.dot new file mode 100644 index 0000000..f090cda --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a8997a21e19d2a44cd060422768dfbddd_icgraph.dot @@ -0,0 +1,18 @@ +digraph "Library.Facade.ChangePokemon" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.ChangePokemon",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.ChangeCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ChangeCommand.html#a7fa738b2d7cc6f9c0aac78740e7be862",tooltip="Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó para ser su nuevo P..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory7",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c",tooltip="Test de la historia de usuario 7."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory7NotInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#add57cb11e369fb7a1488cb5a855a0dda",tooltip="Verifica que se muestra un mensaje de error si un jugador intenta cambiar su Pokemon activo sin estar..."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a95c0e8427585bfbc9cdd72b9accb92aa_cgraph.dot b/docs/html/classLibrary_1_1Facade_a95c0e8427585bfbc9cdd72b9accb92aa_cgraph.dot new file mode 100644 index 0000000..0bbd8d6 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a95c0e8427585bfbc9cdd72b9accb92aa_cgraph.dot @@ -0,0 +1,25 @@ +digraph "Library.Facade.UseAnItem" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.UseAnItem",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 8 Permite a un jugador usar un item en un Pokemon."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Player.FindItem",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a16305aed363ffcf597644f27c1d6f76e",tooltip="Devuelve un item de la lista de items buscandolo por su nombre."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node5 -> Node3 [id="edge5_Node000005_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node6 [id="edge6_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Player.FindPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4",tooltip="Devuelve un pokemon de la lista del jugador buscandolo por el nombre."]; + Node1 -> Node7 [id="edge7_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Game.UseItem",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a35db53b070d4c81bbc40b9a10ffdeede",tooltip="Permite que un jugador use un item en un Pokemon específico de su equipo, verificando la validez del ..."]; + Node7 -> Node8 [id="edge8_Node000007_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.IItem.Use",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1IItem.html#a4329d015044ee4837cb2ebd63727f272",tooltip="Utiliza el item sobre un pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a95c0e8427585bfbc9cdd72b9accb92aa_icgraph.dot b/docs/html/classLibrary_1_1Facade_a95c0e8427585bfbc9cdd72b9accb92aa_icgraph.dot new file mode 100644 index 0000000..1fddd89 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a95c0e8427585bfbc9cdd72b9accb92aa_icgraph.dot @@ -0,0 +1,24 @@ +digraph "Library.Facade.UseAnItem" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.UseAnItem",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 8 Permite a un jugador usar un item en un Pokemon."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.UseCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1UseCommand.html#adbca94b51c1373b97987dda45869481b",tooltip="Envía a la fachada un mensaje con el item a usar y el Pokemons que se verá beneficiado."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory8",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#afbd379e47a09ca21177b0d80591ab6f9",tooltip="Test de la historia de usuario 8."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory8InactivePlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a36324ef55159b9fda15f8af4ffed2867",tooltip="Verifica que el jugador inactivo no pueda usar items."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory8NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a6b45fc35666be45766e90987788d3842",tooltip="Verifica que se muestra un mensaje de error si un jugador intenta usar un item sin estar en una parti..."]; + Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory8PlayersNotReady",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a6cbb0df5960d492889cbe914ff9786f4",tooltip="Verifica que un jugador no puede usar un item si el otro jugador no ha completado su equipo."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a976667038f4d0db5b62263a394504557_cgraph.dot b/docs/html/classLibrary_1_1Facade_a976667038f4d0db5b62263a394504557_cgraph.dot new file mode 100644 index 0000000..e46d6b0 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a976667038f4d0db5b62263a394504557_cgraph.dot @@ -0,0 +1,20 @@ +digraph "Library.Facade.CheckTurn" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.CheckTurn",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.CheckPlayer\lInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce",tooltip="Busca si hay un jugador con el mismo nombre que el del parámetro en una partida."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node5 -> Node4 [id="edge5_Node000005_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node4 [id="edge6_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Facade_a9809b5935c0b49409da62958cd65b597_cgraph.dot b/docs/html/classLibrary_1_1Facade_a9809b5935c0b49409da62958cd65b597_cgraph.dot new file mode 100644 index 0000000..5bf2438 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a9809b5935c0b49409da62958cd65b597_cgraph.dot @@ -0,0 +1,25 @@ +digraph "Library.Facade.EditDamageCalculatorStrategy" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.EditDamage\lCalculatorStrategy",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método se encarga de cambiar la estrategia asignada en la calculadora de daño...."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node4 -> Node3 [id="edge4_Node000004_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node5 [id="edge5_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.GetGameList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc",tooltip="Devuelve la lista de partidas."]; + Node1 -> Node6 [id="edge6_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node1 -> Node7 [id="edge7_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.Game.SetDamageCalculator\lStrategy",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a77f6da1303c22a2e9318018ae687da41",tooltip="Permite cambiar la estrategia que contiene la calculadora de daño, solo se usa en los tests."]; + Node7 -> Node8 [id="edge8_Node000007_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.DamageCalculator.\lSetCritCheckStategy",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#af28970536542db6f844927c0518e0eb5",tooltip="Asigna una estrategia para el cálculo de daño crítico."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a9809b5935c0b49409da62958cd65b597_icgraph.dot b/docs/html/classLibrary_1_1Facade_a9809b5935c0b49409da62958cd65b597_icgraph.dot new file mode 100644 index 0000000..73ee26c --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a9809b5935c0b49409da62958cd65b597_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Facade.EditDamageCalculatorStrategy" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.EditDamage\lCalculatorStrategy",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método se encarga de cambiar la estrategia asignada en la calculadora de daño...."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; +} diff --git a/docs/html/classLibrary_1_1Facade_a99bd9042b777684a16c6d1977b9de625_cgraph.dot b/docs/html/classLibrary_1_1Facade_a99bd9042b777684a16c6d1977b9de625_cgraph.dot new file mode 100644 index 0000000..e46d6b0 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a99bd9042b777684a16c6d1977b9de625_cgraph.dot @@ -0,0 +1,20 @@ +digraph "Library.Facade.CheckTurn" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.CheckTurn",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.CheckPlayer\lInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce",tooltip="Busca si hay un jugador con el mismo nombre que el del parámetro en una partida."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node5 -> Node4 [id="edge5_Node000005_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node4 [id="edge6_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Facade_a99bd9042b777684a16c6d1977b9de625_icgraph.dot b/docs/html/classLibrary_1_1Facade_a99bd9042b777684a16c6d1977b9de625_icgraph.dot new file mode 100644 index 0000000..0bbd9e4 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_a99bd9042b777684a16c6d1977b9de625_icgraph.dot @@ -0,0 +1,16 @@ +digraph "Library.Facade.CheckTurn" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.CheckTurn",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.CheckTurn\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1CheckTurnCommand.html#ab39a32a33c419397d2980f57aa5123cb",tooltip="Devuelve de quien es el turno."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestUserStory5",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aba6d127eb4dbc71cbd758dc3e41ecb5d",tooltip="Test de la historia de usuario 5."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory5UnknownPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a6d83b0ec9d372f3f9d019ae3ac6158b3",tooltip="Verifica que se muestra un mensaje de error al verificar el turno si el jugador no está en ninguna pa..."]; +} diff --git a/docs/html/classLibrary_1_1Facade_ab8784ba49bab75ab95697412f7154c37_cgraph.dot b/docs/html/classLibrary_1_1Facade_ab8784ba49bab75ab95697412f7154c37_cgraph.dot new file mode 100644 index 0000000..5fe2385 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_ab8784ba49bab75ab95697412f7154c37_cgraph.dot @@ -0,0 +1,21 @@ +digraph "Library.Facade.AddPlayerToWaitingList" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.AddPlayer\lToWaitingList",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 9: Agrega un jugador a la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.WaitingList.AddPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252",tooltip="Agrega un jugador a la lista de espera."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.WaitingList.Find\lPlayerByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8",tooltip="Devuelve un jugador de la lista de espera buscandolo por su nombre."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node6 -> Node5 [id="edge6_Node000006_Node000005",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Facade_ab8784ba49bab75ab95697412f7154c37_icgraph.dot b/docs/html/classLibrary_1_1Facade_ab8784ba49bab75ab95697412f7154c37_icgraph.dot new file mode 100644 index 0000000..d67305d --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_ab8784ba49bab75ab95697412f7154c37_icgraph.dot @@ -0,0 +1,72 @@ +digraph "Library.Facade.AddPlayerToWaitingList" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.AddPlayer\lToWaitingList",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 9: Agrega un jugador a la lista de espera."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.JoinCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1JoinCommand.html#aa20b376619f55db3b80d51c603787598",tooltip="Implementa el comando 'join'. Este comando une al jugador que envía el mensaje a la lista de jugadore..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestSurrender",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a59409b12f5f11ca59b1722c05da89de0",tooltip="Verifica que un jugador solo pueda rendirse si está en una partida activa."]; + Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a0c532a87220e7aa87b92a92e99c193c0",tooltip="Test de la historia de usuario 1."]; + Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory10",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a37b9657e8da7c1732b914ff3ff5a5ac0",tooltip="Test de la historia de usuario 10."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory11",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ab3570deef98f9efd32b87177c43f9e25",tooltip="Test de la historia de usuario 11."]; + Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory1Add1Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a10bd8bf843aaa0239a2b9a75a1f01d55",tooltip="Verifica que un jugador puede añadir un Pokemon a su equipo."]; + Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory1FullTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac182763b9e55bee3ace5da415ab5f5b5",tooltip="Comprueba que no se pueden agregar más de 6 Pokemon a un equipo."]; + Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory1LastPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a538b13d1b3f8d861bf5a4ab1525cf9c0",tooltip="Verifica que cuando el jugador completa su equipo con 6 Pokemon, se muestra un mensaje indicando que ..."]; + Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory1RepeatedPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a5db4ed9186bb93b71c48c0284fa6209e",tooltip="Comprueba que no se puede añadir un Pokemon ya presente en el equipo del jugador."]; + Node1 -> Node12 [id="edge11_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory1UnknownPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#abbba8e9f24b1b2d8b74bb5c23165eac6",tooltip="Verifica que si un jugador intenta elegir un Pokemon inexistente, se muestra un mensaje de error."]; + Node1 -> Node13 [id="edge12_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6",tooltip="Test de la historia de usuario 2."]; + Node1 -> Node14 [id="edge13_Node000001_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory3",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817",tooltip="Test de la historia de usuario 3."]; + Node1 -> Node15 [id="edge14_Node000001_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory31Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ad457dd01813745d9531ce7f619201084",tooltip="Verifica que se muestra el HP de los Pokemon del jugador y también si otro jugador no ha completado s..."]; + Node1 -> Node16 [id="edge15_Node000001_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node1 -> Node17 [id="edge16_Node000001_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node1 -> Node18 [id="edge17_Node000001_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node1 -> Node19 [id="edge18_Node000001_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node1 -> Node20 [id="edge19_Node000001_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node21 [id="edge20_Node000001_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node22 [id="edge21_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node1 -> Node23 [id="edge22_Node000001_Node000023",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="LibraryTests.FacadeTest.\lTestUserStory5",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aba6d127eb4dbc71cbd758dc3e41ecb5d",tooltip="Test de la historia de usuario 5."]; + Node1 -> Node24 [id="edge23_Node000001_Node000024",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node24 [id="Node000024",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node1 -> Node25 [id="edge24_Node000001_Node000025",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node25 [id="Node000025",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node1 -> Node26 [id="edge25_Node000001_Node000026",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node26 [id="Node000026",label="LibraryTests.FacadeTest.\lTestUserStory7",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c",tooltip="Test de la historia de usuario 7."]; + Node1 -> Node27 [id="edge26_Node000001_Node000027",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node27 [id="Node000027",label="LibraryTests.FacadeTest.\lTestUserStory8",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#afbd379e47a09ca21177b0d80591ab6f9",tooltip="Test de la historia de usuario 8."]; + Node1 -> Node28 [id="edge27_Node000001_Node000028",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node28 [id="Node000028",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node1 -> Node29 [id="edge28_Node000001_Node000029",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node29 [id="Node000029",label="LibraryTests.FacadeTest.\lTestUserStory8InactivePlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a36324ef55159b9fda15f8af4ffed2867",tooltip="Verifica que el jugador inactivo no pueda usar items."]; + Node1 -> Node30 [id="edge29_Node000001_Node000030",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node30 [id="Node000030",label="LibraryTests.FacadeTest.\lTestUserStory8PlayersNotReady",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a6cbb0df5960d492889cbe914ff9786f4",tooltip="Verifica que un jugador no puede usar un item si el otro jugador no ha completado su equipo."]; + Node1 -> Node31 [id="edge30_Node000001_Node000031",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node31 [id="Node000031",label="LibraryTests.FacadeTest.\lTestUserStory9",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a600ac1d267ea06534f36a83cee7bc829",tooltip="Test de la historia de usuario 9."]; + Node1 -> Node32 [id="edge31_Node000001_Node000032",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node32 [id="Node000032",label="LibraryTests.FacadeTest.\lTestUserStory9_1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af138d4012ab860533759da2839dcde10",tooltip="Verifica que un jugador pueda ser eliminado de la lista de espera correctamente."]; +} diff --git a/docs/html/classLibrary_1_1Facade_ab8c86f0413ac804373d0748af67d8136_cgraph.dot b/docs/html/classLibrary_1_1Facade_ab8c86f0413ac804373d0748af67d8136_cgraph.dot new file mode 100644 index 0000000..f22d902 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_ab8c86f0413ac804373d0748af67d8136_cgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Facade.ShowCatalogue" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ShowCatalogue",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Muestra el catálogo de Pokemon disponibles."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.PokemonCatalogue.\lShowCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a530df71a10356bea3a56e1e46ee40f48",tooltip="Devuelve el nombre de todos los Pokemons en el catálogo."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.PokemonCatalogue.\lSetCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a89deea710474bec8e34f3853fa26663f",tooltip="Inicialia el catalogo."]; +} diff --git a/docs/html/classLibrary_1_1Facade_aba404c6c1cd684fcc79efa9fcddc2a8c_cgraph.dot b/docs/html/classLibrary_1_1Facade_aba404c6c1cd684fcc79efa9fcddc2a8c_cgraph.dot new file mode 100644 index 0000000..7052bd2 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_aba404c6c1cd684fcc79efa9fcddc2a8c_cgraph.dot @@ -0,0 +1,15 @@ +digraph "Library.Facade.ShowCatalogue" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ShowCatalogue",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Muestra el catálogo de Pokemon disponibles."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.PokemonCatalogue.\lSetCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a89deea710474bec8e34f3853fa26663f",tooltip="Inicialia el catalogo."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.PokemonCatalogue.\lShowCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a530df71a10356bea3a56e1e46ee40f48",tooltip="Devuelve el nombre de todos los Pokemons en el catálogo."]; + Node3 -> Node2 [id="edge3_Node000003_Node000002",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Facade_aba404c6c1cd684fcc79efa9fcddc2a8c_icgraph.dot b/docs/html/classLibrary_1_1Facade_aba404c6c1cd684fcc79efa9fcddc2a8c_icgraph.dot new file mode 100644 index 0000000..b07a6ce --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_aba404c6c1cd684fcc79efa9fcddc2a8c_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Facade.ShowCatalogue" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.ShowCatalogue",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Muestra el catálogo de Pokemon disponibles."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.Catalogue\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1CatalogueCommand.html#ad95d287be16f5266dfb90ffab6c073bb",tooltip="Muestra los Pokemons del catálogo."]; +} diff --git a/docs/html/classLibrary_1_1Facade_ac824fa926ae85650e174fad4cd2a738d_cgraph.dot b/docs/html/classLibrary_1_1Facade_ac824fa926ae85650e174fad4cd2a738d_cgraph.dot new file mode 100644 index 0000000..b70f8aa --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_ac824fa926ae85650e174fad4cd2a738d_cgraph.dot @@ -0,0 +1,41 @@ +digraph "Library.Facade.UseAnItem" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.UseAnItem",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 8 Permite a un jugador usar un item en un Pokemon."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.BothPlayers\lHaveChosenTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a528d52cbb8d9637f8dd55cdf6c7ceea1",tooltip="Revisa si ambos jugadores completaron sus equipos."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a26ddb0a7ae0b909f2ded88a249a58aaa",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.GameStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c",tooltip="Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores."]; + Node3 -> Node5 [id="edge4_Node000003_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node3 -> Node6 [id="edge5_Node000003_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Game.Winner",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01",tooltip="Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ..."]; + Node1 -> Node7 [id="edge6_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node7 -> Node8 [id="edge7_Node000007_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node9 [id="edge8_Node000001_Node000009",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="Library.Player.FindItem",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a16305aed363ffcf597644f27c1d6f76e",tooltip="Devuelve un item de la lista de items buscandolo por su nombre."]; + Node1 -> Node10 [id="edge9_Node000001_Node000010",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node10 -> Node8 [id="edge10_Node000010_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node11 [id="edge11_Node000001_Node000011",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="Library.Player.FindPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4",tooltip="Devuelve un pokemon de la lista del jugador buscandolo por el nombre."]; + Node1 -> Node8 [id="edge12_Node000001_Node000008",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node12 [id="edge13_Node000001_Node000012",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="Library.Game.NextTurn",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7",tooltip="Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu..."]; + Node12 -> Node13 [id="edge14_Node000012_Node000013",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="Library.Game.CooldownCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825",tooltip="Reduce el tiempo de enfriamiento (cooldown) de todos los ataques especiales de cada Pokemon en los eq..."]; + Node12 -> Node4 [id="edge15_Node000012_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node14 [id="edge16_Node000001_Node000014",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="Library.Game.UseItem",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a35db53b070d4c81bbc40b9a10ffdeede",tooltip="Permite que un jugador use un item en un Pokemon específico de su equipo, verificando la validez del ..."]; + Node14 -> Node15 [id="edge17_Node000014_Node000015",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="Library.IItem.Use",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1IItem.html#a4329d015044ee4837cb2ebd63727f272",tooltip="Utiliza el item sobre un pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Facade_ad549661271bb9a21203fac96721c0fa2_cgraph.dot b/docs/html/classLibrary_1_1Facade_ad549661271bb9a21203fac96721c0fa2_cgraph.dot new file mode 100644 index 0000000..79de691 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_ad549661271bb9a21203fac96721c0fa2_cgraph.dot @@ -0,0 +1,21 @@ +digraph "Library.Facade.ShowItems" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.ShowItems",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Muestra los items del jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.GameList.FindGame\lByPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a",tooltip="Devuelve la partida en la que se encuentra un jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.GetPlayers",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4",tooltip="Obtiene la lista de jugadores de la partida."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.GameList.FindPlayer\lByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff",tooltip="Devuelve un jugador buscandolo por su nombre."]; + Node4 -> Node3 [id="edge4_Node000004_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node1 -> Node5 [id="edge5_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Player.GetItemList",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a2150b3552c081b27d259d0928de09668",tooltip="Devuelve la lista de items del jugador."]; + Node1 -> Node6 [id="edge6_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Player.ItemCount",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#ad1de9088eb192fd7951de1bcc3327213",tooltip="Se encarga de determinar la cantidad de instancias de un item que tiene el jugador en su lista de ite..."]; +} diff --git a/docs/html/classLibrary_1_1Facade_ad549661271bb9a21203fac96721c0fa2_icgraph.dot b/docs/html/classLibrary_1_1Facade_ad549661271bb9a21203fac96721c0fa2_icgraph.dot new file mode 100644 index 0000000..3e25896 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_ad549661271bb9a21203fac96721c0fa2_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Facade.ShowItems" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Facade.ShowItems",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Muestra los items del jugador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Commands.ShowItems\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ShowItemsCommand.html#a6756f4952cbc7fb519b1ab6eeb202425",tooltip="Muestra los items disponibles del jugador."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; +} diff --git a/docs/html/classLibrary_1_1Facade_af9bbf1fdcb0970ec13c23d7bd93276ef_cgraph.dot b/docs/html/classLibrary_1_1Facade_af9bbf1fdcb0970ec13c23d7bd93276ef_cgraph.dot new file mode 100644 index 0000000..aa22202 --- /dev/null +++ b/docs/html/classLibrary_1_1Facade_af9bbf1fdcb0970ec13c23d7bd93276ef_cgraph.dot @@ -0,0 +1,16 @@ +digraph "Library.Facade.CheckGameStatus" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Facade.CheckGame\lStatus",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.GameStatus",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c",tooltip="Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.GameList.RemoveGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96",tooltip="Elimina una partida de la lista de partidas."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.Winner",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01",tooltip="Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ..."]; +} diff --git a/docs/html/classLibrary_1_1FullHealth-members.html b/docs/html/classLibrary_1_1FullHealth-members.html index d8f0844..456a216 100644 --- a/docs/html/classLibrary_1_1FullHealth-members.html +++ b/docs/html/classLibrary_1_1FullHealth-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Gastrodon Member List
+
+
+ +

This is the complete list of members for Library.Gastrodon, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddAttack(IAttack attack)Library.Pokemon
AddAttack(IAttack attack)Library.Pokemon
AsleepTurnsLibrary.Pokemon
BaseLifeLibrary.Pokemon
CurrentLifeLibrary.Pokemon
CurrentStateLibrary.Pokemon
EditState(State? state)Library.Pokemon
EditState(State? state)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
GainLife(double hp)Library.Pokemon
GainLife(double hp)Library.Pokemon
Gastrodon()Library.Gastrodon
GetAttacks()Library.Pokemon
GetAttacks()Library.Pokemon
GetLife()Library.Pokemon
GetLife()Library.Pokemon
GetTypes()Library.Pokemon
GetTypes()Library.Pokemon
Instance()Library.Gastrodon
NameLibrary.Pokemon
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
SetAsleepTurns()Library.Pokemon
TakeDamage(double damage)Library.Pokemon
TakeDamage(double damage)Library.Pokemon
+
+ + + + diff --git a/docs/html/classLibrary_1_1Gastrodon.html b/docs/html/classLibrary_1_1Gastrodon.html new file mode 100644 index 0000000..7d646ae --- /dev/null +++ b/docs/html/classLibrary_1_1Gastrodon.html @@ -0,0 +1,291 @@ + + + + + + + +Object Lifecycle: Library.Gastrodon Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Gastrodon Class Reference
+
+
+ +

Esta clase representa el Pokemon Gastrodon. Al ser un Pokemon hereda de la clase Pokemon. + More...

+
+Inheritance diagram for Library.Gastrodon:
+
+
+
+
+Collaboration diagram for Library.Gastrodon:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Gastrodon ()
 Constructor de Gastrodon, implementa el patron GRASP creator.
 
override Pokemon Instance ()
 Este método retorna una copia del pokemon aplicando así, el patrón prototype.
 
- Public Member Functions inherited from Library.Pokemon
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void SetAsleepTurns ()
 Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 Método abstracto para obtener una nueva instancia del Pokemon deseado. Aplicando así el patrón prototype.
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Library.Pokemon
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
- Properties inherited from Library.Pokemon
string Name [get, set]
 Nombre del Pokemon.
 
StateCurrentState [get, set]
 Estado actual de un pokemon.
 
int AsleepTurns [get, set]
 Cantidad de turnos que el Pokemon está dormido.
 
double BaseLife [get]
 Vida base del Pokemon.
 
double CurrentLife [get, set]
 Vida actual del Pokemon.
 
+

Detailed Description

+

Esta clase representa el Pokemon Gastrodon. Al ser un Pokemon hereda de la clase Pokemon.

+ +

Definition at line 7 of file Gastrodon.cs.

+

Constructor & Destructor Documentation

+ +

◆ Gastrodon()

+ +
+
+ + + + + + + +
Library.Gastrodon.Gastrodon ()
+
+ +

Constructor de Gastrodon, implementa el patron GRASP creator.

+ +

Definition at line 12 of file Gastrodon.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+

Member Function Documentation

+ +

◆ Instance()

+ +
+
+ + + + + + + +
override Pokemon Library.Gastrodon.Instance ()
+
+ +

Este método retorna una copia del pokemon aplicando así, el patrón prototype.

+
Returns
Pokemon del subtipo Gastrodon
+ +

Definition at line 20 of file Gastrodon.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Gastrodon.js b/docs/html/classLibrary_1_1Gastrodon.js new file mode 100644 index 0000000..7c392f6 --- /dev/null +++ b/docs/html/classLibrary_1_1Gastrodon.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Gastrodon = +[ + [ "Gastrodon", "classLibrary_1_1Gastrodon.html#a1ce2cde7358ec9df01c5b8b433e2b20b", null ], + [ "Instance", "classLibrary_1_1Gastrodon.html#a4eea68f8853432a820fc58924b37d3bf", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Gastrodon__coll__graph.dot b/docs/html/classLibrary_1_1Gastrodon__coll__graph.dot new file mode 100644 index 0000000..86fdd59 --- /dev/null +++ b/docs/html/classLibrary_1_1Gastrodon__coll__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Gastrodon" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Gastrodon
 
+Gastrodon()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Gastrodon. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Gastrodon__inherit__graph.dot b/docs/html/classLibrary_1_1Gastrodon__inherit__graph.dot new file mode 100644 index 0000000..86fdd59 --- /dev/null +++ b/docs/html/classLibrary_1_1Gastrodon__inherit__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Gastrodon" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Gastrodon
 
+Gastrodon()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Gastrodon. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Gastrodon_a1ce2cde7358ec9df01c5b8b433e2b20b_icgraph.dot b/docs/html/classLibrary_1_1Gastrodon_a1ce2cde7358ec9df01c5b8b433e2b20b_icgraph.dot new file mode 100644 index 0000000..e46ce89 --- /dev/null +++ b/docs/html/classLibrary_1_1Gastrodon_a1ce2cde7358ec9df01c5b8b433e2b20b_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Gastrodon.Gastrodon" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Gastrodon.Gastrodon",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Constructor de Gastrodon, implementa el patron GRASP creator."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Gastrodon.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Gastrodon.html#a4eea68f8853432a820fc58924b37d3bf",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.GastrodonTest.\lTestInstance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#a9cf25ff93083193976a92ccced56dcf8",tooltip="Test del método Instance."]; +} diff --git a/docs/html/classLibrary_1_1Gastrodon_a4eea68f8853432a820fc58924b37d3bf_cgraph.dot b/docs/html/classLibrary_1_1Gastrodon_a4eea68f8853432a820fc58924b37d3bf_cgraph.dot new file mode 100644 index 0000000..a39537e --- /dev/null +++ b/docs/html/classLibrary_1_1Gastrodon_a4eea68f8853432a820fc58924b37d3bf_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Gastrodon.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Gastrodon.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Gastrodon.Gastrodon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Gastrodon.html#a1ce2cde7358ec9df01c5b8b433e2b20b",tooltip="Constructor de Gastrodon, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibrary_1_1Gastrodon_a4eea68f8853432a820fc58924b37d3bf_icgraph.dot b/docs/html/classLibrary_1_1Gastrodon_a4eea68f8853432a820fc58924b37d3bf_icgraph.dot new file mode 100644 index 0000000..8109f0a --- /dev/null +++ b/docs/html/classLibrary_1_1Gastrodon_a4eea68f8853432a820fc58924b37d3bf_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Gastrodon.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Gastrodon.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="LibraryTests.GastrodonTest.\lTestInstance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#a9cf25ff93083193976a92ccced56dcf8",tooltip="Test del método Instance."]; +} diff --git a/docs/html/classLibrary_1_1Gengar-members.html b/docs/html/classLibrary_1_1Gengar-members.html index 409edb4..ea3f97a 100644 --- a/docs/html/classLibrary_1_1Gengar-members.html +++ b/docs/html/classLibrary_1_1Gengar-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Hydreigon Member List
+
+
+ +

This is the complete list of members for Library.Hydreigon, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddAttack(IAttack attack)Library.Pokemon
AddAttack(IAttack attack)Library.Pokemon
AsleepTurnsLibrary.Pokemon
BaseLifeLibrary.Pokemon
CurrentLifeLibrary.Pokemon
CurrentStateLibrary.Pokemon
EditState(State? state)Library.Pokemon
EditState(State? state)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
GainLife(double hp)Library.Pokemon
GainLife(double hp)Library.Pokemon
GetAttacks()Library.Pokemon
GetAttacks()Library.Pokemon
GetLife()Library.Pokemon
GetLife()Library.Pokemon
GetTypes()Library.Pokemon
GetTypes()Library.Pokemon
Hydreigon()Library.Hydreigon
Instance()Library.Hydreigon
NameLibrary.Pokemon
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
SetAsleepTurns()Library.Pokemon
TakeDamage(double damage)Library.Pokemon
TakeDamage(double damage)Library.Pokemon
+
+ + + + diff --git a/docs/html/classLibrary_1_1Hydreigon.html b/docs/html/classLibrary_1_1Hydreigon.html new file mode 100644 index 0000000..c5d741f --- /dev/null +++ b/docs/html/classLibrary_1_1Hydreigon.html @@ -0,0 +1,290 @@ + + + + + + + +Object Lifecycle: Library.Hydreigon Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Hydreigon Class Reference
+
+
+ +

Esta clase representa el Pokemon Hydreigon. Al ser un Pokemon hereda de la clase Pokemon. + More...

+
+Inheritance diagram for Library.Hydreigon:
+
+
+
+
+Collaboration diagram for Library.Hydreigon:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Hydreigon ()
 Constructor de Hydreigon, implementa el patron GRASP creator.
 
override Pokemon Instance ()
 Este método retorna una copia del pokemon aplicando así, el patrón prototype.
 
- Public Member Functions inherited from Library.Pokemon
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void SetAsleepTurns ()
 Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 Método abstracto para obtener una nueva instancia del Pokemon deseado. Aplicando así el patrón prototype.
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Library.Pokemon
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
- Properties inherited from Library.Pokemon
string Name [get, set]
 Nombre del Pokemon.
 
StateCurrentState [get, set]
 Estado actual de un pokemon.
 
int AsleepTurns [get, set]
 Cantidad de turnos que el Pokemon está dormido.
 
double BaseLife [get]
 Vida base del Pokemon.
 
double CurrentLife [get, set]
 Vida actual del Pokemon.
 
+

Detailed Description

+

Esta clase representa el Pokemon Hydreigon. Al ser un Pokemon hereda de la clase Pokemon.

+ +

Definition at line 7 of file Hydreigon.cs.

+

Constructor & Destructor Documentation

+ +

◆ Hydreigon()

+ +
+
+ + + + + + + +
Library.Hydreigon.Hydreigon ()
+
+ +

Constructor de Hydreigon, implementa el patron GRASP creator.

+ +

Definition at line 12 of file Hydreigon.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+

Member Function Documentation

+ +

◆ Instance()

+ +
+
+ + + + + + + +
override Pokemon Library.Hydreigon.Instance ()
+
+ +

Este método retorna una copia del pokemon aplicando así, el patrón prototype.

+
Returns
Pokemon del subtipo Hydreigon
+ +

Definition at line 20 of file Hydreigon.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Hydreigon.js b/docs/html/classLibrary_1_1Hydreigon.js new file mode 100644 index 0000000..9ed3238 --- /dev/null +++ b/docs/html/classLibrary_1_1Hydreigon.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Hydreigon = +[ + [ "Hydreigon", "classLibrary_1_1Hydreigon.html#a7194f60f410e3eaf57a52d8796c6a6a9", null ], + [ "Instance", "classLibrary_1_1Hydreigon.html#aa9a2af73692029374d059e2a2fa8f7af", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Hydreigon__coll__graph.dot b/docs/html/classLibrary_1_1Hydreigon__coll__graph.dot new file mode 100644 index 0000000..9590ad2 --- /dev/null +++ b/docs/html/classLibrary_1_1Hydreigon__coll__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Hydreigon" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Hydreigon
 
+Hydreigon()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Hydreigon. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Hydreigon__inherit__graph.dot b/docs/html/classLibrary_1_1Hydreigon__inherit__graph.dot new file mode 100644 index 0000000..9590ad2 --- /dev/null +++ b/docs/html/classLibrary_1_1Hydreigon__inherit__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Hydreigon" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Hydreigon
 
+Hydreigon()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Hydreigon. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Hydreigon_a7194f60f410e3eaf57a52d8796c6a6a9_icgraph.dot b/docs/html/classLibrary_1_1Hydreigon_a7194f60f410e3eaf57a52d8796c6a6a9_icgraph.dot new file mode 100644 index 0000000..f50c7a2 --- /dev/null +++ b/docs/html/classLibrary_1_1Hydreigon_a7194f60f410e3eaf57a52d8796c6a6a9_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Hydreigon.Hydreigon" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Hydreigon.Hydreigon",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Constructor de Hydreigon, implementa el patron GRASP creator."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Hydreigon.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Hydreigon.html#aa9a2af73692029374d059e2a2fa8f7af",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="LibraryTests.HydreigonTest.\lTestInstance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#a10a8cf632328d3901689035d4139190e",tooltip="Test del método Instance."]; +} diff --git a/docs/html/classLibrary_1_1Hydreigon_aa9a2af73692029374d059e2a2fa8f7af_cgraph.dot b/docs/html/classLibrary_1_1Hydreigon_aa9a2af73692029374d059e2a2fa8f7af_cgraph.dot new file mode 100644 index 0000000..87dc60b --- /dev/null +++ b/docs/html/classLibrary_1_1Hydreigon_aa9a2af73692029374d059e2a2fa8f7af_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Hydreigon.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Hydreigon.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Hydreigon.Hydreigon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Hydreigon.html#a7194f60f410e3eaf57a52d8796c6a6a9",tooltip="Constructor de Hydreigon, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibrary_1_1Hydreigon_aa9a2af73692029374d059e2a2fa8f7af_icgraph.dot b/docs/html/classLibrary_1_1Hydreigon_aa9a2af73692029374d059e2a2fa8f7af_icgraph.dot new file mode 100644 index 0000000..b54be82 --- /dev/null +++ b/docs/html/classLibrary_1_1Hydreigon_aa9a2af73692029374d059e2a2fa8f7af_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Hydreigon.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Hydreigon.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="LibraryTests.HydreigonTest.\lTestInstance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#a10a8cf632328d3901689035d4139190e",tooltip="Test del método Instance."]; +} diff --git a/docs/html/classLibrary_1_1Jigglypuff-members.html b/docs/html/classLibrary_1_1Jigglypuff-members.html new file mode 100644 index 0000000..902e602 --- /dev/null +++ b/docs/html/classLibrary_1_1Jigglypuff-members.html @@ -0,0 +1,140 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Jigglypuff Member List
+
+
+ +

This is the complete list of members for Library.Jigglypuff, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddAttack(IAttack attack)Library.Pokemon
AddAttack(IAttack attack)Library.Pokemon
AsleepTurnsLibrary.Pokemon
BaseLifeLibrary.Pokemon
CurrentLifeLibrary.Pokemon
CurrentStateLibrary.Pokemon
EditState(State? state)Library.Pokemon
EditState(State? state)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
GainLife(double hp)Library.Pokemon
GainLife(double hp)Library.Pokemon
GetAttacks()Library.Pokemon
GetAttacks()Library.Pokemon
GetLife()Library.Pokemon
GetLife()Library.Pokemon
GetTypes()Library.Pokemon
GetTypes()Library.Pokemon
Instance()Library.Jigglypuff
Jigglypuff()Library.Jigglypuff
NameLibrary.Pokemon
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
SetAsleepTurns()Library.Pokemon
TakeDamage(double damage)Library.Pokemon
TakeDamage(double damage)Library.Pokemon
+
+ + + + diff --git a/docs/html/classLibrary_1_1Jigglypuff.html b/docs/html/classLibrary_1_1Jigglypuff.html new file mode 100644 index 0000000..4ed2628 --- /dev/null +++ b/docs/html/classLibrary_1_1Jigglypuff.html @@ -0,0 +1,285 @@ + + + + + + + +Object Lifecycle: Library.Jigglypuff Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Jigglypuff Class Reference
+
+
+ +

Esta clase representa el Pokemon Jigglypuff. Al ser un Pokemon hereda de la clase Pokemon. + More...

+
+Inheritance diagram for Library.Jigglypuff:
+
+
+
+
+Collaboration diagram for Library.Jigglypuff:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Jigglypuff ()
 Constructor de Jigglypuff, implementa el patron GRASP creator.
 
override Pokemon Instance ()
 Este método retorna una copia del pokemon aplicando así, el patrón prototype.
 
- Public Member Functions inherited from Library.Pokemon
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void SetAsleepTurns ()
 Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 Método abstracto para obtener una nueva instancia del Pokemon deseado. Aplicando así el patrón prototype.
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Library.Pokemon
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
- Properties inherited from Library.Pokemon
string Name [get, set]
 Nombre del Pokemon.
 
StateCurrentState [get, set]
 Estado actual de un pokemon.
 
int AsleepTurns [get, set]
 Cantidad de turnos que el Pokemon está dormido.
 
double BaseLife [get]
 Vida base del Pokemon.
 
double CurrentLife [get, set]
 Vida actual del Pokemon.
 
+

Detailed Description

+

Esta clase representa el Pokemon Jigglypuff. Al ser un Pokemon hereda de la clase Pokemon.

+ +

Definition at line 7 of file Jigglypuff.cs.

+

Constructor & Destructor Documentation

+ +

◆ Jigglypuff()

+ +
+
+ + + + + + + +
Library.Jigglypuff.Jigglypuff ()
+
+ +

Constructor de Jigglypuff, implementa el patron GRASP creator.

+ +

Definition at line 12 of file Jigglypuff.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+

Member Function Documentation

+ +

◆ Instance()

+ +
+
+ + + + + + + +
override Pokemon Library.Jigglypuff.Instance ()
+
+ +

Este método retorna una copia del pokemon aplicando así, el patrón prototype.

+
Returns
Pokemon del subtipo Jigglypuff
+ +

Definition at line 23 of file Jigglypuff.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Jigglypuff.js b/docs/html/classLibrary_1_1Jigglypuff.js new file mode 100644 index 0000000..ed0390e --- /dev/null +++ b/docs/html/classLibrary_1_1Jigglypuff.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Jigglypuff = +[ + [ "Jigglypuff", "classLibrary_1_1Jigglypuff.html#a9dd2dcd1a61e74b8d736b8ee1433ce68", null ], + [ "Instance", "classLibrary_1_1Jigglypuff.html#a8a98225d627b83557be92675c67abd08", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Jigglypuff__coll__graph.dot b/docs/html/classLibrary_1_1Jigglypuff__coll__graph.dot new file mode 100644 index 0000000..73ef69b --- /dev/null +++ b/docs/html/classLibrary_1_1Jigglypuff__coll__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Jigglypuff" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Jigglypuff
 
+Jigglypuff()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Jigglypuff. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Jigglypuff__inherit__graph.dot b/docs/html/classLibrary_1_1Jigglypuff__inherit__graph.dot new file mode 100644 index 0000000..73ef69b --- /dev/null +++ b/docs/html/classLibrary_1_1Jigglypuff__inherit__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Jigglypuff" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Jigglypuff
 
+Jigglypuff()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Jigglypuff. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Jigglypuff_a8a98225d627b83557be92675c67abd08_cgraph.dot b/docs/html/classLibrary_1_1Jigglypuff_a8a98225d627b83557be92675c67abd08_cgraph.dot new file mode 100644 index 0000000..5c1ceaf --- /dev/null +++ b/docs/html/classLibrary_1_1Jigglypuff_a8a98225d627b83557be92675c67abd08_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Jigglypuff.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Jigglypuff.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Jigglypuff.Jigglypuff",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Jigglypuff.html#a9dd2dcd1a61e74b8d736b8ee1433ce68",tooltip="Constructor de Jigglypuff, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibrary_1_1Jigglypuff_a9dd2dcd1a61e74b8d736b8ee1433ce68_icgraph.dot b/docs/html/classLibrary_1_1Jigglypuff_a9dd2dcd1a61e74b8d736b8ee1433ce68_icgraph.dot new file mode 100644 index 0000000..fe2b45e --- /dev/null +++ b/docs/html/classLibrary_1_1Jigglypuff_a9dd2dcd1a61e74b8d736b8ee1433ce68_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Jigglypuff.Jigglypuff" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Jigglypuff.Jigglypuff",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Constructor de Jigglypuff, implementa el patron GRASP creator."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Jigglypuff.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Jigglypuff.html#a8a98225d627b83557be92675c67abd08",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; +} diff --git a/docs/html/classLibrary_1_1Mewtwo-members.html b/docs/html/classLibrary_1_1Mewtwo-members.html index 42918c4..c3fa2b6 100644 --- a/docs/html/classLibrary_1_1Mewtwo-members.html +++ b/docs/html/classLibrary_1_1Mewtwo-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Pikachu Member List
+
+
+ +

This is the complete list of members for Library.Pikachu, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddAttack(IAttack attack)Library.Pokemon
AddAttack(IAttack attack)Library.Pokemon
AsleepTurnsLibrary.Pokemon
BaseLifeLibrary.Pokemon
CurrentLifeLibrary.Pokemon
CurrentStateLibrary.Pokemon
EditState(State? state)Library.Pokemon
EditState(State? state)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
GainLife(double hp)Library.Pokemon
GainLife(double hp)Library.Pokemon
GetAttacks()Library.Pokemon
GetAttacks()Library.Pokemon
GetLife()Library.Pokemon
GetLife()Library.Pokemon
GetTypes()Library.Pokemon
GetTypes()Library.Pokemon
Instance()Library.Pikachu
NameLibrary.Pokemon
Pikachu()Library.Pikachu
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
SetAsleepTurns()Library.Pokemon
TakeDamage(double damage)Library.Pokemon
TakeDamage(double damage)Library.Pokemon
+
+ + + + diff --git a/docs/html/classLibrary_1_1Pikachu.html b/docs/html/classLibrary_1_1Pikachu.html new file mode 100644 index 0000000..50f0dc2 --- /dev/null +++ b/docs/html/classLibrary_1_1Pikachu.html @@ -0,0 +1,285 @@ + + + + + + + +Object Lifecycle: Library.Pikachu Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Pikachu Class Reference
+
+
+ +

Esta clase representa el Pokemon Pikachu. Al ser un Pokemon hereda de la clase Pokemon. + More...

+
+Inheritance diagram for Library.Pikachu:
+
+
+
+
+Collaboration diagram for Library.Pikachu:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Pikachu ()
 Constructor de Pikachu, implementa el patron GRASP creator.
 
override Pokemon Instance ()
 Este método retorna una copia del pokemon aplicando así, el patrón prototype.
 
- Public Member Functions inherited from Library.Pokemon
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void SetAsleepTurns ()
 Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 Método abstracto para obtener una nueva instancia del Pokemon deseado. Aplicando así el patrón prototype.
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Library.Pokemon
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
- Properties inherited from Library.Pokemon
string Name [get, set]
 Nombre del Pokemon.
 
StateCurrentState [get, set]
 Estado actual de un pokemon.
 
int AsleepTurns [get, set]
 Cantidad de turnos que el Pokemon está dormido.
 
double BaseLife [get]
 Vida base del Pokemon.
 
double CurrentLife [get, set]
 Vida actual del Pokemon.
 
+

Detailed Description

+

Esta clase representa el Pokemon Pikachu. Al ser un Pokemon hereda de la clase Pokemon.

+ +

Definition at line 7 of file Pikachu.cs.

+

Constructor & Destructor Documentation

+ +

◆ Pikachu()

+ +
+
+ + + + + + + +
Library.Pikachu.Pikachu ()
+
+ +

Constructor de Pikachu, implementa el patron GRASP creator.

+ +

Definition at line 12 of file Pikachu.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+

Member Function Documentation

+ +

◆ Instance()

+ +
+
+ + + + + + + +
override Pokemon Library.Pikachu.Instance ()
+
+ +

Este método retorna una copia del pokemon aplicando así, el patrón prototype.

+
Returns
Pokemon del subtipo Pikachu
+ +

Definition at line 22 of file Pikachu.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Pikachu.js b/docs/html/classLibrary_1_1Pikachu.js new file mode 100644 index 0000000..8c391d0 --- /dev/null +++ b/docs/html/classLibrary_1_1Pikachu.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Pikachu = +[ + [ "Pikachu", "classLibrary_1_1Pikachu.html#a117bb2efeed20182beec21dfa177c36a", null ], + [ "Instance", "classLibrary_1_1Pikachu.html#a5bf9176a732e929f9978a5b662a76b21", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Pikachu__coll__graph.dot b/docs/html/classLibrary_1_1Pikachu__coll__graph.dot new file mode 100644 index 0000000..16f87eb --- /dev/null +++ b/docs/html/classLibrary_1_1Pikachu__coll__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Pikachu" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Pikachu
 
+Pikachu()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Pikachu. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Pikachu__inherit__graph.dot b/docs/html/classLibrary_1_1Pikachu__inherit__graph.dot new file mode 100644 index 0000000..16f87eb --- /dev/null +++ b/docs/html/classLibrary_1_1Pikachu__inherit__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Pikachu" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Pikachu
 
+Pikachu()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Pikachu. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Pikachu_a117bb2efeed20182beec21dfa177c36a_icgraph.dot b/docs/html/classLibrary_1_1Pikachu_a117bb2efeed20182beec21dfa177c36a_icgraph.dot new file mode 100644 index 0000000..f2d09ed --- /dev/null +++ b/docs/html/classLibrary_1_1Pikachu_a117bb2efeed20182beec21dfa177c36a_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Pikachu.Pikachu" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Pikachu.Pikachu",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Constructor de Pikachu, implementa el patron GRASP creator."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pikachu.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pikachu.html#a5bf9176a732e929f9978a5b662a76b21",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; +} diff --git a/docs/html/classLibrary_1_1Pikachu_a5bf9176a732e929f9978a5b662a76b21_cgraph.dot b/docs/html/classLibrary_1_1Pikachu_a5bf9176a732e929f9978a5b662a76b21_cgraph.dot new file mode 100644 index 0000000..a2718cd --- /dev/null +++ b/docs/html/classLibrary_1_1Pikachu_a5bf9176a732e929f9978a5b662a76b21_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Pikachu.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Pikachu.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Pikachu.Pikachu",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pikachu.html#a117bb2efeed20182beec21dfa177c36a",tooltip="Constructor de Pikachu, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibrary_1_1Player-members.html b/docs/html/classLibrary_1_1Player-members.html index 990a79e..385dc2f 100644 --- a/docs/html/classLibrary_1_1Player-members.html +++ b/docs/html/classLibrary_1_1Player-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.PokemonCatalogue Member List
+
+
+ +

This is the complete list of members for Library.PokemonCatalogue, including all inherited members.

+ + + + + + + +
InstanceLibrary.PokemonCataloguestatic
PokemonCountLibrary.PokemonCatalogue
PokemonListLibrary.PokemonCatalogue
SetCatalogue()Library.PokemonCataloguestatic
ShowCatalogue()Library.PokemonCataloguestatic
ShowCatalogue()Library.PokemonCatalogue
+
+ + + + diff --git a/docs/html/classLibrary_1_1PokemonCatalogue.html b/docs/html/classLibrary_1_1PokemonCatalogue.html new file mode 100644 index 0000000..874a6db --- /dev/null +++ b/docs/html/classLibrary_1_1PokemonCatalogue.html @@ -0,0 +1,338 @@ + + + + + + + +Object Lifecycle: Library.PokemonCatalogue Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.PokemonCatalogue Class Reference
+
+
+ +

Esta clase representa el catálogo de Pokemons. + More...

+
+Collaboration diagram for Library.PokemonCatalogue:
+
+
+
+ + + + + +

+Public Member Functions

string ShowCatalogue ()
 Devuelve el nombre de todos los Pokemons en el catálogo.
 
+ + + + + + + +

+Static Public Member Functions

static string ShowCatalogue ()
 Devuelve el nombre de todos los Pokemons en el catálogo.
 
static List< PokemonSetCatalogue ()
 Inicialia el catalogo.
 
+ + + + + + + + + + +

+Properties

List< PokemonPokemonList = new List<Pokemon>() [get]
 Lista de Pokemons.
 
int PokemonCount [get]
 Cantidad de Pokemons en el catálogo.
 
static PokemonCatalogue Instance [get]
 Crea una instancia del catálogo si no existe una.
 
+

Detailed Description

+

Esta clase representa el catálogo de Pokemons.

+ +

Definition at line 6 of file PokemonCatalogue.cs.

+

Member Function Documentation

+ +

◆ SetCatalogue()

+ +
+
+ + + + + +
+ + + + + + + +
static List< Pokemon > Library.PokemonCatalogue.SetCatalogue ()
+
+static
+
+ +

Inicialia el catalogo.

+
Returns
Devuelve la lista con los Pokemons creados.
+ +

Definition at line 32 of file PokemonCatalogue.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ShowCatalogue() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
static string Library.PokemonCatalogue.ShowCatalogue ()
+
+static
+
+ +

Devuelve el nombre de todos los Pokemons en el catálogo.

+
Returns
+ +

Definition at line 17 of file PokemonCatalogue.cs.

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+ +
+
+ +

◆ ShowCatalogue() [2/2]

+ +
+
+ + + + + + + +
string Library.PokemonCatalogue.ShowCatalogue ()
+
+ +

Devuelve el nombre de todos los Pokemons en el catálogo.

+
Returns
string
+ +

Definition at line 82 of file PokemonCatalogue.cs.

+ +
+
+

Property Documentation

+ +

◆ Instance

+ +
+
+ + + + + +
+ + + + +
PokemonCatalogue Library.PokemonCatalogue.Instance
+
+staticget
+
+ +

Crea una instancia del catálogo si no existe una.

+ +

Definition at line 65 of file PokemonCatalogue.cs.

+ +
+
+ +

◆ PokemonCount

+ +
+
+ + + + + +
+ + + + +
int Library.PokemonCatalogue.PokemonCount
+
+get
+
+ +

Cantidad de Pokemons en el catálogo.

+ +

Definition at line 16 of file PokemonCatalogue.cs.

+ +
+
+ +

◆ PokemonList

+ +
+
+ + + + + +
+ + + + +
List<Pokemon> Library.PokemonCatalogue.PokemonList = new List<Pokemon>()
+
+get
+
+ +

Lista de Pokemons.

+ +

Definition at line 11 of file PokemonCatalogue.cs.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1PokemonCatalogue.js b/docs/html/classLibrary_1_1PokemonCatalogue.js new file mode 100644 index 0000000..af95e71 --- /dev/null +++ b/docs/html/classLibrary_1_1PokemonCatalogue.js @@ -0,0 +1,6 @@ +var classLibrary_1_1PokemonCatalogue = +[ + [ "ShowCatalogue", "classLibrary_1_1PokemonCatalogue.html#abe27e89579d22adab03245a7ea5b4a15", null ], + [ "PokemonCount", "classLibrary_1_1PokemonCatalogue.html#a4ef64b1a3cc57870fe56adc1093197db", null ], + [ "PokemonList", "classLibrary_1_1PokemonCatalogue.html#a4aad2ce3698451e72427cc57c3142336", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1PokemonCatalogue__coll__graph.dot b/docs/html/classLibrary_1_1PokemonCatalogue__coll__graph.dot new file mode 100644 index 0000000..cefa6a2 --- /dev/null +++ b/docs/html/classLibrary_1_1PokemonCatalogue__coll__graph.dot @@ -0,0 +1,20 @@ +digraph "Library.PokemonCatalogue" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ + + + +
+ + + +
Library.PokemonCatalogue
+PokemonList
+PokemonList
+PokemonCount
+Instance
+ShowCatalogue()
+ShowCatalogue()
+SetCatalogue()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el catálogo de Pokemons."]; +} diff --git a/docs/html/classLibrary_1_1PokemonCatalogue_a530df71a10356bea3a56e1e46ee40f48_cgraph.dot b/docs/html/classLibrary_1_1PokemonCatalogue_a530df71a10356bea3a56e1e46ee40f48_cgraph.dot new file mode 100644 index 0000000..c1eeae3 --- /dev/null +++ b/docs/html/classLibrary_1_1PokemonCatalogue_a530df71a10356bea3a56e1e46ee40f48_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.PokemonCatalogue.ShowCatalogue" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.PokemonCatalogue.\lShowCatalogue",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Devuelve el nombre de todos los Pokemons en el catálogo."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.PokemonCatalogue.\lSetCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a89deea710474bec8e34f3853fa26663f",tooltip="Inicialia el catalogo."]; +} diff --git a/docs/html/classLibrary_1_1PokemonCatalogue_a530df71a10356bea3a56e1e46ee40f48_icgraph.dot b/docs/html/classLibrary_1_1PokemonCatalogue_a530df71a10356bea3a56e1e46ee40f48_icgraph.dot new file mode 100644 index 0000000..6de5f2c --- /dev/null +++ b/docs/html/classLibrary_1_1PokemonCatalogue_a530df71a10356bea3a56e1e46ee40f48_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.PokemonCatalogue.ShowCatalogue" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.PokemonCatalogue.\lShowCatalogue",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Devuelve el nombre de todos los Pokemons en el catálogo."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ShowCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#aba404c6c1cd684fcc79efa9fcddc2a8c",tooltip="Muestra el catálogo de Pokemon disponibles."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Commands.Catalogue\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1CatalogueCommand.html#ad95d287be16f5266dfb90ffab6c073bb",tooltip="Muestra los Pokemons del catálogo."]; +} diff --git a/docs/html/classLibrary_1_1PokemonCatalogue_a89deea710474bec8e34f3853fa26663f_icgraph.dot b/docs/html/classLibrary_1_1PokemonCatalogue_a89deea710474bec8e34f3853fa26663f_icgraph.dot new file mode 100644 index 0000000..586b4c0 --- /dev/null +++ b/docs/html/classLibrary_1_1PokemonCatalogue_a89deea710474bec8e34f3853fa26663f_icgraph.dot @@ -0,0 +1,71 @@ +digraph "Library.PokemonCatalogue.SetCatalogue" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.PokemonCatalogue.\lSetCatalogue",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Inicialia el catalogo."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Facade.ChooseTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a542c335b954dab9971c87d83de9ccc97",tooltip="Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Commands.ChooseCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ChooseCommand.html#ae57410f3488ac491c3540e5f4dd58093",tooltip="Envía a la fachada un mensaje con el Pokemon seleccionado."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a0c532a87220e7aa87b92a92e99c193c0",tooltip="Test de la historia de usuario 1."]; + Node2 -> Node6 [id="edge5_Node000002_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory1Add1Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a10bd8bf843aaa0239a2b9a75a1f01d55",tooltip="Verifica que un jugador puede añadir un Pokemon a su equipo."]; + Node2 -> Node7 [id="edge6_Node000002_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory1FullTeam",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac182763b9e55bee3ace5da415ab5f5b5",tooltip="Comprueba que no se pueden agregar más de 6 Pokemon a un equipo."]; + Node2 -> Node8 [id="edge7_Node000002_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory1LastPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a538b13d1b3f8d861bf5a4ab1525cf9c0",tooltip="Verifica que cuando el jugador completa su equipo con 6 Pokemon, se muestra un mensaje indicando que ..."]; + Node2 -> Node9 [id="edge8_Node000002_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory1PlayerNotInGame",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7364d08447ab4746282162e85f0b0ea6",tooltip="Verifica que se muestre un mensaje de error cuando un jugador intenta elegir un Pokemon sin estar en ..."]; + Node2 -> Node10 [id="edge9_Node000002_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory1RepeatedPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a5db4ed9186bb93b71c48c0284fa6209e",tooltip="Comprueba que no se puede añadir un Pokemon ya presente en el equipo del jugador."]; + Node2 -> Node11 [id="edge10_Node000002_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory1UnknownPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#abbba8e9f24b1b2d8b74bb5c23165eac6",tooltip="Verifica que si un jugador intenta elegir un Pokemon inexistente, se muestra un mensaje de error."]; + Node2 -> Node12 [id="edge11_Node000002_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6",tooltip="Test de la historia de usuario 2."]; + Node2 -> Node13 [id="edge12_Node000002_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory3",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817",tooltip="Test de la historia de usuario 3."]; + Node2 -> Node14 [id="edge13_Node000002_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory31Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ad457dd01813745d9531ce7f619201084",tooltip="Verifica que se muestra el HP de los Pokemon del jugador y también si otro jugador no ha completado s..."]; + Node2 -> Node15 [id="edge14_Node000002_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node2 -> Node16 [id="edge15_Node000002_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node2 -> Node17 [id="edge16_Node000002_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node2 -> Node18 [id="edge17_Node000002_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node2 -> Node19 [id="edge18_Node000002_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node2 -> Node20 [id="edge19_Node000002_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node2 -> Node21 [id="edge20_Node000002_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node2 -> Node22 [id="edge21_Node000002_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node2 -> Node23 [id="edge22_Node000002_Node000023",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node2 -> Node24 [id="edge23_Node000002_Node000024",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node24 [id="Node000024",label="LibraryTests.FacadeTest.\lTestUserStory7",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c",tooltip="Test de la historia de usuario 7."]; + Node2 -> Node25 [id="edge24_Node000002_Node000025",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node25 [id="Node000025",label="LibraryTests.FacadeTest.\lTestUserStory8",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#afbd379e47a09ca21177b0d80591ab6f9",tooltip="Test de la historia de usuario 8."]; + Node2 -> Node26 [id="edge25_Node000002_Node000026",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node26 [id="Node000026",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node2 -> Node27 [id="edge26_Node000002_Node000027",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node27 [id="Node000027",label="LibraryTests.FacadeTest.\lTestUserStory8InactivePlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a36324ef55159b9fda15f8af4ffed2867",tooltip="Verifica que el jugador inactivo no pueda usar items."]; + Node2 -> Node28 [id="edge27_Node000002_Node000028",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node28 [id="Node000028",label="LibraryTests.FacadeTest.\lTestUserStory8PlayersNotReady",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a6cbb0df5960d492889cbe914ff9786f4",tooltip="Verifica que un jugador no puede usar un item si el otro jugador no ha completado su equipo."]; + Node1 -> Node29 [id="edge28_Node000001_Node000029",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node29 [id="Node000029",label="Library.Facade.ShowCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#aba404c6c1cd684fcc79efa9fcddc2a8c",tooltip="Muestra el catálogo de Pokemon disponibles."]; + Node29 -> Node30 [id="edge29_Node000029_Node000030",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node30 [id="Node000030",label="Library.Commands.Catalogue\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1CatalogueCommand.html#ad95d287be16f5266dfb90ffab6c073bb",tooltip="Muestra los Pokemons del catálogo."]; + Node1 -> Node31 [id="edge30_Node000001_Node000031",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node31 [id="Node000031",label="Library.PokemonCatalogue.\lShowCatalogue",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1PokemonCatalogue.html#a530df71a10356bea3a56e1e46ee40f48",tooltip="Devuelve el nombre de todos los Pokemons en el catálogo."]; + Node31 -> Node29 [id="edge31_Node000031_Node000029",dir="back",color="steelblue1",style="solid",tooltip=" "]; +} diff --git a/docs/html/classLibrary_1_1Pokemon__coll__graph.dot b/docs/html/classLibrary_1_1Pokemon__coll__graph.dot index 7b27e76..67e514d 100644 --- a/docs/html/classLibrary_1_1Pokemon__coll__graph.dot +++ b/docs/html/classLibrary_1_1Pokemon__coll__graph.dot @@ -23,6 +23,10 @@ digraph "Library.Pokemon" +EditState()
+AddAttack()
+FindAttackByName()
++Instance()
++GainLife()
+and 9 more... +#Pokemon()
#Pokemon()
> ,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa un Pokemon."]; diff --git a/docs/html/classLibrary_1_1Pokemon__inherit__graph.dot b/docs/html/classLibrary_1_1Pokemon__inherit__graph.dot index 6f80a20..44f2486 100644 --- a/docs/html/classLibrary_1_1Pokemon__inherit__graph.dot +++ b/docs/html/classLibrary_1_1Pokemon__inherit__graph.dot @@ -23,6 +23,10 @@ digraph "Library.Pokemon" +EditState()
+AddAttack()
+FindAttackByName()
++Instance()
++GainLife()
+and 9 more... +#Pokemon()
#Pokemon()
> ,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa un Pokemon."]; @@ -32,54 +36,145 @@ digraph "Library.Pokemon"  
+Caterpie()
++Instance()
++Caterpie()
++Instance()
> ,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Caterpie.html",tooltip="Esta clase representa el Pokemon Caterpie. Al ser un Pokemon hereda de la clase Pokemon."]; - Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node2 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node3 [id="edge3_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; Node3 [id="Node000003",shape=plain,label=<

+ + +
Library.Charizard
 
+Charizard()
+Instance()
+Charizard()
+Instance()
> ,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Charizard.html",tooltip="Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon."]; - Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node3 [id="edge4_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node4 [id="edge5_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; Node4 [id="Node000004",shape=plain,label=<

+ + +
Library.Chikorita
 
+Chikorita()
+Instance()
+Chikorita()
+Instance()
> ,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Chikorita.html",tooltip="Esta clase representa el Pokemon Chikorita. Al ser un Pokemon hereda de la clase Pokemon."]; - Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; - Node5 [id="Node000005",shape=plain,label=< + Node1 -> Node4 [id="edge6_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node5 [id="edge7_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node5 [id="Node000005",shape=plain,label=<
Library.Gengar
+
+ +
+ + +
Library.Dragonite
 
+Dragonite()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Dragonite.html",tooltip="Esta clase representa el Pokemon Dragonite. Al ser un Pokemon hereda de la clase Pokemon."]; + Node1 -> Node6 [id="edge8_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node6 [id="Node000006",shape=plain,label=< +
+ +
+ + +
Library.Entei
 
+Entei()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Entei.html",tooltip="Esta clase representa el Pokemon Entei. Al ser un Pokemon hereda de la clase Pokemon."]; + Node1 -> Node7 [id="edge9_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node7 [id="Node000007",shape=plain,label=< +
+ +
+ + +
Library.Gastrodon
 
+Gastrodon()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Gastrodon.html",tooltip="Esta clase representa el Pokemon Gastrodon. Al ser un Pokemon hereda de la clase Pokemon."]; + Node1 -> Node8 [id="edge10_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node8 [id="Node000008",shape=plain,label=<

+ + +
Library.Gengar
 
+Gengar()
+Instance()
+Gengar()
+Instance()
> ,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Gengar.html",tooltip="Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon."]; - Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; - Node6 [id="Node000006",shape=plain,label=< + Node1 -> Node8 [id="edge11_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node9 [id="edge12_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node9 [id="Node000009",shape=plain,label=<
Library.Haxorus


+ + +
Library.Haxorus
 
+Haxorus()
+Instance()
+Haxorus()
+Instance()
> ,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Haxorus.html",tooltip="Esta clase representa el Pokemon Haxorus. Al ser un Pokemon hereda de la clase Pokemon."]; - Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; - Node7 [id="Node000007",shape=plain,label=< + Node1 -> Node9 [id="edge13_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node10 [id="edge14_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node10 [id="Node000010",shape=plain,label=<
Library.Mewtwo


+ + +
Library.Hydreigon
 
+Hydreigon()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Hydreigon.html",tooltip="Esta clase representa el Pokemon Hydreigon. Al ser un Pokemon hereda de la clase Pokemon."]; + Node1 -> Node11 [id="edge15_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node11 [id="Node000011",shape=plain,label=< +
+ +
+ + +
Library.Jigglypuff
 
+Jigglypuff()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Jigglypuff.html",tooltip="Esta clase representa el Pokemon Jigglypuff. Al ser un Pokemon hereda de la clase Pokemon."]; + Node1 -> Node12 [id="edge16_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node12 [id="Node000012",shape=plain,label=< +
+ +
+ + +
Library.Mewtwo
 
+Mewtwo()
+Instance()
+Mewtwo()
+Instance()
> ,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Mewtwo.html",tooltip="Esta clase representa el Pokemon Mewtwo. Al ser un Pokemon hereda de la clase Pokemon."]; - Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; - Node8 [id="Node000008",shape=plain,label=< + Node1 -> Node12 [id="edge17_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node13 [id="edge18_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node13 [id="Node000013",shape=plain,label=<
Library.Zeraora


+ + +
Library.Pikachu
 
+Pikachu()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pikachu.html",tooltip="Esta clase representa el Pokemon Pikachu. Al ser un Pokemon hereda de la clase Pokemon."]; + Node1 -> Node14 [id="edge19_Node000001_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node14 [id="Node000014",shape=plain,label=< +
+ +
+ + +
Library.Scyther
 
+Scyther()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Scyther.html",tooltip="Esta clase representa el Pokemon Scyther. Al ser un Pokemon hereda de la clase Pokemon."]; + Node1 -> Node15 [id="edge20_Node000001_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node15 [id="Node000015",shape=plain,label=< +
+ +
+ + +
Library.Zeraora
 
+Zeraora()
+Instance()
+Zeraora()
+Instance()
> ,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Zeraora.html",tooltip="Esta clase representa el Pokemon Zeraora. Al ser un Pokemon hereda de la clase Pokemon."]; + Node1 -> Node15 [id="edge21_Node000001_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; } diff --git a/docs/html/classLibrary_1_1Pokemon_a0d0729ff4c6e58eb0fc323ed859d4789_icgraph.dot b/docs/html/classLibrary_1_1Pokemon_a0d0729ff4c6e58eb0fc323ed859d4789_icgraph.dot index 9c9e95a..4fef891 100644 --- a/docs/html/classLibrary_1_1Pokemon_a0d0729ff4c6e58eb0fc323ed859d4789_icgraph.dot +++ b/docs/html/classLibrary_1_1Pokemon_a0d0729ff4c6e58eb0fc323ed859d4789_icgraph.dot @@ -8,17 +8,69 @@ digraph "Library.Pokemon.GetTypes" rankdir="RL"; Node1 [id="Node000001",label="Library.Pokemon.GetTypes",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Devuelve la lista de tipos del Pokemon."]; Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node2 [id="Node000002",label="LibraryTests.CaterpieTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#a7b4ee7a345f79da04d1ffff31e966ca7",tooltip="Test del atributo type."]; - Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node3 [id="Node000003",label="LibraryTests.CharizardTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a35f39e1f8d1c9522045f654382cea043",tooltip="Test del atributo type."]; - Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node4 [id="Node000004",label="LibraryTests.ChikoritaTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#aa9cef46fe3c120f2075431e01d7cc975",tooltip="Test del atributo type."]; - Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node5 [id="Node000005",label="LibraryTests.GengarTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#aa529cc291b6d57cc9baa88aae3c3b001",tooltip="Test del atributo type."]; - Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node6 [id="Node000006",label="LibraryTests.HaxorusTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#ab68e5de12f32b74f431e12338d436b3f",tooltip="Test del atributo type."]; - Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node7 [id="Node000007",label="LibraryTests.MewtwoTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#ab434507bebaeadad75fab7332f5cc7a8",tooltip="Test del atributo type."]; - Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node8 [id="Node000008",label="LibraryTests.ZeraoraTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a59fca7f6820c24b8c61f7e2e5aeca317",tooltip="Test del atributo type."]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node4 -> Node6 [id="edge5_Node000004_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node4 -> Node7 [id="edge6_Node000004_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node4 -> Node8 [id="edge7_Node000004_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node4 -> Node9 [id="edge8_Node000004_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node4 -> Node10 [id="edge9_Node000004_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node4 -> Node11 [id="edge10_Node000004_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node12 [id="edge11_Node000004_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node13 [id="edge12_Node000004_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node4 -> Node14 [id="edge13_Node000004_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node15 [id="edge14_Node000004_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node4 -> Node16 [id="edge15_Node000004_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node4 -> Node17 [id="edge16_Node000004_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node3 -> Node18 [id="edge17_Node000003_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.GameTest.Test\lWinnerPlayer1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#a57bf287b4709e4ead91451a31c009692",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node3 -> Node19 [id="edge18_Node000003_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.GameTest.Test\lWinnerPlayer2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#aa81b288826686b2b502032d0973b517f",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node2 -> Node20 [id="edge19_Node000002_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25142733833a36fd79da48c53e80f225",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node2 -> Node21 [id="edge20_Node000002_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.SpecialAttack\lTest.TestSpecialAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8",tooltip="Test de ataque especial."]; + Node1 -> Node22 [id="edge21_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a441bd820eda5da6d69edcc4e5b7d8752",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node1 -> Node23 [id="edge22_Node000001_Node000023",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="Library.Facade.ShowPokemonsHp",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a1ab4cd6b1641209fac55991c17754b66",tooltip="Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador."]; + Node1 -> Node24 [id="edge23_Node000001_Node000024",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node24 [id="Node000024",label="LibraryTests.CaterpieTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#a7b4ee7a345f79da04d1ffff31e966ca7",tooltip="Test del atributo type."]; + Node1 -> Node25 [id="edge24_Node000001_Node000025",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node25 [id="Node000025",label="LibraryTests.CharizardTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a35f39e1f8d1c9522045f654382cea043",tooltip="Test del atributo type."]; + Node1 -> Node26 [id="edge25_Node000001_Node000026",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node26 [id="Node000026",label="LibraryTests.ChikoritaTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#aa9cef46fe3c120f2075431e01d7cc975",tooltip="Test del atributo type."]; + Node1 -> Node27 [id="edge26_Node000001_Node000027",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node27 [id="Node000027",label="LibraryTests.DragoniteTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#a4289f2b0e451139309fe3a49c3828285",tooltip="Test del atributo type."]; + Node1 -> Node28 [id="edge27_Node000001_Node000028",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node28 [id="Node000028",label="LibraryTests.EnteiTest.TestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#a3b519999367a76775a4e0dee5a3f004c",tooltip="Test del atributo type."]; + Node1 -> Node29 [id="edge28_Node000001_Node000029",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node29 [id="Node000029",label="LibraryTests.GastrodonTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#ad5ca8b4fc25e70ec24cf1cedc10e83d4",tooltip="Test del atributo type."]; + Node1 -> Node30 [id="edge29_Node000001_Node000030",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node30 [id="Node000030",label="LibraryTests.GengarTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#aa529cc291b6d57cc9baa88aae3c3b001",tooltip="Test del atributo type."]; + Node1 -> Node31 [id="edge30_Node000001_Node000031",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node31 [id="Node000031",label="LibraryTests.HaxorusTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#ab68e5de12f32b74f431e12338d436b3f",tooltip="Test del atributo type."]; + Node1 -> Node32 [id="edge31_Node000001_Node000032",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node32 [id="Node000032",label="LibraryTests.HydreigonTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#a80f3ed3b1f9b05baa8e75fc3fb3d66d0",tooltip="Test del atributo type."]; + Node1 -> Node33 [id="edge32_Node000001_Node000033",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node33 [id="Node000033",label="LibraryTests.MewtwoTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#ab434507bebaeadad75fab7332f5cc7a8",tooltip="Test del atributo type."]; + Node1 -> Node34 [id="edge33_Node000001_Node000034",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node34 [id="Node000034",label="LibraryTests.ZeraoraTest.\lTestType",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a59fca7f6820c24b8c61f7e2e5aeca317",tooltip="Test del atributo type."]; } diff --git a/docs/html/classLibrary_1_1Pokemon_a1f220939df23a443793d4ba26e39ee2f_icgraph.dot b/docs/html/classLibrary_1_1Pokemon_a1f220939df23a443793d4ba26e39ee2f_icgraph.dot new file mode 100644 index 0000000..b48cc3c --- /dev/null +++ b/docs/html/classLibrary_1_1Pokemon_a1f220939df23a443793d4ba26e39ee2f_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Pokemon.SetAsleepTurns" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Pokemon.SetAsleep\lTurns",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a5685a1add3420618f3b27f1e2f5ff622",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; +} diff --git a/docs/html/classLibrary_1_1Pokemon_a32523b114af4ade07ac3ecc0becd6a53_icgraph.dot b/docs/html/classLibrary_1_1Pokemon_a32523b114af4ade07ac3ecc0becd6a53_icgraph.dot index e4e384c..9520d6e 100644 --- a/docs/html/classLibrary_1_1Pokemon_a32523b114af4ade07ac3ecc0becd6a53_icgraph.dot +++ b/docs/html/classLibrary_1_1Pokemon_a32523b114af4ade07ac3ecc0becd6a53_icgraph.dot @@ -8,21 +8,79 @@ digraph "Library.Pokemon.EditState" rankdir="RL"; Node1 [id="Node000001",label="Library.Pokemon.EditState",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Actualiza el currentState del pokemon."]; Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node2 [id="Node000002",label="LibraryTests.CaterpieTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#a611bdba831427668f0a3a31d5247563e",tooltip="Test del atributo CurrentState y el método EditSate."]; - Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node3 [id="Node000003",label="LibraryTests.CharizardTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#ab39a552ec8014a61ea8e539f2639d7de",tooltip="Test del atributo CurrentState y el método EditSate."]; - Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node4 [id="Node000004",label="LibraryTests.ChikoritaTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#a70ab22541afde74368b6a17125382a70",tooltip="Test del atributo CurrentState y el método EditSate."]; - Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node5 [id="Node000005",label="LibraryTests.GengarTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a31dd1a7be28f9435eee912af68f8fb5c",tooltip="Test del atributo CurrentState y el método EditSate."]; - Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node6 [id="Node000006",label="LibraryTests.HaxorusTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a2e99bec64ca83898555c877f74902b26",tooltip="Test del atributo CurrentState y el método EditSate."]; - Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node7 [id="Node000007",label="LibraryTests.MewtwoTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a22dff77c9f73538d9f290a414165a1bc",tooltip="Test del atributo CurrentState y el método EditSate."]; - Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node8 [id="Node000008",label="LibraryTests.ZeraoraTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a3e93f78d80c10921224626418b374686",tooltip="Test del atributo CurrentState y el método EditSate."]; - Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node9 [id="Node000009",label="Library.FullHealth.Use",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1FullHealth.html#a29002d67a7ba064d8d8d9e8330f4eb8f",tooltip="Le quita cualquier estado negativo al Pokemon."]; - Node9 -> Node10 [id="edge9_Node000009_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node10 [id="Node000010",label="LibraryTests.FullHealthTest.\lFullHealthCorrectUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FullHealthTest.html#a9647b8d51d0e1d9a61ee17feb8bc2ea4",tooltip="Test de pocion de curacion."]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lSpecialCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a3ac5d47b8a7ebd067ef03b81c8907802",tooltip="Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ..."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node5 -> Node6 [id="edge5_Node000005_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node5 -> Node7 [id="edge6_Node000005_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node5 -> Node8 [id="edge7_Node000005_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node5 -> Node9 [id="edge8_Node000005_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node5 -> Node10 [id="edge9_Node000005_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node5 -> Node11 [id="edge10_Node000005_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node5 -> Node12 [id="edge11_Node000005_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node5 -> Node13 [id="edge12_Node000005_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node5 -> Node14 [id="edge13_Node000005_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node5 -> Node15 [id="edge14_Node000005_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node5 -> Node16 [id="edge15_Node000005_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node5 -> Node17 [id="edge16_Node000005_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node5 -> Node18 [id="edge17_Node000005_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node4 -> Node19 [id="edge18_Node000004_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.GameTest.Test\lWinnerPlayer1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#a57bf287b4709e4ead91451a31c009692",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node4 -> Node20 [id="edge19_Node000004_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="LibraryTests.GameTest.Test\lWinnerPlayer2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#aa81b288826686b2b502032d0973b517f",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node3 -> Node21 [id="edge20_Node000003_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a25142733833a36fd79da48c53e80f225",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node3 -> Node22 [id="edge21_Node000003_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="LibraryTests.SpecialAttack\lTest.TestSpecialAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8",tooltip="Test de ataque especial."]; + Node2 -> Node23 [id="edge22_Node000002_Node000023",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a441bd820eda5da6d69edcc4e5b7d8752",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; + Node1 -> Node24 [id="edge23_Node000001_Node000024",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node24 [id="Node000024",label="LibraryTests.CaterpieTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#a611bdba831427668f0a3a31d5247563e",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node25 [id="edge24_Node000001_Node000025",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node25 [id="Node000025",label="LibraryTests.CharizardTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#ab39a552ec8014a61ea8e539f2639d7de",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node26 [id="edge25_Node000001_Node000026",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node26 [id="Node000026",label="LibraryTests.ChikoritaTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#a70ab22541afde74368b6a17125382a70",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node27 [id="edge26_Node000001_Node000027",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node27 [id="Node000027",label="LibraryTests.DragoniteTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#a57ceef29e42e17f60469a82d727f965d",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node28 [id="edge27_Node000001_Node000028",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node28 [id="Node000028",label="LibraryTests.EnteiTest.Test\lCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#ad8dbdc27468358184b3ccb430d7a2fda",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node29 [id="edge28_Node000001_Node000029",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node29 [id="Node000029",label="LibraryTests.GastrodonTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#a19a70acfa68c0fc126d13dfbcb88535f",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node30 [id="edge29_Node000001_Node000030",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node30 [id="Node000030",label="LibraryTests.GengarTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a31dd1a7be28f9435eee912af68f8fb5c",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node31 [id="edge30_Node000001_Node000031",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node31 [id="Node000031",label="LibraryTests.HaxorusTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a2e99bec64ca83898555c877f74902b26",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node32 [id="edge31_Node000001_Node000032",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node32 [id="Node000032",label="LibraryTests.HydreigonTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#ae8764629f4f30763ab06fd2a1af60059",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node33 [id="edge32_Node000001_Node000033",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node33 [id="Node000033",label="LibraryTests.MewtwoTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a22dff77c9f73538d9f290a414165a1bc",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node34 [id="edge33_Node000001_Node000034",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node34 [id="Node000034",label="LibraryTests.ZeraoraTest.\lTestCurrentStateAndEditState",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a3e93f78d80c10921224626418b374686",tooltip="Test del atributo CurrentState y el método EditSate."]; + Node1 -> Node35 [id="edge34_Node000001_Node000035",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node35 [id="Node000035",label="Library.FullHealth.Use",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1FullHealth.html#a29002d67a7ba064d8d8d9e8330f4eb8f",tooltip="Le quita cualquier estado negativo al Pokemon."]; + Node35 -> Node36 [id="edge35_Node000035_Node000036",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node36 [id="Node000036",label="LibraryTests.FullHealthTest.\lFullHealthCorrectUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FullHealthTest.html#a9647b8d51d0e1d9a61ee17feb8bc2ea4",tooltip="Test de pocion de curacion."]; + Node35 -> Node37 [id="edge36_Node000035_Node000037",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node37 [id="Node000037",label="LibraryTests.FullHealthTest.\lFullHealthNullPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FullHealthTest.html#a7012c7dc01031149d86ebdeed3bc690a",tooltip="Verifica que al intentar usar una FullHealth sobre un Pokemon nulo, el resultado sea nulo."]; + Node35 -> Node38 [id="edge37_Node000035_Node000038",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node38 [id="Node000038",label="LibraryTests.FullHealthTest.\lFullHealthUseOnHealthyPokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FullHealthTest.html#aea1efa1626c5fb3235041b34a82e56b5",tooltip="Verifica que al usar una FullHealth sobre un Pokemon sin estado negativo, el resultado sea un mensaje..."]; + Node1 -> Node39 [id="edge38_Node000001_Node000039",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node39 [id="Node000039",label="Library.FullHealth.Use",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1FullHealth.html#aef4385c929df1a68fb6eb20e32460094",tooltip="Le quita cualquier estado negativo al Pokemon."]; } diff --git a/docs/html/classLibrary_1_1Pokemon_a77bd0fac1537a76fbdfa1eebbe17f985_icgraph.dot b/docs/html/classLibrary_1_1Pokemon_a77bd0fac1537a76fbdfa1eebbe17f985_icgraph.dot index 57d0608..f8133d2 100644 --- a/docs/html/classLibrary_1_1Pokemon_a77bd0fac1537a76fbdfa1eebbe17f985_icgraph.dot +++ b/docs/html/classLibrary_1_1Pokemon_a77bd0fac1537a76fbdfa1eebbe17f985_icgraph.dot @@ -14,15 +14,33 @@ digraph "Library.Pokemon.GainLife" Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; Node4 [id="Node000004",label="LibraryTests.ChikoritaTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node5 [id="Node000005",label="LibraryTests.GengarTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node5 [id="Node000005",label="LibraryTests.DragoniteTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#a1dde17c1aea64ebdb75a983bf5f12b60",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node6 [id="Node000006",label="LibraryTests.HaxorusTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node6 [id="Node000006",label="LibraryTests.EnteiTest.Test\lRestoreBaseLifeTakeDamageAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#aa82a9c1b79b43ba188af744e543a4a50",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node7 [id="Node000007",label="LibraryTests.MewtwoTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node7 [id="Node000007",label="LibraryTests.GastrodonTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#a0c42f999522d5ccee0f79c9bfc8c3fdf",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node8 [id="Node000008",label="LibraryTests.ZeraoraTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node8 [id="Node000008",label="LibraryTests.GengarTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node9 [id="Node000009",label="Library.SuperPotion.Use",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1SuperPotion.html#a8cd462889e7028c7d0132023256380dc",tooltip="Suma 70 HP a la vida actual del Pokemon."]; - Node9 -> Node10 [id="edge9_Node000009_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node10 [id="Node000010",label="LibraryTests.SuperPotion\lTest.SuperPotionCorrectUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#a82b27fac16f96b33ccffd3df5567d001",tooltip="Test de pocion de curacion."]; + Node9 [id="Node000009",label="LibraryTests.HaxorusTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.HydreigonTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#a81eea89f8585fd3ee470a8c9fb192596",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.MewtwoTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node12 [id="edge11_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.ZeraoraTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node13 [id="edge12_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="Library.SuperPotion.Use",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1SuperPotion.html#a8cd462889e7028c7d0132023256380dc",tooltip="Suma 70 HP a la vida actual del Pokemon."]; + Node13 -> Node14 [id="edge13_Node000013_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.SuperPotion\lTest.NullPokemonTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#a526d5063ee58a185692f71924f5254bf",tooltip="Verifica que al intentar usar SuperPotion con un Pokemon nulo, el resultado sea nulo."]; + Node13 -> Node15 [id="edge14_Node000013_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.SuperPotion\lTest.SuperPotionCorrectUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#a82b27fac16f96b33ccffd3df5567d001",tooltip="Test de pocion de curacion."]; + Node13 -> Node16 [id="edge15_Node000013_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.SuperPotion\lTest.SuperPotionCorrectUse1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#a385213d9479541c22d0a314aff5169d2",tooltip="Verifica que SuperPotion recupere correctamente 70HP de un Pokemon después de recibir 60 puntos de da..."]; + Node13 -> Node17 [id="edge16_Node000013_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.SuperPotion\lTest.SuperPotionCorrectUse2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#a275ba27a5e3c499e582ec2bf7ee2c07c",tooltip="Verifica que SuperPotion recupere correctamente 70HP de un Pokemon después de recibir 80 puntos de da..."]; + Node13 -> Node18 [id="edge17_Node000013_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.SuperPotion\lTest.SuperPotionHealthyPokemonUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#afef0568233cc83fc53b45b75effb4180",tooltip="Verifica que SuperPotion no tenga efecto si el Pokemon ya tiene su vida completa, y que la vida del P..."]; + Node1 -> Node19 [id="edge18_Node000001_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="Library.SuperPotion.Use",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1SuperPotion.html#aae3ac88e1fc61191e70f6b9c54ec8588",tooltip="Suma 70 HP a la vida actual del Pokemon."]; } diff --git a/docs/html/classLibrary_1_1Pokemon_a7d75c0e46aae96acbbeee27639f365b4_icgraph.dot b/docs/html/classLibrary_1_1Pokemon_a7d75c0e46aae96acbbeee27639f365b4_icgraph.dot index d7c6e1e..d9de20f 100644 --- a/docs/html/classLibrary_1_1Pokemon_a7d75c0e46aae96acbbeee27639f365b4_icgraph.dot +++ b/docs/html/classLibrary_1_1Pokemon_a7d75c0e46aae96acbbeee27639f365b4_icgraph.dot @@ -9,34 +9,84 @@ digraph "Library.Pokemon.GetAttacks" Node1 [id="Node000001",label="Library.Pokemon.GetAttacks",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Devuelve la lista de ataques del Pokemon."]; Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; Node2 [id="Node000002",label="Library.Player.FindAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#ae71c6dd4e6de83f82e3b6629a2511248",tooltip="Devuelve un ataque de la lista de ataques del pokemon activo."]; - Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node3 [id="Node000003",label="Library.Player.GetPokemon\lAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded",tooltip="Devuelve un string con los nombres de todos los ataques del pokemon activo."]; - Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node4 [id="Node000004",label="LibraryTests.CaterpieTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#ac345214004dc7c0ab6303ecdfc663c6e",tooltip="Test de la limitación de movimientos que tiene Caterpie."]; - Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node5 [id="Node000005",label="LibraryTests.CharizardTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a86c58745fa752bfb3a931687fdc077da",tooltip="Test de la limitación de movimientos que tiene Charizard."]; - Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node6 [id="Node000006",label="LibraryTests.ChikoritaTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#abfbb286356c6decc46a40fa3a8e1c036",tooltip="Test de la limitación de movimientos que tiene Chikorita."]; - Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node7 [id="Node000007",label="LibraryTests.GengarTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254",tooltip="Test de la limitación de movimientos que tiene Gengar."]; - Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node8 [id="Node000008",label="LibraryTests.HaxorusTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05",tooltip="Test de la limitación de movimientos que tiene Haxorus."]; - Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node9 [id="Node000009",label="LibraryTests.MewtwoTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155",tooltip="Test de la limitación de movimientos que tiene Mewtwo."]; - Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node10 [id="Node000010",label="LibraryTests.ZeraoraTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825",tooltip="Test de la limitación de movimientos que tiene Zeraora."]; - Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node11 [id="Node000011",label="LibraryTests.CaterpieTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#aec8b91165973d59361fec4f9526e067e",tooltip="Test de la cantidad de ataques que tiene Caterpie."]; - Node1 -> Node12 [id="edge11_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node12 [id="Node000012",label="LibraryTests.CharizardTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a038f5e6d36efefe0f5bf7e61ef1567c5",tooltip="Test de la cantidad de ataques que tiene Charizard."]; - Node1 -> Node13 [id="edge12_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node13 [id="Node000013",label="LibraryTests.ChikoritaTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#aaa714a81ea1e7b6f9fa63e44b1ef6a50",tooltip="Test de la cantidad de ataques que tiene Chikorita."]; - Node1 -> Node14 [id="edge13_Node000001_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node14 [id="Node000014",label="LibraryTests.GengarTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#ab7f1d19b871f4487857193b35d89ec71",tooltip="Test de la cantidad de ataques que tiene Gengar."]; - Node1 -> Node15 [id="edge14_Node000001_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node15 [id="Node000015",label="LibraryTests.HaxorusTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#aaf2da21da69856ccb2f60eeb3324f93e",tooltip="Test de la cantidad de ataques que tiene Haxorus."]; - Node1 -> Node16 [id="edge15_Node000001_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node16 [id="Node000016",label="LibraryTests.MewtwoTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#ac8458736796b288ba65e4c34d2061bab",tooltip="Test de la cantidad de ataques que tiene Mewtwo."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node3 -> Node5 [id="edge4_Node000003_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node3 -> Node6 [id="edge5_Node000003_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node3 -> Node7 [id="edge6_Node000003_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node3 -> Node8 [id="edge7_Node000003_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node3 -> Node9 [id="edge8_Node000003_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node3 -> Node10 [id="edge9_Node000003_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node3 -> Node11 [id="edge10_Node000003_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node3 -> Node12 [id="edge11_Node000003_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node3 -> Node13 [id="edge12_Node000003_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node3 -> Node14 [id="edge13_Node000003_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node3 -> Node15 [id="edge14_Node000003_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node3 -> Node16 [id="edge15_Node000003_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; Node1 -> Node17 [id="edge16_Node000001_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node17 [id="Node000017",label="LibraryTests.ZeraoraTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#ac8f35530178a4ba6be4099881680420e",tooltip="Test de la cantidad de ataques que tiene Zeraora."]; + Node17 [id="Node000017",label="Library.Player.GetPokemon\lAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded",tooltip="Devuelve un string con los nombres de todos los ataques del pokemon activo."]; + Node17 -> Node18 [id="edge17_Node000017_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="Library.Facade.ShowAtacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a6734f40108ad2d62679d48933a14aefc",tooltip="Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador."]; + Node18 -> Node19 [id="edge18_Node000018_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="Library.Commands.ShowAttacks\lCommand.ExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ShowAttacksCommand.html#a6466a9979baa930d14799d06cf2eb72a",tooltip="Muestra los ataques disponibles del Pokemon activo del jugador."]; + Node18 -> Node20 [id="edge19_Node000018_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="LibraryTests.FacadeTest.\lTestUserStory2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6",tooltip="Test de la historia de usuario 2."]; + Node1 -> Node21 [id="edge20_Node000001_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.CaterpieTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#ac345214004dc7c0ab6303ecdfc663c6e",tooltip="Test de la limitación de movimientos que tiene Caterpie."]; + Node1 -> Node22 [id="edge21_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="LibraryTests.CharizardTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a86c58745fa752bfb3a931687fdc077da",tooltip="Test de la limitación de movimientos que tiene Charizard."]; + Node1 -> Node23 [id="edge22_Node000001_Node000023",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="LibraryTests.ChikoritaTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#abfbb286356c6decc46a40fa3a8e1c036",tooltip="Test de la limitación de movimientos que tiene Chikorita."]; + Node1 -> Node24 [id="edge23_Node000001_Node000024",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node24 [id="Node000024",label="LibraryTests.DragoniteTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#a4a278dc6b1cded4cbc74e201f2903b8f",tooltip="Test de la limitación de movimientos que tiene Dragonite."]; + Node1 -> Node25 [id="edge24_Node000001_Node000025",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node25 [id="Node000025",label="LibraryTests.EnteiTest.Test\lAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#a4c96874da4fff4aa6007982ccebfccd2",tooltip="Test de la limitación de movimientos que tiene Entei."]; + Node1 -> Node26 [id="edge25_Node000001_Node000026",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node26 [id="Node000026",label="LibraryTests.GastrodonTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#a3a61683d426fa53bea4d97cee82966ee",tooltip="Test de la limitación de movimientos que tiene Gastrodon."]; + Node1 -> Node27 [id="edge26_Node000001_Node000027",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node27 [id="Node000027",label="LibraryTests.GengarTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254",tooltip="Test de la limitación de movimientos que tiene Gengar."]; + Node1 -> Node28 [id="edge27_Node000001_Node000028",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node28 [id="Node000028",label="LibraryTests.HaxorusTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05",tooltip="Test de la limitación de movimientos que tiene Haxorus."]; + Node1 -> Node29 [id="edge28_Node000001_Node000029",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node29 [id="Node000029",label="LibraryTests.HydreigonTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#afe9e3eafb2d7fb8faa44f91e44f85eb6",tooltip="Test de la limitación de movimientos que tiene Hydreigon."]; + Node1 -> Node30 [id="edge29_Node000001_Node000030",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node30 [id="Node000030",label="LibraryTests.MewtwoTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155",tooltip="Test de la limitación de movimientos que tiene Mewtwo."]; + Node1 -> Node31 [id="edge30_Node000001_Node000031",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node31 [id="Node000031",label="LibraryTests.ZeraoraTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825",tooltip="Test de la limitación de movimientos que tiene Zeraora."]; + Node1 -> Node32 [id="edge31_Node000001_Node000032",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node32 [id="Node000032",label="LibraryTests.CaterpieTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#aec8b91165973d59361fec4f9526e067e",tooltip="Test de la cantidad de ataques que tiene Caterpie."]; + Node1 -> Node33 [id="edge32_Node000001_Node000033",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node33 [id="Node000033",label="LibraryTests.CharizardTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a038f5e6d36efefe0f5bf7e61ef1567c5",tooltip="Test de la cantidad de ataques que tiene Charizard."]; + Node1 -> Node34 [id="edge33_Node000001_Node000034",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node34 [id="Node000034",label="LibraryTests.ChikoritaTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#aaa714a81ea1e7b6f9fa63e44b1ef6a50",tooltip="Test de la cantidad de ataques que tiene Chikorita."]; + Node1 -> Node35 [id="edge34_Node000001_Node000035",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node35 [id="Node000035",label="LibraryTests.DragoniteTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#ae6cddc0b7f6ad7a52c8c0d739ae10a3f",tooltip="Test de la cantidad de ataques que tiene Dragonite."]; + Node1 -> Node36 [id="edge35_Node000001_Node000036",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node36 [id="Node000036",label="LibraryTests.EnteiTest.Test\lIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#a1a3b7af7512c576dab6c84231d7d8e53",tooltip="Test de la cantidad de ataques que tiene Entei."]; + Node1 -> Node37 [id="edge36_Node000001_Node000037",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node37 [id="Node000037",label="LibraryTests.GastrodonTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#ad25439bfc3837d20e7fb4c5bec6cec72",tooltip="Test de la cantidad de ataques que tiene Gastrodon."]; + Node1 -> Node38 [id="edge37_Node000001_Node000038",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node38 [id="Node000038",label="LibraryTests.GengarTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#ab7f1d19b871f4487857193b35d89ec71",tooltip="Test de la cantidad de ataques que tiene Gengar."]; + Node1 -> Node39 [id="edge38_Node000001_Node000039",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node39 [id="Node000039",label="LibraryTests.HaxorusTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#aaf2da21da69856ccb2f60eeb3324f93e",tooltip="Test de la cantidad de ataques que tiene Haxorus."]; + Node1 -> Node40 [id="edge39_Node000001_Node000040",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node40 [id="Node000040",label="LibraryTests.HydreigonTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#ae1c0ff6486acdde68ccf532b2bb6d018",tooltip="Test de la cantidad de ataques que tiene Hydreigon."]; + Node1 -> Node41 [id="edge40_Node000001_Node000041",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node41 [id="Node000041",label="LibraryTests.MewtwoTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#ac8458736796b288ba65e4c34d2061bab",tooltip="Test de la cantidad de ataques que tiene Mewtwo."]; + Node1 -> Node42 [id="edge41_Node000001_Node000042",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node42 [id="Node000042",label="LibraryTests.ZeraoraTest.\lTestIfItHasFourAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#ac8f35530178a4ba6be4099881680420e",tooltip="Test de la cantidad de ataques que tiene Zeraora."]; } diff --git a/docs/html/classLibrary_1_1Pokemon_ab6cbaeb20e371ec9049d2b53ed8c7e8c_icgraph.dot b/docs/html/classLibrary_1_1Pokemon_ab6cbaeb20e371ec9049d2b53ed8c7e8c_icgraph.dot index 9c8869a..c3d9c48 100644 --- a/docs/html/classLibrary_1_1Pokemon_ab6cbaeb20e371ec9049d2b53ed8c7e8c_icgraph.dot +++ b/docs/html/classLibrary_1_1Pokemon_ab6cbaeb20e371ec9049d2b53ed8c7e8c_icgraph.dot @@ -14,25 +14,33 @@ digraph "Library.Pokemon.FindAttackByName" Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; Node4 [id="Node000004",label="LibraryTests.ChikoritaTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#a44e2efc460aadb737ecf28f41468d5f4",tooltip="Test de los ataques que tiene Chikorita, confirmando que fueron creados correctamente."]; Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node5 [id="Node000005",label="LibraryTests.GengarTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a08d3c6ef6a8e07196ac116b81387dcc4",tooltip="Test de los ataques que tiene Gengar, confirmando que fueron creados correctamente."]; + Node5 [id="Node000005",label="LibraryTests.DragoniteTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#af8ab9b69eb28d8f16b9bff9acf66c6a8",tooltip="Test de metodo FindAttackByName y los ataques que tiene Dragonite, confirmando que fueron creados cor..."]; Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node6 [id="Node000006",label="LibraryTests.HaxorusTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a6c6774992316d17c0766a7f94fdba107",tooltip="Test de los ataques que tiene Haxorus, confirmando que fueron creados correctamente."]; + Node6 [id="Node000006",label="LibraryTests.EnteiTest.Test\lAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#affe8fa995b39ba759099a3ed98c8862f",tooltip="Test de metodo FindAttackByName y los ataques que tiene Entei, confirmando que fueron creados correct..."]; Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node7 [id="Node000007",label="LibraryTests.MewtwoTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a91a6d02cac5887e1eae62165e70f9cc7",tooltip="Test de los ataques que tiene Mewtwo, confirmando que fueron creados correctamente."]; + Node7 [id="Node000007",label="LibraryTests.GastrodonTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#aea1500daa3d27cbb44c13fb7c3bb7728",tooltip="Test de metodo FindAttackByName y los ataques que tiene Gastrodon, confirmando que fueron creados cor..."]; Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node8 [id="Node000008",label="LibraryTests.ZeraoraTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a795661d38e354292a5af622212e144de",tooltip="Test de los ataques que tiene Zeraora, confirmando que fueron creados correctamente."]; + Node8 [id="Node000008",label="LibraryTests.GengarTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a08d3c6ef6a8e07196ac116b81387dcc4",tooltip="Test de los ataques que tiene Gengar, confirmando que fueron creados correctamente."]; Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node9 [id="Node000009",label="LibraryTests.CaterpieTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#acbd1c374073ecdf652b15d496f000b32",tooltip="Test del método FindAttackByName."]; + Node9 [id="Node000009",label="LibraryTests.HaxorusTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a6c6774992316d17c0766a7f94fdba107",tooltip="Test de los ataques que tiene Haxorus, confirmando que fueron creados correctamente."]; Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node10 [id="Node000010",label="LibraryTests.CharizardTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a1063b391228e714452f3117fd9d4d8d8",tooltip="Test del método FindAttackByName."]; + Node10 [id="Node000010",label="LibraryTests.HydreigonTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#afbfc3df59f9b286a92be233c4808cd72",tooltip="Test de metodo FindAttackByName y los ataques que tiene Hydreigon, confirmando que fueron creados cor..."]; Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node11 [id="Node000011",label="LibraryTests.ChikoritaTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#a2a4ae1aec5f16073485dfc944ff918b2",tooltip="Test del método FindAttackByName."]; + Node11 [id="Node000011",label="LibraryTests.MewtwoTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a91a6d02cac5887e1eae62165e70f9cc7",tooltip="Test de los ataques que tiene Mewtwo, confirmando que fueron creados correctamente."]; Node1 -> Node12 [id="edge11_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node12 [id="Node000012",label="LibraryTests.GengarTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a0d017a884cbe408d8aa10036c52221a7",tooltip="Test del método FindAttackByName."]; + Node12 [id="Node000012",label="LibraryTests.ZeraoraTest.\lTestAttacks",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a795661d38e354292a5af622212e144de",tooltip="Test de los ataques que tiene Zeraora, confirmando que fueron creados correctamente."]; Node1 -> Node13 [id="edge12_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node13 [id="Node000013",label="LibraryTests.HaxorusTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a90943c2e7008575ccbab9d08dd616f33",tooltip="Test del método FindAttackByName."]; + Node13 [id="Node000013",label="LibraryTests.CaterpieTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#acbd1c374073ecdf652b15d496f000b32",tooltip="Test del método FindAttackByName."]; Node1 -> Node14 [id="edge13_Node000001_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node14 [id="Node000014",label="LibraryTests.MewtwoTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a4333dfbf8559385b8a2fe6880d182b77",tooltip="Test del método FindAttackByName."]; + Node14 [id="Node000014",label="LibraryTests.CharizardTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a1063b391228e714452f3117fd9d4d8d8",tooltip="Test del método FindAttackByName."]; Node1 -> Node15 [id="edge14_Node000001_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node15 [id="Node000015",label="LibraryTests.ZeraoraTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a80e159271af4cc546ee2712561b67392",tooltip="Test del método FindAttackByName."]; + Node15 [id="Node000015",label="LibraryTests.ChikoritaTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#a2a4ae1aec5f16073485dfc944ff918b2",tooltip="Test del método FindAttackByName."]; + Node1 -> Node16 [id="edge15_Node000001_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.GengarTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a0d017a884cbe408d8aa10036c52221a7",tooltip="Test del método FindAttackByName."]; + Node1 -> Node17 [id="edge16_Node000001_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.HaxorusTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a90943c2e7008575ccbab9d08dd616f33",tooltip="Test del método FindAttackByName."]; + Node1 -> Node18 [id="edge17_Node000001_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.MewtwoTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a4333dfbf8559385b8a2fe6880d182b77",tooltip="Test del método FindAttackByName."]; + Node1 -> Node19 [id="edge18_Node000001_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.ZeraoraTest.\lTestFindAttackByName",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a80e159271af4cc546ee2712561b67392",tooltip="Test del método FindAttackByName."]; } diff --git a/docs/html/classLibrary_1_1Pokemon_ad7ecbc1418ce8ce1310b9bb3737d62d6_icgraph.dot b/docs/html/classLibrary_1_1Pokemon_ad7ecbc1418ce8ce1310b9bb3737d62d6_icgraph.dot index 684500d..3180646 100644 --- a/docs/html/classLibrary_1_1Pokemon_ad7ecbc1418ce8ce1310b9bb3737d62d6_icgraph.dot +++ b/docs/html/classLibrary_1_1Pokemon_ad7ecbc1418ce8ce1310b9bb3737d62d6_icgraph.dot @@ -8,17 +8,37 @@ digraph "Library.Pokemon.GetLife" rankdir="RL"; Node1 [id="Node000001",label="Library.Pokemon.GetLife",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Devuele la vida del Pokemon en el formato vidaActual/vidaBase."]; Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node2 [id="Node000002",label="LibraryTests.CaterpieTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node3 [id="Node000003",label="LibraryTests.CharizardTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node4 [id="Node000004",label="LibraryTests.ChikoritaTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node5 [id="Node000005",label="LibraryTests.GengarTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node6 [id="Node000006",label="LibraryTests.HaxorusTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node7 [id="Node000007",label="LibraryTests.MewtwoTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node2 [id="Node000002",label="Library.Facade.ShowPokemonsHp",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a021e3e6d485a0cb0599f1821b49ef30c",tooltip="Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Commands.HpCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1HpCommand.html#af1980a2d6d596e48a2c7bdf5d25e5d9b",tooltip="Muestra la vida de los Pokemons del jugador que utiliza el comando si no se pasa el nombre del oponen..."]; + Node2 -> Node4 [id="edge3_Node000002_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="LibraryTests.FacadeTest.\lTestUserStory3",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817",tooltip="Test de la historia de usuario 3."]; + Node2 -> Node5 [id="edge4_Node000002_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="LibraryTests.FacadeTest.\lTestUserStory31Pokemon",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ad457dd01813745d9531ce7f619201084",tooltip="Verifica que se muestra el HP de los Pokemon del jugador y también si otro jugador no ha completado s..."]; + Node2 -> Node6 [id="edge5_Node000002_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node2 -> Node7 [id="edge6_Node000002_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory3NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac97c5863dec4cad34b9571fc6f9fbec2",tooltip="Verifica que si un jugador no está en ninguna partida, se muestra un mensaje de error al intentar ver..."]; Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node8 [id="Node000008",label="LibraryTests.ZeraoraTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node8 [id="Node000008",label="LibraryTests.CaterpieTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.CharizardTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.ChikoritaTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.DragoniteTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#a1dde17c1aea64ebdb75a983bf5f12b60",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node12 [id="edge11_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.EnteiTest.Test\lRestoreBaseLifeTakeDamageAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#aa82a9c1b79b43ba188af744e543a4a50",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node13 [id="edge12_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.GastrodonTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#a0c42f999522d5ccee0f79c9bfc8c3fdf",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node14 [id="edge13_Node000001_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.GengarTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node15 [id="edge14_Node000001_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.HaxorusTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node16 [id="edge15_Node000001_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.HydreigonTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#a81eea89f8585fd3ee470a8c9fb192596",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node17 [id="edge16_Node000001_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.MewtwoTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node18 [id="edge17_Node000001_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.ZeraoraTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; } diff --git a/docs/html/classLibrary_1_1Pokemon_af6dd4fd79bfeb99769976f6c26e497e5_icgraph.dot b/docs/html/classLibrary_1_1Pokemon_af6dd4fd79bfeb99769976f6c26e497e5_icgraph.dot index 4eb08c6..553cf67 100644 --- a/docs/html/classLibrary_1_1Pokemon_af6dd4fd79bfeb99769976f6c26e497e5_icgraph.dot +++ b/docs/html/classLibrary_1_1Pokemon_af6dd4fd79bfeb99769976f6c26e497e5_icgraph.dot @@ -8,23 +8,69 @@ digraph "Library.Pokemon.TakeDamage" rankdir="RL"; Node1 [id="Node000001",label="Library.Pokemon.TakeDamage",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta...."]; Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node2 [id="Node000002",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lCalculateDamage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a441bd820eda5da6d69edcc4e5b7d8752",tooltip="Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,..."]; Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node3 [id="Node000003",label="LibraryTests.ReviveTest.\lReviveCorrectUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ReviveTest.html#a8f3b3809f2f233cc9c617445031a1e5a",tooltip="Test de pocion de revivir."]; - Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node4 [id="Node000004",label="LibraryTests.SuperPotion\lTest.SuperPotionCorrectUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#a82b27fac16f96b33ccffd3df5567d001",tooltip="Test de pocion de curacion."]; - Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node5 [id="Node000005",label="LibraryTests.CaterpieTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node6 [id="Node000006",label="LibraryTests.CharizardTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node7 [id="Node000007",label="LibraryTests.ChikoritaTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node8 [id="Node000008",label="LibraryTests.GengarTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node9 [id="Node000009",label="LibraryTests.HaxorusTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node10 [id="Node000010",label="LibraryTests.MewtwoTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; - Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node11 [id="Node000011",label="LibraryTests.ZeraoraTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node3 [id="Node000003",label="Library.Game.ExecuteAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693",tooltip="Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d..."]; + Node3 -> Node4 [id="edge3_Node000003_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node4 [id="Node000004",label="Library.Facade.ChooseAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84",tooltip="Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti..."]; + Node4 -> Node5 [id="edge4_Node000004_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node5 [id="Node000005",label="Library.Commands.AttackCommand.\lExecuteAsync",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee",tooltip="Envía a la fachada un mensaje con el ataque a utilizar."]; + Node4 -> Node6 [id="edge5_Node000004_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node6 [id="Node000006",label="LibraryTests.FacadeTest.\lTestShowItems",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd",tooltip="Verifica que los items disponibles de un jugador se muestren correctamente."]; + Node4 -> Node7 [id="edge6_Node000004_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node7 [id="Node000007",label="LibraryTests.FacadeTest.\lTestUserStory3FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b",tooltip="Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ..."]; + Node4 -> Node8 [id="edge7_Node000004_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node8 [id="Node000008",label="LibraryTests.FacadeTest.\lTestUserStory4",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73",tooltip="Test de la historia de usuario 4."]; + Node4 -> Node9 [id="edge8_Node000004_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node9 [id="Node000009",label="LibraryTests.FacadeTest.\lTestUserStory4FullTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940",tooltip="Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e..."]; + Node4 -> Node10 [id="edge9_Node000004_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.FacadeTest.\lTestUserStory4IncompleteTeams",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107",tooltip="Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques."]; + Node4 -> Node11 [id="edge10_Node000004_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.FacadeTest.\lTestUserStory4Inmune",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node12 [id="edge11_Node000004_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.FacadeTest.\lTestUserStory4NotVeryEffective",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node13 [id="edge12_Node000004_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.FacadeTest.\lTestUserStory4NullPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e",tooltip="Verifica que un jugador no puede realizar un ataque si no está en una partida."]; + Node4 -> Node14 [id="edge13_Node000004_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node14 [id="Node000014",label="LibraryTests.FacadeTest.\lTestUserStory4SuperEffective\lAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8",tooltip="Verifica que se puede realizar daño en base a las efectividades."]; + Node4 -> Node15 [id="edge14_Node000004_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node15 [id="Node000015",label="LibraryTests.FacadeTest.\lTestUserStory6",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a",tooltip="Test de la historia de usuario 6."]; + Node4 -> Node16 [id="edge15_Node000004_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node16 [id="Node000016",label="LibraryTests.FacadeTest.\lTestUserStory6WinnerTest",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb",tooltip="Verifica que se muestre un mensaje indicando."]; + Node4 -> Node17 [id="edge16_Node000004_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node17 [id="Node000017",label="LibraryTests.FacadeTest.\lTestUserStory8ExpectedUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1",tooltip="Verifica que el jugador activo pueda usar un item correctamente."]; + Node3 -> Node18 [id="edge17_Node000003_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node18 [id="Node000018",label="LibraryTests.GameTest.Test\lWinnerPlayer1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#a57bf287b4709e4ead91451a31c009692",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node3 -> Node19 [id="edge18_Node000003_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node19 [id="Node000019",label="LibraryTests.GameTest.Test\lWinnerPlayer2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GameTest.html#aa81b288826686b2b502032d0973b517f",tooltip="Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ..."]; + Node1 -> Node20 [id="edge19_Node000001_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node20 [id="Node000020",label="LibraryTests.ReviveTest.\lReviveCorrectUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ReviveTest.html#a8f3b3809f2f233cc9c617445031a1e5a",tooltip="Test de pocion de revivir."]; + Node1 -> Node21 [id="edge20_Node000001_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node21 [id="Node000021",label="LibraryTests.SuperPotion\lTest.SuperPotionCorrectUse",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#a82b27fac16f96b33ccffd3df5567d001",tooltip="Test de pocion de curacion."]; + Node1 -> Node22 [id="edge21_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node22 [id="Node000022",label="LibraryTests.SuperPotion\lTest.SuperPotionCorrectUse1",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#a385213d9479541c22d0a314aff5169d2",tooltip="Verifica que SuperPotion recupere correctamente 70HP de un Pokemon después de recibir 60 puntos de da..."]; + Node1 -> Node23 [id="edge22_Node000001_Node000023",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node23 [id="Node000023",label="LibraryTests.SuperPotion\lTest.SuperPotionCorrectUse2",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1SuperPotionTest.html#a275ba27a5e3c499e582ec2bf7ee2c07c",tooltip="Verifica que SuperPotion recupere correctamente 70HP de un Pokemon después de recibir 80 puntos de da..."]; + Node1 -> Node24 [id="edge23_Node000001_Node000024",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node24 [id="Node000024",label="LibraryTests.CaterpieTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node25 [id="edge24_Node000001_Node000025",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node25 [id="Node000025",label="LibraryTests.CharizardTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node26 [id="edge25_Node000001_Node000026",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node26 [id="Node000026",label="LibraryTests.ChikoritaTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node27 [id="edge26_Node000001_Node000027",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node27 [id="Node000027",label="LibraryTests.DragoniteTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#a1dde17c1aea64ebdb75a983bf5f12b60",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node28 [id="edge27_Node000001_Node000028",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node28 [id="Node000028",label="LibraryTests.EnteiTest.Test\lRestoreBaseLifeTakeDamageAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#aa82a9c1b79b43ba188af744e543a4a50",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node29 [id="edge28_Node000001_Node000029",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node29 [id="Node000029",label="LibraryTests.GastrodonTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#a0c42f999522d5ccee0f79c9bfc8c3fdf",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node30 [id="edge29_Node000001_Node000030",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node30 [id="Node000030",label="LibraryTests.GengarTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node31 [id="edge30_Node000001_Node000031",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node31 [id="Node000031",label="LibraryTests.HaxorusTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node32 [id="edge31_Node000001_Node000032",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node32 [id="Node000032",label="LibraryTests.HydreigonTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#a81eea89f8585fd3ee470a8c9fb192596",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node33 [id="edge32_Node000001_Node000033",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node33 [id="Node000033",label="LibraryTests.MewtwoTest.\lTestRestoreBaseLifeTakeDamage\lAndGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; + Node1 -> Node34 [id="edge33_Node000001_Node000034",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node34 [id="Node000034",label="LibraryTests.ZeraoraTest.\lTestRestoreBaseLifeTakeDamageAnd\lGetLife",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249",tooltip="Test de los métodos RestoreBaseLife, TakeDamage y GetLife."]; } diff --git a/docs/html/classLibrary_1_1Pokemon_afb6abd5fc8418d94dbcad9bdc8820e33_icgraph.dot b/docs/html/classLibrary_1_1Pokemon_afb6abd5fc8418d94dbcad9bdc8820e33_icgraph.dot index ff58b90..9f68688 100644 --- a/docs/html/classLibrary_1_1Pokemon_afb6abd5fc8418d94dbcad9bdc8820e33_icgraph.dot +++ b/docs/html/classLibrary_1_1Pokemon_afb6abd5fc8418d94dbcad9bdc8820e33_icgraph.dot @@ -16,11 +16,19 @@ digraph "Library.Pokemon.AddAttack" Node1 -> Node5 [id="edge4_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "]; Node5 [id="Node000005",label="LibraryTests.ChikoritaTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ChikoritaTest.html#abfbb286356c6decc46a40fa3a8e1c036",tooltip="Test de la limitación de movimientos que tiene Chikorita."]; Node1 -> Node6 [id="edge5_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node6 [id="Node000006",label="LibraryTests.GengarTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254",tooltip="Test de la limitación de movimientos que tiene Gengar."]; + Node6 [id="Node000006",label="LibraryTests.DragoniteTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1DragoniteTest.html#a4a278dc6b1cded4cbc74e201f2903b8f",tooltip="Test de la limitación de movimientos que tiene Dragonite."]; Node1 -> Node7 [id="edge6_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node7 [id="Node000007",label="LibraryTests.HaxorusTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05",tooltip="Test de la limitación de movimientos que tiene Haxorus."]; + Node7 [id="Node000007",label="LibraryTests.EnteiTest.Test\lAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1EnteiTest.html#a4c96874da4fff4aa6007982ccebfccd2",tooltip="Test de la limitación de movimientos que tiene Entei."]; Node1 -> Node8 [id="edge7_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node8 [id="Node000008",label="LibraryTests.MewtwoTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155",tooltip="Test de la limitación de movimientos que tiene Mewtwo."]; + Node8 [id="Node000008",label="LibraryTests.GastrodonTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GastrodonTest.html#a3a61683d426fa53bea4d97cee82966ee",tooltip="Test de la limitación de movimientos que tiene Gastrodon."]; Node1 -> Node9 [id="edge8_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" "]; - Node9 [id="Node000009",label="LibraryTests.ZeraoraTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825",tooltip="Test de la limitación de movimientos que tiene Zeraora."]; + Node9 [id="Node000009",label="LibraryTests.GengarTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254",tooltip="Test de la limitación de movimientos que tiene Gengar."]; + Node1 -> Node10 [id="edge9_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node10 [id="Node000010",label="LibraryTests.HaxorusTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05",tooltip="Test de la limitación de movimientos que tiene Haxorus."]; + Node1 -> Node11 [id="edge10_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node11 [id="Node000011",label="LibraryTests.HydreigonTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1HydreigonTest.html#afe9e3eafb2d7fb8faa44f91e44f85eb6",tooltip="Test de la limitación de movimientos que tiene Hydreigon."]; + Node1 -> Node12 [id="edge11_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node12 [id="Node000012",label="LibraryTests.MewtwoTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155",tooltip="Test de la limitación de movimientos que tiene Mewtwo."]; + Node1 -> Node13 [id="edge12_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node13 [id="Node000013",label="LibraryTests.ZeraoraTest.\lTestAddAFifthAttack",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825",tooltip="Test de la limitación de movimientos que tiene Zeraora."]; } diff --git a/docs/html/classLibrary_1_1Revive-members.html b/docs/html/classLibrary_1_1Revive-members.html index c795306..2dcbde5 100644 --- a/docs/html/classLibrary_1_1Revive-members.html +++ b/docs/html/classLibrary_1_1Revive-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Scyther Member List
+
+
+ +

This is the complete list of members for Library.Scyther, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddAttack(IAttack attack)Library.Pokemon
AddAttack(IAttack attack)Library.Pokemon
AsleepTurnsLibrary.Pokemon
BaseLifeLibrary.Pokemon
CurrentLifeLibrary.Pokemon
CurrentStateLibrary.Pokemon
EditState(State? state)Library.Pokemon
EditState(State? state)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
FindAttackByName(string attackString)Library.Pokemon
GainLife(double hp)Library.Pokemon
GainLife(double hp)Library.Pokemon
GetAttacks()Library.Pokemon
GetAttacks()Library.Pokemon
GetLife()Library.Pokemon
GetLife()Library.Pokemon
GetTypes()Library.Pokemon
GetTypes()Library.Pokemon
Instance()Library.Scyther
NameLibrary.Pokemon
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)Library.Pokemonprotected
Scyther()Library.Scyther
SetAsleepTurns()Library.Pokemon
TakeDamage(double damage)Library.Pokemon
TakeDamage(double damage)Library.Pokemon
+
+ + + + diff --git a/docs/html/classLibrary_1_1Scyther.html b/docs/html/classLibrary_1_1Scyther.html new file mode 100644 index 0000000..0a3b028 --- /dev/null +++ b/docs/html/classLibrary_1_1Scyther.html @@ -0,0 +1,285 @@ + + + + + + + +Object Lifecycle: Library.Scyther Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Scyther Class Reference
+
+
+ +

Esta clase representa el Pokemon Scyther. Al ser un Pokemon hereda de la clase Pokemon. + More...

+
+Inheritance diagram for Library.Scyther:
+
+
+
+
+Collaboration diagram for Library.Scyther:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Scyther ()
 Constructor de Scyther, implementa el patron GRASP creator.
 
override Pokemon Instance ()
 Este método retorna una copia del pokemon aplicando así, el patrón prototype.
 
- Public Member Functions inherited from Library.Pokemon
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 
void GainLife (double hp)
 Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida base del Pokemon.
 
void SetAsleepTurns ()
 Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido.
 
void TakeDamage (double damage)
 Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta. Si la resta es menor a 0, le asigna 0 a la vida actual.
 
string GetLife ()
 Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
 
List< IAttackGetAttacks ()
 Devuelve la lista de ataques del Pokemon.
 
List< TypeGetTypes ()
 Devuelve la lista de tipos del Pokemon.
 
void EditState (State? state)
 Actualiza el currentState del pokemon.
 
void AddAttack (IAttack attack)
 Añade un ataque a la lista de ataques del pokemon.
 
Attack FindAttackByName (string attackString)
 Busca un ataque dentro de la lista de ataques comparando el nombre.
 
+Pokemon Instance ()
 Método abstracto para obtener una nueva instancia del Pokemon deseado. Aplicando así el patrón prototype.
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Library.Pokemon
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
 Pokemon (string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
 Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a crear. Inicializa el estado actual en null y los turnos dormido en 0.
 
- Properties inherited from Library.Pokemon
string Name [get, set]
 Nombre del Pokemon.
 
StateCurrentState [get, set]
 Estado actual de un pokemon.
 
int AsleepTurns [get, set]
 Cantidad de turnos que el Pokemon está dormido.
 
double BaseLife [get]
 Vida base del Pokemon.
 
double CurrentLife [get, set]
 Vida actual del Pokemon.
 
+

Detailed Description

+

Esta clase representa el Pokemon Scyther. Al ser un Pokemon hereda de la clase Pokemon.

+ +

Definition at line 7 of file Scyther.cs.

+

Constructor & Destructor Documentation

+ +

◆ Scyther()

+ +
+
+ + + + + + + +
Library.Scyther.Scyther ()
+
+ +

Constructor de Scyther, implementa el patron GRASP creator.

+ +

Definition at line 12 of file Scyther.cs.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+

Member Function Documentation

+ +

◆ Instance()

+ +
+
+ + + + + + + +
override Pokemon Library.Scyther.Instance ()
+
+ +

Este método retorna una copia del pokemon aplicando así, el patrón prototype.

+
Returns
Pokemon del subtipo Scyther
+ +

Definition at line 23 of file Scyther.cs.

+
+Here is the call graph for this function:
+
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Scyther.js b/docs/html/classLibrary_1_1Scyther.js new file mode 100644 index 0000000..4697765 --- /dev/null +++ b/docs/html/classLibrary_1_1Scyther.js @@ -0,0 +1,5 @@ +var classLibrary_1_1Scyther = +[ + [ "Scyther", "classLibrary_1_1Scyther.html#a3be06ea43e2279e166aff624adbccb31", null ], + [ "Instance", "classLibrary_1_1Scyther.html#afff42f2e0ec7d5f39d177e5b1312099a", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Scyther__coll__graph.dot b/docs/html/classLibrary_1_1Scyther__coll__graph.dot new file mode 100644 index 0000000..fa2836b --- /dev/null +++ b/docs/html/classLibrary_1_1Scyther__coll__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Scyther" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Scyther
 
+Scyther()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Scyther. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Scyther__inherit__graph.dot b/docs/html/classLibrary_1_1Scyther__inherit__graph.dot new file mode 100644 index 0000000..fa2836b --- /dev/null +++ b/docs/html/classLibrary_1_1Scyther__inherit__graph.dot @@ -0,0 +1,42 @@ +digraph "Library.Scyther" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + +
Library.Scyther
 
+Scyther()
+Instance()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa el Pokemon Scyther. Al ser un Pokemon hereda de la clase Pokemon."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ + + + + + + +
+ + + + + + + + + + + + + +
Pokemon
+Name
+Attacks
+Type
+CurrentState
+AsleepTurns
+BaseLife
+CurrentLife
+GainLife()
+TakeDamage()
+GetLife()
+GetAttacks()
+GetTypes()
+EditState()
+AddAttack()
+FindAttackByName()
+Instance()
+GainLife()
and 9 more...
#Pokemon()
#Pokemon()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Pokemon.html",tooltip="Esta clase representa un Pokemon."]; +} diff --git a/docs/html/classLibrary_1_1Scyther_a3be06ea43e2279e166aff624adbccb31_icgraph.dot b/docs/html/classLibrary_1_1Scyther_a3be06ea43e2279e166aff624adbccb31_icgraph.dot new file mode 100644 index 0000000..613b262 --- /dev/null +++ b/docs/html/classLibrary_1_1Scyther_a3be06ea43e2279e166aff624adbccb31_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Scyther.Scyther" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Scyther.Scyther",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Constructor de Scyther, implementa el patron GRASP creator."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Scyther.Instance",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Scyther.html#afff42f2e0ec7d5f39d177e5b1312099a",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; +} diff --git a/docs/html/classLibrary_1_1Scyther_afff42f2e0ec7d5f39d177e5b1312099a_cgraph.dot b/docs/html/classLibrary_1_1Scyther_afff42f2e0ec7d5f39d177e5b1312099a_cgraph.dot new file mode 100644 index 0000000..327a86e --- /dev/null +++ b/docs/html/classLibrary_1_1Scyther_afff42f2e0ec7d5f39d177e5b1312099a_cgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Scyther.Instance" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="LR"; + Node1 [id="Node000001",label="Library.Scyther.Instance",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método retorna una copia del pokemon aplicando así, el patrón prototype."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Scyther.Scyther",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Scyther.html#a3be06ea43e2279e166aff624adbccb31",tooltip="Constructor de Scyther, implementa el patron GRASP creator."]; +} diff --git a/docs/html/classLibrary_1_1SpecialAttack-members.html b/docs/html/classLibrary_1_1SpecialAttack-members.html index 0625b3f..86e9f7d 100644 --- a/docs/html/classLibrary_1_1SpecialAttack-members.html +++ b/docs/html/classLibrary_1_1SpecialAttack-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Strategies.StrategyAlwaysCrit Member List
+
+
+ +

This is the complete list of members for Library.Strategies.StrategyAlwaysCrit, including all inherited members.

+ + +
CriticalCheck()Library.Strategies.StrategyAlwaysCrit
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html new file mode 100644 index 0000000..f5aca26 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html @@ -0,0 +1,168 @@ + + + + + + + +Object Lifecycle: Library.Strategies.StrategyAlwaysCrit Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Strategies.StrategyAlwaysCrit Class Reference
+
+
+ +

Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon. Al ser una estrategia que determina el daño crítico, implementa la interfaz IStrategyCritCheck. + More...

+
+Inheritance diagram for Library.Strategies.StrategyAlwaysCrit:
+
+
+
+
+Collaboration diagram for Library.Strategies.StrategyAlwaysCrit:
+
+
+
+ + + + + + +

+Public Member Functions

double CriticalCheck ()
 El método de esta estrategia siempre va a determinar que todos los ataques hechos por un pokemon son críticos.
 
- Public Member Functions inherited from Library.Strategies.IStrategyCritCheck
+

Detailed Description

+

Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon. Al ser una estrategia que determina el daño crítico, implementa la interfaz IStrategyCritCheck.

+ +

Definition at line 7 of file StrategyAlwaysCrit.cs.

+

Member Function Documentation

+ +

◆ CriticalCheck()

+ +
+
+ + + + + + + +
double Library.Strategies.StrategyAlwaysCrit.CriticalCheck ()
+
+ +

El método de esta estrategia siempre va a determinar que todos los ataques hechos por un pokemon son críticos.

+
Returns
Un valor double: 1.20. Determinando así que el golpe siempre es crítico
+ +

Implements Library.Strategies.IStrategyCritCheck.

+ +

Definition at line 13 of file StrategyAlwaysCrit.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.js b/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.js new file mode 100644 index 0000000..d464300 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Strategies_1_1StrategyAlwaysCrit = +[ + [ "CriticalCheck", "classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html#a94a0f129345faf61790a674ffc3a6dcc", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit__coll__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit__coll__graph.dot new file mode 100644 index 0000000..7ebc469 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyAlwaysCrit" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
AlwaysCrit
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon...."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyCritCheck
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit__inherit__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit__inherit__graph.dot new file mode 100644 index 0000000..7ebc469 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyAlwaysCrit__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyAlwaysCrit" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
AlwaysCrit
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon...."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyCritCheck
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit-members.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit-members.html new file mode 100644 index 0000000..bb9e9de --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Strategies.StrategyNonCrit Member List
+
+
+ +

This is the complete list of members for Library.Strategies.StrategyNonCrit, including all inherited members.

+ + +
CriticalCheck()Library.Strategies.StrategyNonCrit
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit.html new file mode 100644 index 0000000..6a9fd3a --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit.html @@ -0,0 +1,168 @@ + + + + + + + +Object Lifecycle: Library.Strategies.StrategyNonCrit Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Strategies.StrategyNonCrit Class Reference
+
+
+ +

Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon. Al ser una estrategia que determina el daño crítico, implementa la interfaz IStrategyCritCheck. + More...

+
+Inheritance diagram for Library.Strategies.StrategyNonCrit:
+
+
+
+
+Collaboration diagram for Library.Strategies.StrategyNonCrit:
+
+
+
+ + + + + + +

+Public Member Functions

double CriticalCheck ()
 El método de esta estrategia siempre va a determinar que todos los ataques hechos por un pokemon no sean críticos.
 
- Public Member Functions inherited from Library.Strategies.IStrategyCritCheck
+

Detailed Description

+

Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon. Al ser una estrategia que determina el daño crítico, implementa la interfaz IStrategyCritCheck.

+ +

Definition at line 7 of file StrategyNonCrit.cs.

+

Member Function Documentation

+ +

◆ CriticalCheck()

+ +
+
+ + + + + + + +
double Library.Strategies.StrategyNonCrit.CriticalCheck ()
+
+ +

El método de esta estrategia siempre va a determinar que todos los ataques hechos por un pokemon no sean críticos.

+
Returns
Un valor double: 1.0. Determinando así que el golpe nunca es crítico
+ +

Implements Library.Strategies.IStrategyCritCheck.

+ +

Definition at line 15 of file StrategyNonCrit.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit.js b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit.js new file mode 100644 index 0000000..f798710 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Strategies_1_1StrategyNonCrit = +[ + [ "CriticalCheck", "classLibrary_1_1Strategies_1_1StrategyNonCrit.html#a0084cc3ea0685b6a93186a61014e0f28", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit__coll__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit__coll__graph.dot new file mode 100644 index 0000000..b6ec629 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyNonCrit" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
NonCrit
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon...."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyCritCheck
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit__inherit__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit__inherit__graph.dot new file mode 100644 index 0000000..b6ec629 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyNonCrit__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyNonCrit" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
NonCrit
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon...."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyCritCheck
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart-members.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart-members.html new file mode 100644 index 0000000..a3598b5 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Strategies.StrategyPlayerOneStart Member List
+
+
+ +

This is the complete list of members for Library.Strategies.StrategyPlayerOneStart, including all inherited members.

+ + +
StartingPlayer()Library.Strategies.StrategyPlayerOneStart
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html new file mode 100644 index 0000000..b1ab143 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html @@ -0,0 +1,168 @@ + + + + + + + +Object Lifecycle: Library.Strategies.StrategyPlayerOneStart Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Strategies.StrategyPlayerOneStart Class Reference
+
+
+ +

Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turno. Al ser una estrategia que determina quién va a ser el jugador que tenga el primer turno, implementa la interfaz IStrategyStartingPlayer. + More...

+
+Inheritance diagram for Library.Strategies.StrategyPlayerOneStart:
+
+
+
+
+Collaboration diagram for Library.Strategies.StrategyPlayerOneStart:
+
+
+
+ + + + + + +

+Public Member Functions

int StartingPlayer ()
 El método de esta estrategia siempre va a determinar que el primer jugador en la lista de la partida comienza.
 
- Public Member Functions inherited from Library.Strategies.IStrategyStartingPlayer
+

Detailed Description

+

Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turno. Al ser una estrategia que determina quién va a ser el jugador que tenga el primer turno, implementa la interfaz IStrategyStartingPlayer.

+ +

Definition at line 6 of file StrategyPlayerOneStart.cs.

+

Member Function Documentation

+ +

◆ StartingPlayer()

+ +
+
+ + + + + + + +
int Library.Strategies.StrategyPlayerOneStart.StartingPlayer ()
+
+ +

El método de esta estrategia siempre va a determinar que el primer jugador en la lista de la partida comienza.

+
Returns
int 0 representando el primer elemento de la lista
+ +

Implements Library.Strategies.IStrategyStartingPlayer.

+ +

Definition at line 12 of file StrategyPlayerOneStart.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.js b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.js new file mode 100644 index 0000000..153614b --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Strategies_1_1StrategyPlayerOneStart = +[ + [ "StartingPlayer", "classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html#ae03f51ce26d1dcf7e0c2dd140e5d7c08", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart__coll__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart__coll__graph.dot new file mode 100644 index 0000000..ef36cad --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyPlayerOneStart" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
PlayerOneStart
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyStartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart__inherit__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart__inherit__graph.dot new file mode 100644 index 0000000..ef36cad --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerOneStart__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyPlayerOneStart" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
PlayerOneStart
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyStartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart-members.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart-members.html new file mode 100644 index 0000000..a0139ad --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Strategies.StrategyPlayerTwoStart Member List
+
+
+ +

This is the complete list of members for Library.Strategies.StrategyPlayerTwoStart, including all inherited members.

+ + +
StartingPlayer()Library.Strategies.StrategyPlayerTwoStart
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html new file mode 100644 index 0000000..c069322 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html @@ -0,0 +1,168 @@ + + + + + + + +Object Lifecycle: Library.Strategies.StrategyPlayerTwoStart Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Strategies.StrategyPlayerTwoStart Class Reference
+
+
+ +

Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turno. Al ser una estrategia que determina quién va a ser el jugador que tenga el primer turno, implementa la interfaz IStrategyStartingPlayer. + More...

+
+Inheritance diagram for Library.Strategies.StrategyPlayerTwoStart:
+
+
+
+
+Collaboration diagram for Library.Strategies.StrategyPlayerTwoStart:
+
+
+
+ + + + + + +

+Public Member Functions

int StartingPlayer ()
 El método de esta estrategia siempre va a determinar que el segundo jugador en la lista de la partida comienza.
 
- Public Member Functions inherited from Library.Strategies.IStrategyStartingPlayer
+

Detailed Description

+

Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turno. Al ser una estrategia que determina quién va a ser el jugador que tenga el primer turno, implementa la interfaz IStrategyStartingPlayer.

+ +

Definition at line 6 of file StrategyPlayerTwoStart.cs.

+

Member Function Documentation

+ +

◆ StartingPlayer()

+ +
+
+ + + + + + + +
int Library.Strategies.StrategyPlayerTwoStart.StartingPlayer ()
+
+ +

El método de esta estrategia siempre va a determinar que el segundo jugador en la lista de la partida comienza.

+
Returns
int 0 representando el primer elemento de la lista
+ +

Implements Library.Strategies.IStrategyStartingPlayer.

+ +

Definition at line 12 of file StrategyPlayerTwoStart.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.js b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.js new file mode 100644 index 0000000..5c66445 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart = +[ + [ "StartingPlayer", "classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html#ae34b8c8463695bbd8e76f1fc287ce6ef", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart__coll__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart__coll__graph.dot new file mode 100644 index 0000000..19ee9a8 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyPlayerTwoStart" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
PlayerTwoStart
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyStartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart__inherit__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart__inherit__graph.dot new file mode 100644 index 0000000..19ee9a8 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyPlayerTwoStart" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
PlayerTwoStart
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyStartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit-members.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit-members.html new file mode 100644 index 0000000..9b3607d --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Strategies.StrategyRandomCrit Member List
+
+
+ +

This is the complete list of members for Library.Strategies.StrategyRandomCrit, including all inherited members.

+ + +
CriticalCheck()Library.Strategies.StrategyRandomCrit
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit.html new file mode 100644 index 0000000..baf7d85 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit.html @@ -0,0 +1,170 @@ + + + + + + + +Object Lifecycle: Library.Strategies.StrategyRandomCrit Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Strategies.StrategyRandomCrit Class Reference
+
+
+ +

Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon. Al ser una estrategia que determina el daño crítico, implementa la interfaz IStrategyCritCheck. + More...

+
+Inheritance diagram for Library.Strategies.StrategyRandomCrit:
+
+
+
+
+Collaboration diagram for Library.Strategies.StrategyRandomCrit:
+
+
+
+ + + + + + +

+Public Member Functions

double CriticalCheck ()
 Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria.
 
- Public Member Functions inherited from Library.Strategies.IStrategyCritCheck
+

Detailed Description

+

Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon. Al ser una estrategia que determina el daño crítico, implementa la interfaz IStrategyCritCheck.

+ +

Definition at line 7 of file StrategyRandomCrit.cs.

+

Member Function Documentation

+ +

◆ CriticalCheck()

+ +
+
+ + + + + + + +
double Library.Strategies.StrategyRandomCrit.CriticalCheck ()
+
+ +

Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria.

+
Returns
Un valor double: 1.20 si el ataque es crítico (10% de probabilidad), o 1.0 si no es crítico.
+


+

+ +

Implements Library.Strategies.IStrategyCritCheck.

+ +

Definition at line 17 of file StrategyRandomCrit.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit.js b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit.js new file mode 100644 index 0000000..1c17670 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Strategies_1_1StrategyRandomCrit = +[ + [ "CriticalCheck", "classLibrary_1_1Strategies_1_1StrategyRandomCrit.html#a1b7bca323f6a35eea849b8724a3b7515", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit__coll__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit__coll__graph.dot new file mode 100644 index 0000000..779518c --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyRandomCrit" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
RandomCrit
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon...."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyCritCheck
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit__inherit__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit__inherit__graph.dot new file mode 100644 index 0000000..779518c --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomCrit__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyRandomCrit" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
RandomCrit
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon...."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyCritCheck
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer-members.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer-members.html new file mode 100644 index 0000000..8c2cce6 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Strategies.StrategyRandomStartingPlayer Member List
+
+
+ +

This is the complete list of members for Library.Strategies.StrategyRandomStartingPlayer, including all inherited members.

+ + +
StartingPlayer()Library.Strategies.StrategyRandomStartingPlayer
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html new file mode 100644 index 0000000..e5fb58c --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html @@ -0,0 +1,168 @@ + + + + + + + +Object Lifecycle: Library.Strategies.StrategyRandomStartingPlayer Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Strategies.StrategyRandomStartingPlayer Class Reference
+
+
+ +

Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turno. Al ser una estrategia que determina quién va a ser el jugador que tenga el primer turno, implementa la interfaz IStrategyStartingPlayer. + More...

+
+Inheritance diagram for Library.Strategies.StrategyRandomStartingPlayer:
+
+
+
+
+Collaboration diagram for Library.Strategies.StrategyRandomStartingPlayer:
+
+
+
+ + + + + + +

+Public Member Functions

int StartingPlayer ()
 El método de esta estrategia siempre va a determinar aleatoriamente qué jugador en la lista de la partida comienza.
 
- Public Member Functions inherited from Library.Strategies.IStrategyStartingPlayer
+

Detailed Description

+

Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turno. Al ser una estrategia que determina quién va a ser el jugador que tenga el primer turno, implementa la interfaz IStrategyStartingPlayer.

+ +

Definition at line 6 of file StrategyRandomStartingPlayer.cs.

+

Member Function Documentation

+ +

◆ StartingPlayer()

+ +
+
+ + + + + + + +
int Library.Strategies.StrategyRandomStartingPlayer.StartingPlayer ()
+
+ +

El método de esta estrategia siempre va a determinar aleatoriamente qué jugador en la lista de la partida comienza.

+
Returns
int 0 o 1. Representando el primer y segundo elemento de la lista de jugadores
+ +

Implements Library.Strategies.IStrategyStartingPlayer.

+ +

Definition at line 13 of file StrategyRandomStartingPlayer.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.js b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.js new file mode 100644 index 0000000..c0d4e4c --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.js @@ -0,0 +1,4 @@ +var classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer = +[ + [ "StartingPlayer", "classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html#a28d880527eb6cb516c38135613c6cddf", null ] +]; \ No newline at end of file diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer__coll__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer__coll__graph.dot new file mode 100644 index 0000000..5914de6 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyRandomStartingPlayer" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
RandomStartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyStartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer__inherit__graph.dot b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer__inherit__graph.dot new file mode 100644 index 0000000..5914de6 --- /dev/null +++ b/docs/html/classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Library.Strategies.StrategyRandomStartingPlayer" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
RandomStartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn..."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
IStrategyStartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/classLibrary_1_1SuperPotion-members.html b/docs/html/classLibrary_1_1SuperPotion-members.html index eca508d..a168e68 100644 --- a/docs/html/classLibrary_1_1SuperPotion-members.html +++ b/docs/html/classLibrary_1_1SuperPotion-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ModuleBase Class Reference
+
+
+
+Inheritance diagram for ModuleBase:
+
+
+
+
+Collaboration diagram for ModuleBase:
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classModuleBase__coll__graph.dot b/docs/html/classModuleBase__coll__graph.dot new file mode 100644 index 0000000..d3370ca --- /dev/null +++ b/docs/html/classModuleBase__coll__graph.dot @@ -0,0 +1,15 @@ +digraph "ModuleBase" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
ModuleBase
 
 
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "]; +} diff --git a/docs/html/classModuleBase__inherit__graph.dot b/docs/html/classModuleBase__inherit__graph.dot new file mode 100644 index 0000000..9a45f92 --- /dev/null +++ b/docs/html/classModuleBase__inherit__graph.dot @@ -0,0 +1,205 @@ +digraph "ModuleBase" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
ModuleBase
 
 
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
Library.Commands.AttackCommand
< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1AttackCommand.html",tooltip="Esta clase implementa el comando 'attack' del bot."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node3 [id="Node000003",shape=plain,label=< +
+ +
+ + +
Library.Commands.BattleCommand
< SocketCommandContext >
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1BattleCommand.html",tooltip="Esta clase implementa el comando 'battle' del bot. Este comando une al jugador que envía el mensaje c..."]; + Node1 -> Node3 [id="edge3_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node4 [id="edge4_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node4 [id="Node000004",shape=plain,label=< +
+ +
+ +
Library.Commands.Catalogue
Command< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1CatalogueCommand.html",tooltip="Esta clase implementa el comando 'catalogue' del bot."]; + Node1 -> Node5 [id="edge5_Node000001_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node5 [id="Node000005",shape=plain,label=< +
+ +
+ +
Library.Commands.ChangeCommand
< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ChangeCommand.html",tooltip="Esta clase implementa el comando 'change' del bot."]; + Node1 -> Node6 [id="edge6_Node000001_Node000006",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node6 [id="Node000006",shape=plain,label=< +
+ +
+ +
Library.Commands.CheckTurn
Command< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1CheckTurnCommand.html",tooltip="Esta clase implementa el comando 'checkturn' del bot."]; + Node1 -> Node7 [id="edge7_Node000001_Node000007",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node7 [id="Node000007",shape=plain,label=< +
+ +
+ +
Library.Commands.ChooseCommand
< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ChooseCommand.html",tooltip="Esta clase implementa el comando 'choose' del bot."]; + Node1 -> Node8 [id="edge8_Node000001_Node000008",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node8 [id="Node000008",shape=plain,label=< +
+ +
+ +
Library.Commands.ChooseRandom
Command< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ChooseRandomCommand.html",tooltip="Esta clase implementa el comando 'chooserandom' del bot."]; + Node1 -> Node9 [id="edge9_Node000001_Node000009",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node9 [id="Node000009",shape=plain,label=< +
+ +
+ +
Library.Commands.HelpCommand
< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1HelpCommand.html",tooltip="Esta clase implementa el comando 'help' del bot."]; + Node1 -> Node10 [id="edge10_Node000001_Node000010",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node10 [id="Node000010",shape=plain,label=< +
+ +
+ +
Library.Commands.HpCommand
< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1HpCommand.html",tooltip="Esta clase implementa el comando 'hp' del bot."]; + Node1 -> Node11 [id="edge11_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node11 [id="Node000011",shape=plain,label=< +
+ +
+ + +
Library.Commands.JoinCommand
< SocketCommandContext >
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1JoinCommand.html",tooltip="Esta clase implementa el comando 'join' del bot. Este comando une al jugador que envía el mensaje a l..."]; + Node1 -> Node11 [id="edge12_Node000001_Node000011",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node12 [id="edge13_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node12 [id="Node000012",shape=plain,label=< +
+ +
+ + +
Library.Commands.LeaveCommand
< SocketCommandContext >
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1LeaveCommand.html",tooltip="Esta clase implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaj..."]; + Node1 -> Node12 [id="edge14_Node000001_Node000012",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node13 [id="edge15_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node13 [id="Node000013",shape=plain,label=< +
+ +
+ + + + +
Library.Commands.Pokemon
NameCommand< SocketCommandContext >
 
+PokemonNameCommand()
+ExecuteAsync()
+PokemonNameCommand()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1PokemonNameCommand.html",tooltip="Esta clase implementa el comando 'name' del bot. Este comando retorna el nombre de un Pokémon dado su..."]; + Node1 -> Node13 [id="edge16_Node000001_Node000013",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node14 [id="edge17_Node000001_Node000014",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node14 [id="Node000014",shape=plain,label=< +
+ +
+ +
Library.Commands.ShowAttacks
Command< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ShowAttacksCommand.html",tooltip="Esta clase implementa el comando 'showattacks' del bot."]; + Node1 -> Node15 [id="edge18_Node000001_Node000015",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node15 [id="Node000015",shape=plain,label=< +
+ +
+ +
Library.Commands.ShowItems
Command< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1ShowItemsCommand.html",tooltip="Esta clase implementa el comando 'showitems' del bot."]; + Node1 -> Node16 [id="edge19_Node000001_Node000016",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node16 [id="Node000016",shape=plain,label=< +
+ +
+ +
Library.Commands.Surrender
Command< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1SurrenderCommand.html",tooltip="Esta clase implementa el comando 'surrender' del bot."]; + Node1 -> Node17 [id="edge20_Node000001_Node000017",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node17 [id="Node000017",shape=plain,label=< +
+ +
+ +
Library.Commands.UseCommand
< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1UseCommand.html",tooltip="Esta clase implementa el comando 'use' del bot."]; + Node1 -> Node18 [id="edge21_Node000001_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node18 [id="Node000018",shape=plain,label=< +
+ +
+ + +
Library.Commands.UserInfo
Command< SocketCommandContext >
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1UserInfoCommand.html",tooltip="Esta clase implementa el comando 'userinfo', alias 'who' o 'whois' del bot. Este comando retorna info..."]; + Node1 -> Node18 [id="edge22_Node000001_Node000018",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node19 [id="edge23_Node000001_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node19 [id="Node000019",shape=plain,label=< +
+ +
+ + +
Library.Commands.Waiting
Command< SocketCommandContext >
 
+ExecuteAsync()
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Commands_1_1WaitingCommand.html",tooltip="Esta clase implementa el comando 'waitinglist' del bot. Este comando muestra la lista de jugadores es..."]; + Node1 -> Node19 [id="edge24_Node000001_Node000019",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node1 -> Node20 [id="edge25_Node000001_Node000020",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node20 [id="Node000020",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
AttackCommand< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html",tooltip="Esta clase implementa el comando 'attack' del bot."]; + Node1 -> Node21 [id="edge26_Node000001_Node000021",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node21 [id="Node000021",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
ChangePokemonCommand< SocketCommand
Context >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html",tooltip="Esta clase implementa el comando 'changepokemon' del bot."]; + Node1 -> Node22 [id="edge27_Node000001_Node000022",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node22 [id="Node000022",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
ChooseCommand< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html",tooltip="Esta clase implementa el comando 'choose' del bot."]; + Node1 -> Node23 [id="edge28_Node000001_Node000023",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node23 [id="Node000023",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
UseItemCommand< SocketCommandContext >
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html",tooltip="Esta clase implementa el comando 'useitem' del bot."]; +} diff --git a/docs/html/classTests_1_1TrainTests-members.html b/docs/html/classTests_1_1TrainTests-members.html index 1da1f00..6d5f9da 100644 --- a/docs/html/classTests_1_1TrainTests-members.html +++ b/docs/html/classTests_1_1TrainTests-members.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Member List @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Ucu.Poo.DiscordBot.Commands.AttackCommand Member List
+
+
+ +

This is the complete list of members for Ucu.Poo.DiscordBot.Commands.AttackCommand, including all inherited members.

+ + +
ExecuteAsync([Remainder][Summary("Ataque que desea utilizar.")] string attack)Ucu.Poo.DiscordBot.Commands.AttackCommand
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html new file mode 100644 index 0000000..c2dfef0 --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html @@ -0,0 +1,170 @@ + + + + + + + +Object Lifecycle: Ucu.Poo.DiscordBot.Commands.AttackCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Ucu.Poo.DiscordBot.Commands.AttackCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'attack' del bot. + More...

+
+Inheritance diagram for Ucu.Poo.DiscordBot.Commands.AttackCommand:
+
+
+
+
+Collaboration diagram for Ucu.Poo.DiscordBot.Commands.AttackCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Ataque que desea utilizar.")] string attack)
 Envía a la fachada un mensaje con el ataque a utilizar.
 
+

Detailed Description

+

Esta clase implementa el comando 'attack' del bot.

+ +

Definition at line 11 of file AttackCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Ucu.Poo.DiscordBot.Commands.AttackCommand.ExecuteAsync ([Summary("Ataque que desea utilizar.")] string attack)
+
+ +

Envía a la fachada un mensaje con el ataque a utilizar.

+
Parameters
+ + +
attackAtaque a utilizar.
+
+
+ +

Definition at line 26 of file AttackCommand.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.js b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.js new file mode 100644 index 0000000..c38f925 --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.js @@ -0,0 +1,4 @@ +var classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand = +[ + [ "ExecuteAsync", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html#a0a4ded439ee334ff738f97e4b68ea500", null ] +]; \ No newline at end of file diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand__coll__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand__coll__graph.dot new file mode 100644 index 0000000..46fbc72 --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Ucu.Poo.DiscordBot.Commands.AttackCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
AttackCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'attack' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand__inherit__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand__inherit__graph.dot new file mode 100644 index 0000000..46fbc72 --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Ucu.Poo.DiscordBot.Commands.AttackCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
AttackCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'attack' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand-members.html b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand-members.html new file mode 100644 index 0000000..8d6fd3d --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand Member List
+
+
+ +

This is the complete list of members for Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand, including all inherited members.

+ + +
ExecuteAsync([Remainder][Summary("Nombre del Pokemon")] string pokemonName)Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html new file mode 100644 index 0000000..a5e3fcf --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html @@ -0,0 +1,170 @@ + + + + + + + +Object Lifecycle: Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'changepokemon' del bot. + More...

+
+Inheritance diagram for Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand:
+
+
+
+
+Collaboration diagram for Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Nombre del Pokemon")] string pokemonName)
 Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó para ser su nuevo Pokemon activo.
 
+

Detailed Description

+

Esta clase implementa el comando 'changepokemon' del bot.

+ +

Definition at line 11 of file ChangePokemonCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand.ExecuteAsync ([Summary("Nombre del Pokemon")] string pokemonName)
+
+ +

Envía a la fachada un mensaje con el nombre del Pokemon que el jugador seleccionó para ser su nuevo Pokemon activo.

+
Parameters
+ + +
pokemonNameNombre del Pokemon seleccionado.
+
+
+ +

Definition at line 27 of file ChangePokemonCommand.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.js b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.js new file mode 100644 index 0000000..3905c2d --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.js @@ -0,0 +1,4 @@ +var classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand = +[ + [ "ExecuteAsync", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html#a7e00c706885ff77c8df5aff590167e0b", null ] +]; \ No newline at end of file diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand__coll__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand__coll__graph.dot new file mode 100644 index 0000000..2c2991e --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
ChangePokemonCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'changepokemon' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand__inherit__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand__inherit__graph.dot new file mode 100644 index 0000000..2c2991e --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
ChangePokemonCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'changepokemon' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand-members.html b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand-members.html new file mode 100644 index 0000000..704adff --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Ucu.Poo.DiscordBot.Commands.ChooseCommand Member List
+
+
+ +

This is the complete list of members for Ucu.Poo.DiscordBot.Commands.ChooseCommand, including all inherited members.

+ + +
ExecuteAsync([Remainder][Summary("Nombre del pokemon.")] string pokemonName)Ucu.Poo.DiscordBot.Commands.ChooseCommand
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html new file mode 100644 index 0000000..3d88dbe --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html @@ -0,0 +1,170 @@ + + + + + + + +Object Lifecycle: Ucu.Poo.DiscordBot.Commands.ChooseCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Ucu.Poo.DiscordBot.Commands.ChooseCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'choose' del bot. + More...

+
+Inheritance diagram for Ucu.Poo.DiscordBot.Commands.ChooseCommand:
+
+
+
+
+Collaboration diagram for Ucu.Poo.DiscordBot.Commands.ChooseCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Nombre del pokemon.")] string pokemonName)
 Envía a la fachada un mensaje con el Pokemon seleccionado.
 
+

Detailed Description

+

Esta clase implementa el comando 'choose' del bot.

+ +

Definition at line 11 of file ChooseCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + +
async Task Ucu.Poo.DiscordBot.Commands.ChooseCommand.ExecuteAsync ([Summary("Nombre del pokemon.")] string pokemonName)
+
+ +

Envía a la fachada un mensaje con el Pokemon seleccionado.

+
Parameters
+ + +
pokemonNameNombre del Pokemon seleccionado.
+
+
+ +

Definition at line 23 of file ChooseCommand.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.js b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.js new file mode 100644 index 0000000..fbcc6b9 --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.js @@ -0,0 +1,4 @@ +var classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand = +[ + [ "ExecuteAsync", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html#ae2f67cf292af546f13a4de3e5a33a52d", null ] +]; \ No newline at end of file diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand__coll__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand__coll__graph.dot new file mode 100644 index 0000000..b844c6d --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Ucu.Poo.DiscordBot.Commands.ChooseCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
ChooseCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'choose' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand__inherit__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand__inherit__graph.dot new file mode 100644 index 0000000..b844c6d --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Ucu.Poo.DiscordBot.Commands.ChooseCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
ChooseCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'choose' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand-members.html b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand-members.html new file mode 100644 index 0000000..5743f4d --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Ucu.Poo.DiscordBot.Commands.UseItemCommand Member List
+
+
+ +

This is the complete list of members for Ucu.Poo.DiscordBot.Commands.UseItemCommand, including all inherited members.

+ + +
ExecuteAsync([Remainder][Summary("Nombre de Pokemon a ser beneficiado")] string pokemonName, [Remainder][Summary("Nombre del item a utilizar")] string itemName)Ucu.Poo.DiscordBot.Commands.UseItemCommand
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html new file mode 100644 index 0000000..afcab08 --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html @@ -0,0 +1,175 @@ + + + + + + + +Object Lifecycle: Ucu.Poo.DiscordBot.Commands.UseItemCommand Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Ucu.Poo.DiscordBot.Commands.UseItemCommand Class Reference
+
+
+ +

Esta clase implementa el comando 'useitem' del bot. + More...

+
+Inheritance diagram for Ucu.Poo.DiscordBot.Commands.UseItemCommand:
+
+
+
+
+Collaboration diagram for Ucu.Poo.DiscordBot.Commands.UseItemCommand:
+
+
+
+ + + + + +

+Public Member Functions

async Task ExecuteAsync ([Remainder][Summary("Nombre de Pokemon a ser beneficiado")] string pokemonName, [Remainder][Summary("Nombre del item a utilizar")] string itemName)
 Envía a la fachada un mensaje con el item a usar y el Pokemons que se verá beneficiado.
 
+

Detailed Description

+

Esta clase implementa el comando 'useitem' del bot.

+ +

Definition at line 11 of file UseItemCommand.cs.

+

Member Function Documentation

+ +

◆ ExecuteAsync()

+ +
+
+ + + + + + + + + + + +
async Task Ucu.Poo.DiscordBot.Commands.UseItemCommand.ExecuteAsync ([Summary("Nombre de Pokemon a ser beneficiado")] string pokemonName,
[Summary("Nombre del item a utilizar")] string itemName )
+
+ +

Envía a la fachada un mensaje con el item a usar y el Pokemons que se verá beneficiado.

+
Parameters
+ + + +
pokemonNamePokemon seleccionado.
itemNameItem a utilizar.
+
+
+ +

Definition at line 26 of file UseItemCommand.cs.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.js b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.js new file mode 100644 index 0000000..3bd4125 --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.js @@ -0,0 +1,4 @@ +var classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand = +[ + [ "ExecuteAsync", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html#ae11cbb51ad472f3af0c7683766928390", null ] +]; \ No newline at end of file diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand__coll__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand__coll__graph.dot new file mode 100644 index 0000000..bff630b --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand__coll__graph.dot @@ -0,0 +1,23 @@ +digraph "Ucu.Poo.DiscordBot.Commands.UseItemCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
UseItemCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'useitem' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand__inherit__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand__inherit__graph.dot new file mode 100644 index 0000000..bff630b --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand__inherit__graph.dot @@ -0,0 +1,23 @@ +digraph "Ucu.Poo.DiscordBot.Commands.UseItemCommand" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Ucu.Poo.DiscordBot.Commands.
UseItemCommand
 
+ExecuteAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el comando 'useitem' del bot."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
ModuleBase< SocketCommand
Context >
 
 
> +,height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",URL="$classModuleBase.html",tooltip=" "]; +} diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot-members.html b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot-members.html new file mode 100644 index 0000000..a55253b --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot-members.html @@ -0,0 +1,120 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Ucu.Poo.DiscordBot.Services.Bot Member List
+
+
+ +

This is the complete list of members for Ucu.Poo.DiscordBot.Services.Bot, including all inherited members.

+ + + + + + + +
Bot(ILogger< Bot > logger, IConfiguration configuration) (defined in Ucu.Poo.DiscordBot.Services.Bot)Ucu.Poo.DiscordBot.Services.Bot
Bot(ILogger< Bot > logger, IConfiguration configuration) (defined in Ucu.Poo.DiscordBot.Services.Bot)Ucu.Poo.DiscordBot.Services.Bot
StartAsync(ServiceProvider services) (defined in Ucu.Poo.DiscordBot.Services.Bot)Ucu.Poo.DiscordBot.Services.Bot
StartAsync(ServiceProvider services) (defined in Ucu.Poo.DiscordBot.Services.Bot)Ucu.Poo.DiscordBot.Services.Bot
StopAsync() (defined in Ucu.Poo.DiscordBot.Services.Bot)Ucu.Poo.DiscordBot.Services.Bot
StopAsync() (defined in Ucu.Poo.DiscordBot.Services.Bot)Ucu.Poo.DiscordBot.Services.Bot
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot.html b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot.html new file mode 100644 index 0000000..eeb3abd --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot.html @@ -0,0 +1,285 @@ + + + + + + + +Object Lifecycle: Ucu.Poo.DiscordBot.Services.Bot Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Ucu.Poo.DiscordBot.Services.Bot Class Reference
+
+
+ +

Esta clase implementa el bot de Discord. + More...

+
+Inheritance diagram for Ucu.Poo.DiscordBot.Services.Bot:
+
+
+
+
+Collaboration diagram for Ucu.Poo.DiscordBot.Services.Bot:
+
+
+
+ + + + + + + + + + + + + + + +

+Public Member Functions

 Bot (ILogger< Bot > logger, IConfiguration configuration)
 
async Task StartAsync (ServiceProvider services)
 
async Task StopAsync ()
 
 Bot (ILogger< Bot > logger, IConfiguration configuration)
 
async Task StartAsync (ServiceProvider services)
 
async Task StopAsync ()
 
- Public Member Functions inherited from Ucu.Poo.DiscordBot.Services.IBot
+

Detailed Description

+

Esta clase implementa el bot de Discord.

+ +

Definition at line 14 of file Bot.cs.

+

Constructor & Destructor Documentation

+ +

◆ Bot() [1/2]

+ +
+
+ + + + + + + + + + + +
Ucu.Poo.DiscordBot.Services.Bot.Bot (ILogger< Bot > logger,
IConfiguration configuration )
+
+ +

Definition at line 22 of file Bot.cs.

+ +
+
+ +

◆ Bot() [2/2]

+ +
+
+ + + + + + + + + + + +
Ucu.Poo.DiscordBot.Services.Bot.Bot (ILogger< Bot > logger,
IConfiguration configuration )
+
+ +

Definition at line 22 of file Bot.cs.

+ +
+
+

Member Function Documentation

+ +

◆ StartAsync() [1/2]

+ +
+
+ + + + + + + +
async Task Ucu.Poo.DiscordBot.Services.Bot.StartAsync (ServiceProvider services)
+
+ +

Implements Ucu.Poo.DiscordBot.Services.IBot.

+ +

Definition at line 40 of file Bot.cs.

+ +
+
+ +

◆ StartAsync() [2/2]

+ +
+
+ + + + + + + +
async Task Ucu.Poo.DiscordBot.Services.Bot.StartAsync (ServiceProvider services)
+
+ +

Implements Ucu.Poo.DiscordBot.Services.IBot.

+ +

Definition at line 40 of file Bot.cs.

+ +
+
+ +

◆ StopAsync() [1/2]

+ +
+
+ + + + + + + +
async Task Ucu.Poo.DiscordBot.Services.Bot.StopAsync ()
+
+ +

Implements Ucu.Poo.DiscordBot.Services.IBot.

+ +

Definition at line 56 of file Bot.cs.

+ +
+
+ +

◆ StopAsync() [2/2]

+ +
+
+ + + + + + + +
async Task Ucu.Poo.DiscordBot.Services.Bot.StopAsync ()
+
+ +

Implements Ucu.Poo.DiscordBot.Services.IBot.

+ +

Definition at line 74 of file Bot.cs.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot__coll__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot__coll__graph.dot new file mode 100644 index 0000000..8442b00 --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot__coll__graph.dot @@ -0,0 +1,32 @@ +digraph "Ucu.Poo.DiscordBot.Services.Bot" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + + + +
Ucu.Poo.DiscordBot.Services.Bot
 
+Bot()
+StartAsync()
+StopAsync()
+Bot()
+StartAsync()
+StopAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el bot de Discord."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ + + + +
IBot
 
+StartAsync()
+StopAsync()
+StartAsync()
+StopAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot.html",tooltip="La interfaz del Bot de Discord para usar con inyección de dependencias."]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot__inherit__graph.dot b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot__inherit__graph.dot new file mode 100644 index 0000000..8442b00 --- /dev/null +++ b/docs/html/classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot__inherit__graph.dot @@ -0,0 +1,32 @@ +digraph "Ucu.Poo.DiscordBot.Services.Bot" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + + + +
Ucu.Poo.DiscordBot.Services.Bot
 
+Bot()
+StartAsync()
+StopAsync()
+Bot()
+StartAsync()
+StopAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta clase implementa el bot de Discord."]; + Node2 -> Node1 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ + + + +
IBot
 
+StartAsync()
+StopAsync()
+StartAsync()
+StopAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot.html",tooltip="La interfaz del Bot de Discord para usar con inyección de dependencias."]; + Node2 -> Node1 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/classes.html b/docs/html/classes.html index 4f17a1c..4b2c70f 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Class Index @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
src Directory Reference
+
+
+
+Directory dependency graph for src:
+
+
+
+ + + + + + +

+Directories

 Library
 
 Program
 
+
+
+ + + + diff --git a/docs/html/dir_028b98a057b77a15fc1404450a6d2f22.js b/docs/html/dir_028b98a057b77a15fc1404450a6d2f22.js new file mode 100644 index 0000000..43cfb5a --- /dev/null +++ b/docs/html/dir_028b98a057b77a15fc1404450a6d2f22.js @@ -0,0 +1,5 @@ +var dir_028b98a057b77a15fc1404450a6d2f22 = +[ + [ "Library", "dir_6558a4dee12a6d8670a745920399752a.html", "dir_6558a4dee12a6d8670a745920399752a" ], + [ "Program", "dir_dd71f6d7127c83f62cd4f323e193b382.html", "dir_dd71f6d7127c83f62cd4f323e193b382" ] +]; \ No newline at end of file diff --git a/docs/html/dir_028b98a057b77a15fc1404450a6d2f22_dep.dot b/docs/html/dir_028b98a057b77a15fc1404450a6d2f22_dep.dot new file mode 100644 index 0000000..4e17755 --- /dev/null +++ b/docs/html/dir_028b98a057b77a15fc1404450a6d2f22_dep.dot @@ -0,0 +1,18 @@ +digraph "C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_12e8dea93be5c726f8638950439e8991 { + graph [ bgcolor="#edf0f7", pencolor="grey25", label="pii_2024_2_equipo10", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_12e8dea93be5c726f8638950439e8991.html",tooltip=""] + subgraph clusterdir_028b98a057b77a15fc1404450a6d2f22 { + graph [ bgcolor="#edf0f7", pencolor="grey25", label="", fontname=Helvetica,fontsize=10 style="filled,bold", URL="dir_028b98a057b77a15fc1404450a6d2f22.html",tooltip=""] + dir_028b98a057b77a15fc1404450a6d2f22 [shape=plaintext, label="src"]; + dir_6558a4dee12a6d8670a745920399752a [label="Library", fillcolor="#a2b4d6", color="grey25", style="filled", URL="dir_6558a4dee12a6d8670a745920399752a.html",tooltip=""]; + dir_dd71f6d7127c83f62cd4f323e193b382 [label="Program", fillcolor="#a2b4d6", color="grey25", style="filled", URL="dir_dd71f6d7127c83f62cd4f323e193b382.html",tooltip=""]; + } + } +} diff --git a/docs/html/dir_0567e4b2e116c46e2bf644a8aa059564.html b/docs/html/dir_0567e4b2e116c46e2bf644a8aa059564.html index 9464bb1..8c3e8b2 100644 --- a/docs/html/dir_0567e4b2e116c46e2bf644a8aa059564.html +++ b/docs/html/dir_0567e4b2e116c46e2bf644a8aa059564.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/obj Directory Reference @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Strategies Directory Reference
+
+
+
+Directory dependency graph for Strategies:
+
+
+
+ + + + + + + + + + + + + + + + + + +

+Files

 IStrategyCritCheck.cs
 
 IStrategyStartingPlayer.cs
 
 StrategyAlwaysCrit.cs
 
 StrategyNonCrit.cs
 
 StrategyPlayerOneStart.cs
 
 StrategyPlayerTwoStart.cs
 
 StrategyRandomCrit.cs
 
 StrategyRandomStartingPlayer.cs
 
+
+
+ + + + diff --git a/docs/html/dir_108adb7f52394b4be7b82306086f5ed3.js b/docs/html/dir_108adb7f52394b4be7b82306086f5ed3.js new file mode 100644 index 0000000..b2b1053 --- /dev/null +++ b/docs/html/dir_108adb7f52394b4be7b82306086f5ed3.js @@ -0,0 +1,11 @@ +var dir_108adb7f52394b4be7b82306086f5ed3 = +[ + [ "IStrategyCritCheck.cs", "IStrategyCritCheck_8cs_source.html", null ], + [ "IStrategyStartingPlayer.cs", "IStrategyStartingPlayer_8cs_source.html", null ], + [ "StrategyAlwaysCrit.cs", "StrategyAlwaysCrit_8cs_source.html", null ], + [ "StrategyNonCrit.cs", "StrategyNonCrit_8cs_source.html", null ], + [ "StrategyPlayerOneStart.cs", "StrategyPlayerOneStart_8cs_source.html", null ], + [ "StrategyPlayerTwoStart.cs", "StrategyPlayerTwoStart_8cs_source.html", null ], + [ "StrategyRandomCrit.cs", "StrategyRandomCrit_8cs_source.html", null ], + [ "StrategyRandomStartingPlayer.cs", "StrategyRandomStartingPlayer_8cs_source.html", null ] +]; \ No newline at end of file diff --git a/docs/html/dir_108adb7f52394b4be7b82306086f5ed3_dep.dot b/docs/html/dir_108adb7f52394b4be7b82306086f5ed3_dep.dot new file mode 100644 index 0000000..6a799c3 --- /dev/null +++ b/docs/html/dir_108adb7f52394b4be7b82306086f5ed3_dep.dot @@ -0,0 +1,13 @@ +digraph "C:/Repos/pii_2024_2_equipo10/src/Library/Strategies" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_f741251061e5c7c7ed48ab45c3348f11 { + graph [ bgcolor="#edf0f7", pencolor="grey50", label="Library", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_f741251061e5c7c7ed48ab45c3348f11.html",tooltip=""] + dir_108adb7f52394b4be7b82306086f5ed3 [label="Strategies", fillcolor="#edf0f7", color="grey25", style="filled,bold", URL="dir_108adb7f52394b4be7b82306086f5ed3.html",tooltip=""]; + } +} diff --git a/docs/html/dir_12e8dea93be5c726f8638950439e8991.html b/docs/html/dir_12e8dea93be5c726f8638950439e8991.html new file mode 100644 index 0000000..847e4a3 --- /dev/null +++ b/docs/html/dir_12e8dea93be5c726f8638950439e8991.html @@ -0,0 +1,112 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10 Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
pii_2024_2_equipo10 Directory Reference
+
+
+
+
+ + + + diff --git a/docs/html/dir_12e8dea93be5c726f8638950439e8991.js b/docs/html/dir_12e8dea93be5c726f8638950439e8991.js new file mode 100644 index 0000000..77c9ec3 --- /dev/null +++ b/docs/html/dir_12e8dea93be5c726f8638950439e8991.js @@ -0,0 +1,5 @@ +var dir_12e8dea93be5c726f8638950439e8991 = +[ + [ "src", "dir_028b98a057b77a15fc1404450a6d2f22.html", "dir_028b98a057b77a15fc1404450a6d2f22" ], + [ "test", "dir_cb197320cb632032717d48dd87c8d478.html", "dir_cb197320cb632032717d48dd87c8d478" ] +]; \ No newline at end of file diff --git a/docs/html/dir_13e138d54eb8818da29c3992edef070a.html b/docs/html/dir_13e138d54eb8818da29c3992edef070a.html index e119d09..b588f8c 100644 --- a/docs/html/dir_13e138d54eb8818da29c3992edef070a.html +++ b/docs/html/dir_13e138d54eb8818da29c3992edef070a.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test Directory Reference @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LibraryTests Directory Reference
+
+
+
+Directory dependency graph for LibraryTests:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

 AttackTest.cs
 
 CaterpieTest.cs
 
 CharizardTest.cs
 
 ChikoritaTest.cs
 
 FacadeTest.cs
 
 FullHealthTests.cs
 
 GameTest.cs
 
 GengarTest.cs
 
 HaxorusTest.cs
 
 MewtwoTest.cs
 
 PlayerTest.cs
 
 ReviveTest.cs
 
 SpecialAttackTest.cs
 
 SuperPotionTest.cs
 
 TrainTests.cs
 
 ZeraoraTest.cs
 
+
+
+ + + + diff --git a/docs/html/dir_2184a7a46a2e2b54295cc2116a3c87da.js b/docs/html/dir_2184a7a46a2e2b54295cc2116a3c87da.js new file mode 100644 index 0000000..8c6091e --- /dev/null +++ b/docs/html/dir_2184a7a46a2e2b54295cc2116a3c87da.js @@ -0,0 +1,19 @@ +var dir_2184a7a46a2e2b54295cc2116a3c87da = +[ + [ "AttackTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2AttackTest_8cs_source.html", null ], + [ "CaterpieTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2CaterpieTest_8cs_source.html", null ], + [ "CharizardTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2CharizardTest_8cs_source.html", null ], + [ "ChikoritaTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2ChikoritaTest_8cs_source.html", null ], + [ "FacadeTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2FacadeTest_8cs_source.html", null ], + [ "FullHealthTests.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2FullHealthTests_8cs_source.html", null ], + [ "GameTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2GameTest_8cs_source.html", null ], + [ "GengarTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2GengarTest_8cs_source.html", null ], + [ "HaxorusTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2HaxorusTest_8cs_source.html", null ], + [ "MewtwoTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2MewtwoTest_8cs_source.html", null ], + [ "PlayerTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2PlayerTest_8cs_source.html", null ], + [ "ReviveTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2ReviveTest_8cs_source.html", null ], + [ "SpecialAttackTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2SpecialAttackTest_8cs_source.html", null ], + [ "SuperPotionTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2SuperPotionTest_8cs_source.html", null ], + [ "TrainTests.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2TrainTests_8cs_source.html", null ], + [ "ZeraoraTest.cs", "pii__2024__2__equipo10_2test_2LibraryTests_2ZeraoraTest_8cs_source.html", null ] +]; \ No newline at end of file diff --git a/docs/html/dir_2184a7a46a2e2b54295cc2116a3c87da_dep.dot b/docs/html/dir_2184a7a46a2e2b54295cc2116a3c87da_dep.dot new file mode 100644 index 0000000..8f5175a --- /dev/null +++ b/docs/html/dir_2184a7a46a2e2b54295cc2116a3c87da_dep.dot @@ -0,0 +1,13 @@ +digraph "C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_cb197320cb632032717d48dd87c8d478 { + graph [ bgcolor="#edf0f7", pencolor="grey50", label="test", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_cb197320cb632032717d48dd87c8d478.html",tooltip=""] + dir_2184a7a46a2e2b54295cc2116a3c87da [label="LibraryTests", fillcolor="#edf0f7", color="grey25", style="filled,bold", URL="dir_2184a7a46a2e2b54295cc2116a3c87da.html",tooltip=""]; + } +} diff --git a/docs/html/dir_235cfadfc0d3d827dd9eab98d057c855.html b/docs/html/dir_235cfadfc0d3d827dd9eab98d057c855.html new file mode 100644 index 0000000..a53418e --- /dev/null +++ b/docs/html/dir_235cfadfc0d3d827dd9eab98d057c855.html @@ -0,0 +1,143 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Commands Directory Reference
+
+
+
+Directory dependency graph for Commands:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Files

 AttackCommand.cs
 
 BattleCommand.cs
 
 ChangePokemonCommand.cs
 
 ChooseCommand.cs
 
 CommandHelper.cs
 
 JoinCommand.cs
 
 LeaveCommand.cs
 
 PokemonNameCommand.cs
 
 UseItemCommand.cs
 
 UserInfoCommand.cs
 
 WaitingCommand.cs
 
+
+
+ + + + diff --git a/docs/html/dir_235cfadfc0d3d827dd9eab98d057c855.js b/docs/html/dir_235cfadfc0d3d827dd9eab98d057c855.js new file mode 100644 index 0000000..128ba51 --- /dev/null +++ b/docs/html/dir_235cfadfc0d3d827dd9eab98d057c855.js @@ -0,0 +1,14 @@ +var dir_235cfadfc0d3d827dd9eab98d057c855 = +[ + [ "AttackCommand.cs", "pii__2024__2__equipo10_2src_2Library_2Commands_2AttackCommand_8cs_source.html", null ], + [ "BattleCommand.cs", "pii__2024__2__equipo10_2src_2Library_2Commands_2BattleCommand_8cs_source.html", null ], + [ "ChangePokemonCommand.cs", "ChangePokemonCommand_8cs_source.html", null ], + [ "ChooseCommand.cs", "pii__2024__2__equipo10_2src_2Library_2Commands_2ChooseCommand_8cs_source.html", null ], + [ "CommandHelper.cs", "pii__2024__2__equipo10_2src_2Library_2Commands_2CommandHelper_8cs_source.html", null ], + [ "JoinCommand.cs", "pii__2024__2__equipo10_2src_2Library_2Commands_2JoinCommand_8cs_source.html", null ], + [ "LeaveCommand.cs", "pii__2024__2__equipo10_2src_2Library_2Commands_2LeaveCommand_8cs_source.html", null ], + [ "PokemonNameCommand.cs", "pii__2024__2__equipo10_2src_2Library_2Commands_2PokemonNameCommand_8cs_source.html", null ], + [ "UseItemCommand.cs", "UseItemCommand_8cs_source.html", null ], + [ "UserInfoCommand.cs", "pii__2024__2__equipo10_2src_2Library_2Commands_2UserInfoCommand_8cs_source.html", null ], + [ "WaitingCommand.cs", "pii__2024__2__equipo10_2src_2Library_2Commands_2WaitingCommand_8cs_source.html", null ] +]; \ No newline at end of file diff --git a/docs/html/dir_235cfadfc0d3d827dd9eab98d057c855_dep.dot b/docs/html/dir_235cfadfc0d3d827dd9eab98d057c855_dep.dot new file mode 100644 index 0000000..8c0d19d --- /dev/null +++ b/docs/html/dir_235cfadfc0d3d827dd9eab98d057c855_dep.dot @@ -0,0 +1,13 @@ +digraph "C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_6558a4dee12a6d8670a745920399752a { + graph [ bgcolor="#edf0f7", pencolor="grey50", label="Library", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_6558a4dee12a6d8670a745920399752a.html",tooltip=""] + dir_235cfadfc0d3d827dd9eab98d057c855 [label="Commands", fillcolor="#edf0f7", color="grey25", style="filled,bold", URL="dir_235cfadfc0d3d827dd9eab98d057c855.html",tooltip=""]; + } +} diff --git a/docs/html/dir_489a34f874ee199237b4241587f8b6f5.html b/docs/html/dir_489a34f874ee199237b4241587f8b6f5.html index 2d93e8f..74cb45c 100644 --- a/docs/html/dir_489a34f874ee199237b4241587f8b6f5.html +++ b/docs/html/dir_489a34f874ee199237b4241587f8b6f5.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/obj Directory Reference @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library Directory Reference
+
+
+
+Directory dependency graph for Library:
+
+
+
+ + + + + + +

+Directories

 Commands
 
 Services
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

 Attack.cs
 
 Caterpie.cs
 
 Charizard.cs
 
 Chikorita.cs
 
 DamageCalculator.cs
 
 Facade.cs
 
 FullHealth.cs
 
 Game.cs
 
 GameList.cs
 
 Gastrodon.cs
 
 Gengar.cs
 
 Haxorus.cs
 
 IAttack.cs
 
 IItem.cs
 
 Mewtwo.cs
 
 Player.cs
 
 Pokemon.cs
 
 PokemonCatalogue.cs
 
 Revive.cs
 
 SpecialAttack.cs
 
 State.cs
 
 StateLogic.cs
 
 SuperPotion.cs
 
 Type.cs
 
 WaitingList.cs
 
 Zeraora.cs
 
+
+
+ + + + diff --git a/docs/html/dir_6558a4dee12a6d8670a745920399752a.js b/docs/html/dir_6558a4dee12a6d8670a745920399752a.js new file mode 100644 index 0000000..c150c46 --- /dev/null +++ b/docs/html/dir_6558a4dee12a6d8670a745920399752a.js @@ -0,0 +1,31 @@ +var dir_6558a4dee12a6d8670a745920399752a = +[ + [ "Commands", "dir_235cfadfc0d3d827dd9eab98d057c855.html", "dir_235cfadfc0d3d827dd9eab98d057c855" ], + [ "Services", "dir_83e966a49c03f14cc5c2a2c5dc7e9ee0.html", "dir_83e966a49c03f14cc5c2a2c5dc7e9ee0" ], + [ "Attack.cs", "pii__2024__2__equipo10_2src_2Library_2Attack_8cs_source.html", null ], + [ "Caterpie.cs", "pii__2024__2__equipo10_2src_2Library_2Caterpie_8cs_source.html", null ], + [ "Charizard.cs", "pii__2024__2__equipo10_2src_2Library_2Charizard_8cs_source.html", null ], + [ "Chikorita.cs", "pii__2024__2__equipo10_2src_2Library_2Chikorita_8cs_source.html", null ], + [ "DamageCalculator.cs", "pii__2024__2__equipo10_2src_2Library_2DamageCalculator_8cs_source.html", null ], + [ "Facade.cs", "pii__2024__2__equipo10_2src_2Library_2Facade_8cs_source.html", null ], + [ "FullHealth.cs", "pii__2024__2__equipo10_2src_2Library_2FullHealth_8cs_source.html", null ], + [ "Game.cs", "pii__2024__2__equipo10_2src_2Library_2Game_8cs_source.html", null ], + [ "GameList.cs", "pii__2024__2__equipo10_2src_2Library_2GameList_8cs_source.html", null ], + [ "Gastrodon.cs", "pii__2024__2__equipo10_2src_2Library_2Gastrodon_8cs_source.html", null ], + [ "Gengar.cs", "pii__2024__2__equipo10_2src_2Library_2Gengar_8cs_source.html", null ], + [ "Haxorus.cs", "pii__2024__2__equipo10_2src_2Library_2Haxorus_8cs_source.html", null ], + [ "IAttack.cs", "pii__2024__2__equipo10_2src_2Library_2IAttack_8cs_source.html", null ], + [ "IItem.cs", "pii__2024__2__equipo10_2src_2Library_2IItem_8cs_source.html", null ], + [ "Mewtwo.cs", "pii__2024__2__equipo10_2src_2Library_2Mewtwo_8cs_source.html", null ], + [ "Player.cs", "pii__2024__2__equipo10_2src_2Library_2Player_8cs_source.html", null ], + [ "Pokemon.cs", "pii__2024__2__equipo10_2src_2Library_2Pokemon_8cs_source.html", null ], + [ "PokemonCatalogue.cs", "pii__2024__2__equipo10_2src_2Library_2PokemonCatalogue_8cs_source.html", null ], + [ "Revive.cs", "pii__2024__2__equipo10_2src_2Library_2Revive_8cs_source.html", null ], + [ "SpecialAttack.cs", "pii__2024__2__equipo10_2src_2Library_2SpecialAttack_8cs_source.html", null ], + [ "State.cs", "pii__2024__2__equipo10_2src_2Library_2State_8cs_source.html", null ], + [ "StateLogic.cs", "pii__2024__2__equipo10_2src_2Library_2StateLogic_8cs_source.html", null ], + [ "SuperPotion.cs", "pii__2024__2__equipo10_2src_2Library_2SuperPotion_8cs_source.html", null ], + [ "Type.cs", "pii__2024__2__equipo10_2src_2Library_2Type_8cs_source.html", null ], + [ "WaitingList.cs", "pii__2024__2__equipo10_2src_2Library_2WaitingList_8cs_source.html", null ], + [ "Zeraora.cs", "pii__2024__2__equipo10_2src_2Library_2Zeraora_8cs_source.html", null ] +]; \ No newline at end of file diff --git a/docs/html/dir_6558a4dee12a6d8670a745920399752a_dep.dot b/docs/html/dir_6558a4dee12a6d8670a745920399752a_dep.dot new file mode 100644 index 0000000..d1b13a8 --- /dev/null +++ b/docs/html/dir_6558a4dee12a6d8670a745920399752a_dep.dot @@ -0,0 +1,18 @@ +digraph "C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_028b98a057b77a15fc1404450a6d2f22 { + graph [ bgcolor="#edf0f7", pencolor="grey50", label="src", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_028b98a057b77a15fc1404450a6d2f22.html",tooltip=""] + subgraph clusterdir_6558a4dee12a6d8670a745920399752a { + graph [ bgcolor="#edf0f7", pencolor="grey25", label="", fontname=Helvetica,fontsize=10 style="filled,bold", URL="dir_6558a4dee12a6d8670a745920399752a.html",tooltip=""] + dir_6558a4dee12a6d8670a745920399752a [shape=plaintext, label="Library"]; + dir_235cfadfc0d3d827dd9eab98d057c855 [label="Commands", fillcolor="#a2b4d6", color="grey25", style="filled", URL="dir_235cfadfc0d3d827dd9eab98d057c855.html",tooltip=""]; + dir_83e966a49c03f14cc5c2a2c5dc7e9ee0 [label="Services", fillcolor="#a2b4d6", color="grey25", style="filled", URL="dir_83e966a49c03f14cc5c2a2c5dc7e9ee0.html",tooltip=""]; + } + } +} diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 90d00b1..c8bccc5 100644 --- a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src Directory Reference @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Strategies Directory Reference
+
+
+
+Directory dependency graph for Strategies:
+
+
+
+ + + + + + + + + + + + + + +

+Files

 StrategyAlwaysCritTest.cs
 
 StrategyNonCritTest.cs
 
 StrategyPlayerOneStartTest.cs
 
 StrategyPlayerTwoStartTest.cs
 
 StrategyRandomCritTest.cs
 
 StrategyRandomStartingPlayerTest.cs
 
+
+
+ + + + diff --git a/docs/html/dir_8267bccf0f6c4bf330a42a4feb7e48cf.js b/docs/html/dir_8267bccf0f6c4bf330a42a4feb7e48cf.js new file mode 100644 index 0000000..6e1cc92 --- /dev/null +++ b/docs/html/dir_8267bccf0f6c4bf330a42a4feb7e48cf.js @@ -0,0 +1,9 @@ +var dir_8267bccf0f6c4bf330a42a4feb7e48cf = +[ + [ "StrategyAlwaysCritTest.cs", "StrategyAlwaysCritTest_8cs_source.html", null ], + [ "StrategyNonCritTest.cs", "StrategyNonCritTest_8cs_source.html", null ], + [ "StrategyPlayerOneStartTest.cs", "StrategyPlayerOneStartTest_8cs_source.html", null ], + [ "StrategyPlayerTwoStartTest.cs", "StrategyPlayerTwoStartTest_8cs_source.html", null ], + [ "StrategyRandomCritTest.cs", "StrategyRandomCritTest_8cs_source.html", null ], + [ "StrategyRandomStartingPlayerTest.cs", "StrategyRandomStartingPlayerTest_8cs_source.html", null ] +]; \ No newline at end of file diff --git a/docs/html/dir_8267bccf0f6c4bf330a42a4feb7e48cf_dep.dot b/docs/html/dir_8267bccf0f6c4bf330a42a4feb7e48cf_dep.dot new file mode 100644 index 0000000..e4ada86 --- /dev/null +++ b/docs/html/dir_8267bccf0f6c4bf330a42a4feb7e48cf_dep.dot @@ -0,0 +1,13 @@ +digraph "C:/Repos/pii_2024_2_equipo10/test/LibraryTests/Strategies" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_6c8e1213d96547949c4ad1dee757a549 { + graph [ bgcolor="#edf0f7", pencolor="grey50", label="LibraryTests", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_6c8e1213d96547949c4ad1dee757a549.html",tooltip=""] + dir_8267bccf0f6c4bf330a42a4feb7e48cf [label="Strategies", fillcolor="#edf0f7", color="grey25", style="filled,bold", URL="dir_8267bccf0f6c4bf330a42a4feb7e48cf.html",tooltip=""]; + } +} diff --git a/docs/html/dir_83e966a49c03f14cc5c2a2c5dc7e9ee0.html b/docs/html/dir_83e966a49c03f14cc5c2a2c5dc7e9ee0.html new file mode 100644 index 0000000..77b688e --- /dev/null +++ b/docs/html/dir_83e966a49c03f14cc5c2a2c5dc7e9ee0.html @@ -0,0 +1,127 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Services Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Services Directory Reference
+
+
+
+Directory dependency graph for Services:
+
+
+
+ + + + + + + + +

+Files

 Bot.cs
 
 BotLoader.cs
 
 IBot.cs
 
+
+
+ + + + diff --git a/docs/html/dir_83e966a49c03f14cc5c2a2c5dc7e9ee0.js b/docs/html/dir_83e966a49c03f14cc5c2a2c5dc7e9ee0.js new file mode 100644 index 0000000..efc712d --- /dev/null +++ b/docs/html/dir_83e966a49c03f14cc5c2a2c5dc7e9ee0.js @@ -0,0 +1,6 @@ +var dir_83e966a49c03f14cc5c2a2c5dc7e9ee0 = +[ + [ "Bot.cs", "pii__2024__2__equipo10_2src_2Library_2Services_2Bot_8cs_source.html", null ], + [ "BotLoader.cs", "pii__2024__2__equipo10_2src_2Library_2Services_2BotLoader_8cs_source.html", null ], + [ "IBot.cs", "pii__2024__2__equipo10_2src_2Library_2Services_2IBot_8cs_source.html", null ] +]; \ No newline at end of file diff --git a/docs/html/dir_83e966a49c03f14cc5c2a2c5dc7e9ee0_dep.dot b/docs/html/dir_83e966a49c03f14cc5c2a2c5dc7e9ee0_dep.dot new file mode 100644 index 0000000..5cfa3aa --- /dev/null +++ b/docs/html/dir_83e966a49c03f14cc5c2a2c5dc7e9ee0_dep.dot @@ -0,0 +1,13 @@ +digraph "C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Services" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_6558a4dee12a6d8670a745920399752a { + graph [ bgcolor="#edf0f7", pencolor="grey50", label="Library", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_6558a4dee12a6d8670a745920399752a.html",tooltip=""] + dir_83e966a49c03f14cc5c2a2c5dc7e9ee0 [label="Services", fillcolor="#edf0f7", color="grey25", style="filled,bold", URL="dir_83e966a49c03f14cc5c2a2c5dc7e9ee0.html",tooltip=""]; + } +} diff --git a/docs/html/dir_86fead3ea867aab2e94b3b1f7813ef2b.html b/docs/html/dir_86fead3ea867aab2e94b3b1f7813ef2b.html index f0a4b8f..4e8c57b 100644 --- a/docs/html/dir_86fead3ea867aab2e94b3b1f7813ef2b.html +++ b/docs/html/dir_86fead3ea867aab2e94b3b1f7813ef2b.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/obj/Debug/net8.0 Directory Reference @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Commands Directory Reference
+
+
+
+Directory dependency graph for Commands:
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

 AttackCommand.cs
 
 BattleCommand.cs
 
 CatalogueCommand.cs
 
 ChangeCommand.cs
 
 CheckTurnCommand.cs
 
 ChooseCommand.cs
 
 ChooseRandomCommand.cs
 
 CommandHelper.cs
 
 HelpCommand.cs
 
 HpCommand.cs
 
 JoinCommand.cs
 
 LeaveCommand.cs
 
 PokemonNameCommand.cs
 
 ShowAttacksCommand.cs
 
 ShowItemsCommand.cs
 
 SurrenderCommand.cs
 
 UseCommand.cs
 
 UserInfoCommand.cs
 
 WaitingCommand.cs
 
+
+
+ + + + diff --git a/docs/html/dir_c008c50350ae5a8ff46a2d72b681473c.js b/docs/html/dir_c008c50350ae5a8ff46a2d72b681473c.js new file mode 100644 index 0000000..9b620de --- /dev/null +++ b/docs/html/dir_c008c50350ae5a8ff46a2d72b681473c.js @@ -0,0 +1,22 @@ +var dir_c008c50350ae5a8ff46a2d72b681473c = +[ + [ "AttackCommand.cs", "src_2Library_2Commands_2AttackCommand_8cs_source.html", null ], + [ "BattleCommand.cs", "src_2Library_2Commands_2BattleCommand_8cs_source.html", null ], + [ "CatalogueCommand.cs", "CatalogueCommand_8cs_source.html", null ], + [ "ChangeCommand.cs", "ChangeCommand_8cs_source.html", null ], + [ "CheckTurnCommand.cs", "CheckTurnCommand_8cs_source.html", null ], + [ "ChooseCommand.cs", "src_2Library_2Commands_2ChooseCommand_8cs_source.html", null ], + [ "ChooseRandomCommand.cs", "ChooseRandomCommand_8cs_source.html", null ], + [ "CommandHelper.cs", "src_2Library_2Commands_2CommandHelper_8cs_source.html", null ], + [ "HelpCommand.cs", "HelpCommand_8cs_source.html", null ], + [ "HpCommand.cs", "HpCommand_8cs_source.html", null ], + [ "JoinCommand.cs", "src_2Library_2Commands_2JoinCommand_8cs_source.html", null ], + [ "LeaveCommand.cs", "src_2Library_2Commands_2LeaveCommand_8cs_source.html", null ], + [ "PokemonNameCommand.cs", "src_2Library_2Commands_2PokemonNameCommand_8cs_source.html", null ], + [ "ShowAttacksCommand.cs", "ShowAttacksCommand_8cs_source.html", null ], + [ "ShowItemsCommand.cs", "ShowItemsCommand_8cs_source.html", null ], + [ "SurrenderCommand.cs", "SurrenderCommand_8cs_source.html", null ], + [ "UseCommand.cs", "UseCommand_8cs_source.html", null ], + [ "UserInfoCommand.cs", "src_2Library_2Commands_2UserInfoCommand_8cs_source.html", null ], + [ "WaitingCommand.cs", "src_2Library_2Commands_2WaitingCommand_8cs_source.html", null ] +]; \ No newline at end of file diff --git a/docs/html/dir_c008c50350ae5a8ff46a2d72b681473c_dep.dot b/docs/html/dir_c008c50350ae5a8ff46a2d72b681473c_dep.dot new file mode 100644 index 0000000..74090e0 --- /dev/null +++ b/docs/html/dir_c008c50350ae5a8ff46a2d72b681473c_dep.dot @@ -0,0 +1,13 @@ +digraph "C:/Repos/pii_2024_2_equipo10/src/Library/Commands" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_f741251061e5c7c7ed48ab45c3348f11 { + graph [ bgcolor="#edf0f7", pencolor="grey50", label="Library", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_f741251061e5c7c7ed48ab45c3348f11.html",tooltip=""] + dir_c008c50350ae5a8ff46a2d72b681473c [label="Commands", fillcolor="#edf0f7", color="grey25", style="filled,bold", URL="dir_c008c50350ae5a8ff46a2d72b681473c.html",tooltip=""]; + } +} diff --git a/docs/html/dir_cb197320cb632032717d48dd87c8d478.html b/docs/html/dir_cb197320cb632032717d48dd87c8d478.html new file mode 100644 index 0000000..dec78ba --- /dev/null +++ b/docs/html/dir_cb197320cb632032717d48dd87c8d478.html @@ -0,0 +1,123 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
test Directory Reference
+
+
+
+Directory dependency graph for test:
+
+
+
+ + + + +

+Directories

 LibraryTests
 
+
+
+ + + + diff --git a/docs/html/dir_cb197320cb632032717d48dd87c8d478.js b/docs/html/dir_cb197320cb632032717d48dd87c8d478.js new file mode 100644 index 0000000..e62c319 --- /dev/null +++ b/docs/html/dir_cb197320cb632032717d48dd87c8d478.js @@ -0,0 +1,4 @@ +var dir_cb197320cb632032717d48dd87c8d478 = +[ + [ "LibraryTests", "dir_2184a7a46a2e2b54295cc2116a3c87da.html", "dir_2184a7a46a2e2b54295cc2116a3c87da" ] +]; \ No newline at end of file diff --git a/docs/html/dir_cb197320cb632032717d48dd87c8d478_dep.dot b/docs/html/dir_cb197320cb632032717d48dd87c8d478_dep.dot new file mode 100644 index 0000000..8f12c15 --- /dev/null +++ b/docs/html/dir_cb197320cb632032717d48dd87c8d478_dep.dot @@ -0,0 +1,17 @@ +digraph "C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_12e8dea93be5c726f8638950439e8991 { + graph [ bgcolor="#edf0f7", pencolor="grey25", label="pii_2024_2_equipo10", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_12e8dea93be5c726f8638950439e8991.html",tooltip=""] + subgraph clusterdir_cb197320cb632032717d48dd87c8d478 { + graph [ bgcolor="#edf0f7", pencolor="grey25", label="", fontname=Helvetica,fontsize=10 style="filled,bold", URL="dir_cb197320cb632032717d48dd87c8d478.html",tooltip=""] + dir_cb197320cb632032717d48dd87c8d478 [shape=plaintext, label="test"]; + dir_2184a7a46a2e2b54295cc2116a3c87da [label="LibraryTests", fillcolor="#a2b4d6", color="grey25", style="filled", URL="dir_2184a7a46a2e2b54295cc2116a3c87da.html",tooltip=""]; + } + } +} diff --git a/docs/html/dir_dd71f6d7127c83f62cd4f323e193b382.html b/docs/html/dir_dd71f6d7127c83f62cd4f323e193b382.html new file mode 100644 index 0000000..0142df2 --- /dev/null +++ b/docs/html/dir_dd71f6d7127c83f62cd4f323e193b382.html @@ -0,0 +1,123 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Program Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Program Directory Reference
+
+
+
+Directory dependency graph for Program:
+
+
+
+ + + + +

+Files

 Program.cs
 
+
+
+ + + + diff --git a/docs/html/dir_dd71f6d7127c83f62cd4f323e193b382.js b/docs/html/dir_dd71f6d7127c83f62cd4f323e193b382.js new file mode 100644 index 0000000..db03a8a --- /dev/null +++ b/docs/html/dir_dd71f6d7127c83f62cd4f323e193b382.js @@ -0,0 +1,4 @@ +var dir_dd71f6d7127c83f62cd4f323e193b382 = +[ + [ "Program.cs", "pii__2024__2__equipo10_2src_2Program_2Program_8cs_source.html", null ] +]; \ No newline at end of file diff --git a/docs/html/dir_dd71f6d7127c83f62cd4f323e193b382_dep.dot b/docs/html/dir_dd71f6d7127c83f62cd4f323e193b382_dep.dot new file mode 100644 index 0000000..cbf23e4 --- /dev/null +++ b/docs/html/dir_dd71f6d7127c83f62cd4f323e193b382_dep.dot @@ -0,0 +1,13 @@ +digraph "C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Program" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_028b98a057b77a15fc1404450a6d2f22 { + graph [ bgcolor="#edf0f7", pencolor="grey50", label="src", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_028b98a057b77a15fc1404450a6d2f22.html",tooltip=""] + dir_dd71f6d7127c83f62cd4f323e193b382 [label="Program", fillcolor="#edf0f7", color="grey25", style="filled,bold", URL="dir_dd71f6d7127c83f62cd4f323e193b382.html",tooltip=""]; + } +} diff --git a/docs/html/dir_e55e835f2d471850e06e76b126902d6d.html b/docs/html/dir_e55e835f2d471850e06e76b126902d6d.html index 0d471fc..c83ed41 100644 --- a/docs/html/dir_e55e835f2d471850e06e76b126902d6d.html +++ b/docs/html/dir_e55e835f2d471850e06e76b126902d6d.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/obj/Debug Directory Reference @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Services Directory Reference
+
+
+
+Directory dependency graph for Services:
+
+
+
+ + + + + + + + +

+Files

 Bot.cs
 
 BotLoader.cs
 
 IBot.cs
 
+
+
+ + + + diff --git a/docs/html/dir_f34ccfc2e84e060712e8a2693295cc54.js b/docs/html/dir_f34ccfc2e84e060712e8a2693295cc54.js new file mode 100644 index 0000000..02d25bf --- /dev/null +++ b/docs/html/dir_f34ccfc2e84e060712e8a2693295cc54.js @@ -0,0 +1,6 @@ +var dir_f34ccfc2e84e060712e8a2693295cc54 = +[ + [ "Bot.cs", "src_2Library_2Services_2Bot_8cs_source.html", null ], + [ "BotLoader.cs", "src_2Library_2Services_2BotLoader_8cs_source.html", null ], + [ "IBot.cs", "src_2Library_2Services_2IBot_8cs_source.html", null ] +]; \ No newline at end of file diff --git a/docs/html/dir_f34ccfc2e84e060712e8a2693295cc54_dep.dot b/docs/html/dir_f34ccfc2e84e060712e8a2693295cc54_dep.dot new file mode 100644 index 0000000..94b6044 --- /dev/null +++ b/docs/html/dir_f34ccfc2e84e060712e8a2693295cc54_dep.dot @@ -0,0 +1,13 @@ +digraph "C:/Repos/pii_2024_2_equipo10/src/Library/Services" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + compound=true + subgraph clusterdir_f741251061e5c7c7ed48ab45c3348f11 { + graph [ bgcolor="#edf0f7", pencolor="grey50", label="Library", fontname=Helvetica,fontsize=10 style="filled,dashed", URL="dir_f741251061e5c7c7ed48ab45c3348f11.html",tooltip=""] + dir_f34ccfc2e84e060712e8a2693295cc54 [label="Services", fillcolor="#edf0f7", color="grey25", style="filled,bold", URL="dir_f34ccfc2e84e060712e8a2693295cc54.html",tooltip=""]; + } +} diff --git a/docs/html/dir_f741251061e5c7c7ed48ab45c3348f11.html b/docs/html/dir_f741251061e5c7c7ed48ab45c3348f11.html index ea79ce0..ef0cccd 100644 --- a/docs/html/dir_f741251061e5c7c7ed48ab45c3348f11.html +++ b/docs/html/dir_f741251061e5c7c7ed48ab45c3348f11.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library Directory Reference @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- b -

+
+
+ + + + diff --git a/docs/html/functions_c.html b/docs/html/functions_c.html new file mode 100644 index 0000000..81c99ba --- /dev/null +++ b/docs/html/functions_c.html @@ -0,0 +1,129 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- c -

+
+
+ + + + diff --git a/docs/html/functions_d.html b/docs/html/functions_d.html new file mode 100644 index 0000000..f5300c4 --- /dev/null +++ b/docs/html/functions_d.html @@ -0,0 +1,114 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- d -

+
+
+ + + + diff --git a/docs/html/functions_dup.js b/docs/html/functions_dup.js new file mode 100644 index 0000000..a2b210d --- /dev/null +++ b/docs/html/functions_dup.js @@ -0,0 +1,23 @@ +var functions_dup = +[ + [ "a", "functions.html", null ], + [ "b", "functions_b.html", null ], + [ "c", "functions_c.html", null ], + [ "d", "functions_d.html", null ], + [ "e", "functions_e.html", null ], + [ "f", "functions_f.html", null ], + [ "g", "functions_g.html", null ], + [ "h", "functions_h.html", null ], + [ "i", "functions_i.html", null ], + [ "j", "functions_j.html", null ], + [ "l", "functions_l.html", null ], + [ "m", "functions_m.html", null ], + [ "n", "functions_n.html", null ], + [ "p", "functions_p.html", null ], + [ "r", "functions_r.html", null ], + [ "s", "functions_s.html", null ], + [ "t", "functions_t.html", null ], + [ "u", "functions_u.html", null ], + [ "w", "functions_w.html", null ], + [ "z", "functions_z.html", null ] +]; \ No newline at end of file diff --git a/docs/html/functions_e.html b/docs/html/functions_e.html new file mode 100644 index 0000000..7a9347e --- /dev/null +++ b/docs/html/functions_e.html @@ -0,0 +1,117 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- e -

+
+
+ + + + diff --git a/docs/html/functions_f.html b/docs/html/functions_f.html new file mode 100644 index 0000000..fc03baf --- /dev/null +++ b/docs/html/functions_f.html @@ -0,0 +1,123 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- f -

+
+
+ + + + diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index 4b0e78b..92c05b4 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Class Members - Functions @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- b -

+
+
+ + + + diff --git a/docs/html/functions_func_c.html b/docs/html/functions_func_c.html new file mode 100644 index 0000000..ccaedae --- /dev/null +++ b/docs/html/functions_func_c.html @@ -0,0 +1,125 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- c -

+
+
+ + + + diff --git a/docs/html/functions_func_d.html b/docs/html/functions_func_d.html new file mode 100644 index 0000000..d99bbe7 --- /dev/null +++ b/docs/html/functions_func_d.html @@ -0,0 +1,114 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- d -

+
+
+ + + + diff --git a/docs/html/functions_func_e.html b/docs/html/functions_func_e.html new file mode 100644 index 0000000..d7f9a01 --- /dev/null +++ b/docs/html/functions_func_e.html @@ -0,0 +1,117 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- e -

+
+
+ + + + diff --git a/docs/html/functions_func_f.html b/docs/html/functions_func_f.html new file mode 100644 index 0000000..059d062 --- /dev/null +++ b/docs/html/functions_func_f.html @@ -0,0 +1,123 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- f -

+
+
+ + + + diff --git a/docs/html/functions_func_g.html b/docs/html/functions_func_g.html new file mode 100644 index 0000000..2887c43 --- /dev/null +++ b/docs/html/functions_func_g.html @@ -0,0 +1,129 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- g -

+
+
+ + + + diff --git a/docs/html/functions_func_h.html b/docs/html/functions_func_h.html new file mode 100644 index 0000000..168ab1b --- /dev/null +++ b/docs/html/functions_func_h.html @@ -0,0 +1,114 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- h -

+
+
+ + + + diff --git a/docs/html/functions_func_i.html b/docs/html/functions_func_i.html new file mode 100644 index 0000000..732632b --- /dev/null +++ b/docs/html/functions_func_i.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- i -

+
+
+ + + + diff --git a/docs/html/functions_func_j.html b/docs/html/functions_func_j.html new file mode 100644 index 0000000..449e548 --- /dev/null +++ b/docs/html/functions_func_j.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- j -

+
+
+ + + + diff --git a/docs/html/functions_func_l.html b/docs/html/functions_func_l.html new file mode 100644 index 0000000..e915e53 --- /dev/null +++ b/docs/html/functions_func_l.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- l -

+
+
+ + + + diff --git a/docs/html/functions_func_m.html b/docs/html/functions_func_m.html new file mode 100644 index 0000000..f6fd191 --- /dev/null +++ b/docs/html/functions_func_m.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- m -

+
+
+ + + + diff --git a/docs/html/functions_func_n.html b/docs/html/functions_func_n.html new file mode 100644 index 0000000..d11f705 --- /dev/null +++ b/docs/html/functions_func_n.html @@ -0,0 +1,114 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- n -

+
+
+ + + + diff --git a/docs/html/functions_func_p.html b/docs/html/functions_func_p.html new file mode 100644 index 0000000..ae8e2f7 --- /dev/null +++ b/docs/html/functions_func_p.html @@ -0,0 +1,118 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- p -

+
+
+ + + + diff --git a/docs/html/functions_func_r.html b/docs/html/functions_func_r.html new file mode 100644 index 0000000..4c08ab4 --- /dev/null +++ b/docs/html/functions_func_r.html @@ -0,0 +1,120 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- r -

+
+
+ + + + diff --git a/docs/html/functions_func_s.html b/docs/html/functions_func_s.html new file mode 100644 index 0000000..1b2300b --- /dev/null +++ b/docs/html/functions_func_s.html @@ -0,0 +1,137 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- s -

+
+
+ + + + diff --git a/docs/html/functions_func_t.html b/docs/html/functions_func_t.html new file mode 100644 index 0000000..c3a844e --- /dev/null +++ b/docs/html/functions_func_t.html @@ -0,0 +1,183 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- t -

+
+
+ + + + diff --git a/docs/html/functions_func_u.html b/docs/html/functions_func_u.html new file mode 100644 index 0000000..f425912 --- /dev/null +++ b/docs/html/functions_func_u.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- u -

+
+
+ + + + diff --git a/docs/html/functions_func_w.html b/docs/html/functions_func_w.html new file mode 100644 index 0000000..97c0e21 --- /dev/null +++ b/docs/html/functions_func_w.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- w -

+
+
+ + + + diff --git a/docs/html/functions_func_z.html b/docs/html/functions_func_z.html new file mode 100644 index 0000000..468c571 --- /dev/null +++ b/docs/html/functions_func_z.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- z -

+
+
+ + + + diff --git a/docs/html/functions_g.html b/docs/html/functions_g.html new file mode 100644 index 0000000..8a0e449 --- /dev/null +++ b/docs/html/functions_g.html @@ -0,0 +1,129 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- g -

+
+
+ + + + diff --git a/docs/html/functions_h.html b/docs/html/functions_h.html new file mode 100644 index 0000000..6b90362 --- /dev/null +++ b/docs/html/functions_h.html @@ -0,0 +1,114 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- h -

+
+
+ + + + diff --git a/docs/html/functions_i.html b/docs/html/functions_i.html new file mode 100644 index 0000000..e810634 --- /dev/null +++ b/docs/html/functions_i.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- i -

+
+
+ + + + diff --git a/docs/html/functions_j.html b/docs/html/functions_j.html new file mode 100644 index 0000000..2c34d15 --- /dev/null +++ b/docs/html/functions_j.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- j -

+
+
+ + + + diff --git a/docs/html/functions_l.html b/docs/html/functions_l.html new file mode 100644 index 0000000..e471806 --- /dev/null +++ b/docs/html/functions_l.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- l -

+
+
+ + + + diff --git a/docs/html/functions_m.html b/docs/html/functions_m.html new file mode 100644 index 0000000..d418dcb --- /dev/null +++ b/docs/html/functions_m.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- m -

+
+
+ + + + diff --git a/docs/html/functions_n.html b/docs/html/functions_n.html new file mode 100644 index 0000000..dff6964 --- /dev/null +++ b/docs/html/functions_n.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- n -

+
+
+ + + + diff --git a/docs/html/functions_p.html b/docs/html/functions_p.html new file mode 100644 index 0000000..ca306ac --- /dev/null +++ b/docs/html/functions_p.html @@ -0,0 +1,121 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- p -

+
+
+ + + + diff --git a/docs/html/functions_prop.html b/docs/html/functions_prop.html index 2303df7..d728c7d 100644 --- a/docs/html/functions_prop.html +++ b/docs/html/functions_prop.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Class Members - Properties @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- r -

+
+
+ + + + diff --git a/docs/html/functions_s.html b/docs/html/functions_s.html new file mode 100644 index 0000000..0ee4849 --- /dev/null +++ b/docs/html/functions_s.html @@ -0,0 +1,139 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- s -

+
+
+ + + + diff --git a/docs/html/functions_t.html b/docs/html/functions_t.html new file mode 100644 index 0000000..9054a9f --- /dev/null +++ b/docs/html/functions_t.html @@ -0,0 +1,186 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- t -

+
+
+ + + + diff --git a/docs/html/functions_u.html b/docs/html/functions_u.html new file mode 100644 index 0000000..9d987db --- /dev/null +++ b/docs/html/functions_u.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- u -

+
+
+ + + + diff --git a/docs/html/functions_w.html b/docs/html/functions_w.html new file mode 100644 index 0000000..13960c9 --- /dev/null +++ b/docs/html/functions_w.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- w -

+
+
+ + + + diff --git a/docs/html/functions_z.html b/docs/html/functions_z.html new file mode 100644 index 0000000..54eef22 --- /dev/null +++ b/docs/html/functions_z.html @@ -0,0 +1,113 @@ + + + + + + + +Object Lifecycle: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- z -

+
+
+ + + + diff --git a/docs/html/graph_legend.html b/docs/html/graph_legend.html index b310d6a..e2e77b0 100644 --- a/docs/html/graph_legend.html +++ b/docs/html/graph_legend.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Graph Legend @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Strategies.IStrategyCritCheck Member List
+
+
+ +

This is the complete list of members for Library.Strategies.IStrategyCritCheck, including all inherited members.

+ + +
CriticalCheck()Library.Strategies.IStrategyCritCheck
+
+ + + + diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html new file mode 100644 index 0000000..c1169be --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html @@ -0,0 +1,170 @@ + + + + + + + +Object Lifecycle: Library.Strategies.IStrategyCritCheck Interface Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Strategies.IStrategyCritCheck Interface Reference
+
+
+ +

Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resultados al momento de verificar si un pokemon realizó un golpe crítico. + More...

+
+Inheritance diagram for Library.Strategies.IStrategyCritCheck:
+
+
+
+
+Collaboration diagram for Library.Strategies.IStrategyCritCheck:
+
+
+
+ + + + + +

+Public Member Functions

double CriticalCheck ()
 Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su propia funcionalidad.
 
+

Detailed Description

+

Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resultados al momento de verificar si un pokemon realizó un golpe crítico.

+ +

Definition at line 6 of file IStrategyCritCheck.cs.

+

Member Function Documentation

+ +

◆ CriticalCheck()

+ +
+
+ + + + + + + +
double Library.Strategies.IStrategyCritCheck.CriticalCheck ()
+
+ +

Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su propia funcionalidad.

+
Returns
Un valor double determinando si el golpe fue crítico o no
+ +

Implemented in Library.Strategies.StrategyAlwaysCrit, Library.Strategies.StrategyNonCrit, and Library.Strategies.StrategyRandomCrit.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+
The documentation for this interface was generated from the following file: +
+
+ + + + diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.js b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.js new file mode 100644 index 0000000..925a5a1 --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.js @@ -0,0 +1,4 @@ +var interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck = +[ + [ "CriticalCheck", "interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html#aff67cf04282f5bb52593bd366ae6d2a2", null ] +]; \ No newline at end of file diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck__coll__graph.dot b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck__coll__graph.dot new file mode 100644 index 0000000..7639f72 --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck__coll__graph.dot @@ -0,0 +1,15 @@ +digraph "Library.Strategies.IStrategyCritCheck" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.IStrategy
CritCheck
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck__inherit__graph.dot b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck__inherit__graph.dot new file mode 100644 index 0000000..f1adcaf --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck__inherit__graph.dot @@ -0,0 +1,39 @@ +digraph "Library.Strategies.IStrategyCritCheck" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.IStrategy
CritCheck
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
AlwaysCrit
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html",tooltip="Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon...."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node3 [id="Node000003",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
NonCrit
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Strategies_1_1StrategyNonCrit.html",tooltip="Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon...."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node4 [id="Node000004",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
RandomCrit
 
+CriticalCheck()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Strategies_1_1StrategyRandomCrit.html",tooltip="Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon...."]; +} diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck_aff67cf04282f5bb52593bd366ae6d2a2_icgraph.dot b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck_aff67cf04282f5bb52593bd366ae6d2a2_icgraph.dot new file mode 100644 index 0000000..df70097 --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck_aff67cf04282f5bb52593bd366ae6d2a2_icgraph.dot @@ -0,0 +1,12 @@ +digraph "Library.Strategies.IStrategyCritCheck.CriticalCheck" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Strategies.IStrategy\lCritCheck.CriticalCheck",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.DamageCalculator.\lCriticalCheck",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1DamageCalculator.html#a89e81852f3b95bd2aadc9644c50b7364",tooltip="Determina si un ataque resulta en un golpe crítico basado en la estrategia que esté utilizando."]; +} diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer-members.html b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer-members.html new file mode 100644 index 0000000..f481b21 --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer-members.html @@ -0,0 +1,115 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Library.Strategies.IStrategyStartingPlayer Member List
+
+
+ +

This is the complete list of members for Library.Strategies.IStrategyStartingPlayer, including all inherited members.

+ + +
StartingPlayer()Library.Strategies.IStrategyStartingPlayer
+
+ + + + diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html new file mode 100644 index 0000000..dfb8c7b --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html @@ -0,0 +1,170 @@ + + + + + + + +Object Lifecycle: Library.Strategies.IStrategyStartingPlayer Interface Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Strategies.IStrategyStartingPlayer Interface Reference
+
+
+ +

Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resultados al momento de verificar que jugador va a tener el primer turno. + More...

+
+Inheritance diagram for Library.Strategies.IStrategyStartingPlayer:
+
+
+
+
+Collaboration diagram for Library.Strategies.IStrategyStartingPlayer:
+
+
+
+ + + + + +

+Public Member Functions

int StartingPlayer ()
 Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su propia funcionalidad.
 
+

Detailed Description

+

Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resultados al momento de verificar que jugador va a tener el primer turno.

+ +

Definition at line 6 of file IStrategyStartingPlayer.cs.

+

Member Function Documentation

+ +

◆ StartingPlayer()

+ +
+
+ + + + + + + +
int Library.Strategies.IStrategyStartingPlayer.StartingPlayer ()
+
+ +

Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su propia funcionalidad.

+
Returns
Un valor int que va a ser usado como índice de la lista de jugadores para determinar que jugador tiene el primer turno
+ +

Implemented in Library.Strategies.StrategyPlayerOneStart, Library.Strategies.StrategyPlayerTwoStart, and Library.Strategies.StrategyRandomStartingPlayer.

+
+Here is the caller graph for this function:
+
+
+
+ +
+
+
The documentation for this interface was generated from the following file: +
+
+ + + + diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.js b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.js new file mode 100644 index 0000000..ff6070a --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.js @@ -0,0 +1,4 @@ +var interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer = +[ + [ "StartingPlayer", "interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html#a522b2c296c6aa06cb8daf5db4472c5ab", null ] +]; \ No newline at end of file diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer__coll__graph.dot b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer__coll__graph.dot new file mode 100644 index 0000000..593bd46 --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer__coll__graph.dot @@ -0,0 +1,15 @@ +digraph "Library.Strategies.IStrategyStartingPlayer" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.IStrategy
StartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; +} diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer__inherit__graph.dot b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer__inherit__graph.dot new file mode 100644 index 0000000..116970b --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer__inherit__graph.dot @@ -0,0 +1,39 @@ +digraph "Library.Strategies.IStrategyStartingPlayer" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ +
Library.Strategies.IStrategy
StartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
PlayerOneStart
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html",tooltip="Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn..."]; + Node1 -> Node3 [id="edge2_Node000001_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node3 [id="Node000003",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
PlayerTwoStart
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html",tooltip="Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn..."]; + Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node4 [id="Node000004",shape=plain,label=< +
+ +
+ +
Library.Strategies.Strategy
RandomStartingPlayer
 
+StartingPlayer()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html",tooltip="Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn..."]; +} diff --git a/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer_a522b2c296c6aa06cb8daf5db4472c5ab_icgraph.dot b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer_a522b2c296c6aa06cb8daf5db4472c5ab_icgraph.dot new file mode 100644 index 0000000..b194360 --- /dev/null +++ b/docs/html/interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer_a522b2c296c6aa06cb8daf5db4472c5ab_icgraph.dot @@ -0,0 +1,14 @@ +digraph "Library.Strategies.IStrategyStartingPlayer.StartingPlayer" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + rankdir="RL"; + Node1 [id="Node000001",label="Library.Strategies.IStrategy\lStartingPlayer.StartingPlayer",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su ..."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node2 [id="Node000002",label="Library.Game.StartingPlayer",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#abd80e606fec7d88f0cd70a89cb29b6b4",tooltip="Obtiene un valor aleatorio entre 0 y 1."]; + Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "]; + Node3 [id="Node000003",label="Library.Game.Game",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$classLibrary_1_1Game.html#a1bfa0da42bdc4ef2423723d25ccf679f",tooltip="Constructor de la clase. Agrega a los jugadores a la partida y según su estrategia determinará cuál d..."]; +} diff --git a/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot-members.html b/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot-members.html new file mode 100644 index 0000000..a879d12 --- /dev/null +++ b/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot-members.html @@ -0,0 +1,118 @@ + + + + + + + +Object Lifecycle: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Ucu.Poo.DiscordBot.Services.IBot Member List
+
+
+ +

This is the complete list of members for Ucu.Poo.DiscordBot.Services.IBot, including all inherited members.

+ + + + + +
StartAsync(ServiceProvider services) (defined in Ucu.Poo.DiscordBot.Services.IBot)Ucu.Poo.DiscordBot.Services.IBot
StartAsync(ServiceProvider services) (defined in Ucu.Poo.DiscordBot.Services.IBot)Ucu.Poo.DiscordBot.Services.IBot
StopAsync() (defined in Ucu.Poo.DiscordBot.Services.IBot)Ucu.Poo.DiscordBot.Services.IBot
StopAsync() (defined in Ucu.Poo.DiscordBot.Services.IBot)Ucu.Poo.DiscordBot.Services.IBot
+
+ + + + diff --git a/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot.html b/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot.html new file mode 100644 index 0000000..87b0e64 --- /dev/null +++ b/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot.html @@ -0,0 +1,152 @@ + + + + + + + +Object Lifecycle: Ucu.Poo.DiscordBot.Services.IBot Interface Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Ucu.Poo.DiscordBot.Services.IBot Interface Reference
+
+
+ +

La interfaz del Bot de Discord para usar con inyección de dependencias. + More...

+
+Inheritance diagram for Ucu.Poo.DiscordBot.Services.IBot:
+
+
+
+
+Collaboration diagram for Ucu.Poo.DiscordBot.Services.IBot:
+
+
+
+ + + + + + + + + + +

+Public Member Functions

+Task StartAsync (ServiceProvider services)
 
+Task StopAsync ()
 
+Task StartAsync (ServiceProvider services)
 
+Task StopAsync ()
 
+

Detailed Description

+

La interfaz del Bot de Discord para usar con inyección de dependencias.

+ +

Definition at line 8 of file IBot.cs.

+

The documentation for this interface was generated from the following files: +
+
+ + + + diff --git a/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot__coll__graph.dot b/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot__coll__graph.dot new file mode 100644 index 0000000..d9706de --- /dev/null +++ b/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot__coll__graph.dot @@ -0,0 +1,18 @@ +digraph "Ucu.Poo.DiscordBot.Services.IBot" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + +
Ucu.Poo.DiscordBot.Services.IBot
 
+StartAsync()
+StopAsync()
+StartAsync()
+StopAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La interfaz del Bot de Discord para usar con inyección de dependencias."]; +} diff --git a/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot__inherit__graph.dot b/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot__inherit__graph.dot new file mode 100644 index 0000000..e7ee1f9 --- /dev/null +++ b/docs/html/interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot__inherit__graph.dot @@ -0,0 +1,32 @@ +digraph "Ucu.Poo.DiscordBot.Services.IBot" +{ + // INTERACTIVE_SVG=YES + // LATEX_PDF_SIZE + bgcolor="transparent"; + edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10]; + node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4]; + Node1 [id="Node000001",shape=plain,label=< +
+ +
+ + + + +
Ucu.Poo.DiscordBot.Services.IBot
 
+StartAsync()
+StopAsync()
+StartAsync()
+StopAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La interfaz del Bot de Discord para usar con inyección de dependencias."]; + Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; + Node2 [id="Node000002",shape=plain,label=< +
+ +
+ + + + + + +
Ucu.Poo.DiscordBot.Services.Bot
 
+Bot()
+StartAsync()
+StopAsync()
+Bot()
+StartAsync()
+StopAsync()
> +,height=0.2,width=0.4,color="gray40", fillcolor="white", style="filled",URL="$classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot.html",tooltip="Esta clase implementa el bot de Discord."]; + Node1 -> Node2 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" ",arrowtail="onormal"]; +} diff --git a/docs/html/jquery.js b/docs/html/jquery.js index 1dffb65..875ada7 100644 --- a/docs/html/jquery.js +++ b/docs/html/jquery.js @@ -1,17 +1,143 @@ /*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp( +"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType +}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c +)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){ +return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll( +":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id") +)&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push( +"\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test( +a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null, +null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne +).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for( +var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n; +return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0, +r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r] +,C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each( +function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r, +"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})} +),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each( +"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=y(e||this.defaultElement||this)[0],this.element=y(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=y(),this.hoverable=y(),this.focusable=y(),this.classesElementLookup={},e!==this&&(y.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=y(e.style?e.ownerDocument:e.document||e),this.window=y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=y.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:y.noop,_create:y.noop,_init:y.noop,destroy:function(){var i=this;this._destroy(),y.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:y.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return y.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=y.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return y("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthx(D(s),D(n))?o.important="horizontal":o.important="vertical",p.using.call(this,t,o)}),h.offset(y.extend(l,{using:t}))})},y.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,h=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),y.ui.plugin={add:function(t,e,i){var s,n=y.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&y(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function t(t){y(t).removeData("resizable").removeData("ui-resizable").off(".resizable")}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,i,s,n,o=this.options,h=this;if(this.handles=o.handles||(y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=y(),this._addedHandles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},e=0;e"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:o.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(n),this._addedHandles=this._addedHandles.add(n));this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=y(this.handles[e]),this._on(this.handles[e],{mousedown:h._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=y(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){h.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),h.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=y(this.handles[e])[0])!==t.target&&!y.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=y(s.containment).scrollLeft()||0,i+=y(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(y.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,h=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,r=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),h&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=a-e.minWidth),s&&l&&(t.left=a-e.maxWidth),h&&i&&(t.top=r-e.minHeight),n&&i&&(t.top=r-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){y.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),y.ui.plugin.add("resizable","animate",{stop:function(e){var i=y(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,h=n?0:i.sizeDiff.width,n={width:i.size.width-h,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(y.extend(n,o&&h?{top:o,left:h}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&y(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var i,s,n=y(this).resizable("instance"),t=n.options,e=n.element,o=t.containment,h=o instanceof y?o.get(0):/parent/.test(o)?e.parent().get(0):o;h&&(n.containerElement=y(h),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(i=y(h),s=[],y(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(h,"left")?h.scrollWidth:o,e=n._hasScroll(h)?h.scrollHeight:e,n.parentData={element:h,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=y(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,h={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(h=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-h.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0),i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css("position")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-h.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-h.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=y(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=y(t.helper),h=o.offset(),a=o.outerWidth()-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var t=y(this).resizable("instance").options;y(t.alsoResize).each(function(){var t=y(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=y(this).resizable("instance"),s=e.options,n=e.originalSize,o=e.originalPosition,h={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};y(s.alsoResize).each(function(){var t=y(this),s=y(this).data("ui-resizable-alsoresize"),n={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(e,function(t,e){var i=(s[e]||0)+(h[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var t=y(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=y(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=y(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var t,e=y(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,h=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,r=a[0]||1,l=a[1]||1,u=Math.round((s.width-n.width)/r)*r,p=Math.round((s.height-n.height)/l)*l,d=n.width+u,c=n.height+p,f=i.maxWidth&&i.maxWidthd,s=i.minHeight&&i.minHeight>c;i.grid=a,m&&(d+=r),s&&(c+=l),f&&(d-=r),g&&(c-=l),/^(se|s|e)$/.test(h)?(e.size.width=d,e.size.height=c):/^(ne)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.top=o.top-p):/^(sw)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.left=o.left-u):((c-l<=0||d-r<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=y(e||this.defaultElement||this)[0],this.element=y(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=y(),this.hoverable=y(),this.focusable=y(),this.classesElementLookup={},e!==this&&(y.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t +){t.target===e&&this.destroy()}}),this.document=y(e.style?e.ownerDocument:e.document||e),this.window=y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=y.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:y.noop,_create:y.noop,_init:y.noop,destroy:function(){var i=this;this._destroy(),y.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:y.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return y.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t +]=y.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return y("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i}, +getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthx(D(s),D(n))?o.important="horizontal":o.important="vertical",p.using.call(this,t,o)}),h.offset(y.extend(l,{using:t}))})},y.ui.position={fit:{left:function(t,e){var i=e.within, +s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,h=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),y.ui.plugin={add:function(t,e,i){var s,n=y.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})), +this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&y(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function t(t){y(t +).removeData("resizable").removeData("ui-resizable").off(".resizable")}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,i,s,n,o=this.options,h=this;if(this.handles=o.handles||(y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=y(),this._addedHandles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split( +","),this.handles={},e=0;e"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:o.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(n),this._addedHandles=this._addedHandles.add(n));this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=y(this.handles[e]),this._on(this.handles[e],{mousedown:h._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=y(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add( +this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){h.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),h.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=y(this.handles[e])[0])!==t.target&&!y.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=y(s.containment).scrollLeft()||0,i+=y(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{ +width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(), +!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(y.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){ +this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,h=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,r=this.originalPosition.top+this.originalSize.height +,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),h&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=a-e.minWidth),s&&l&&(t.left=a-e.maxWidth),h&&i&&(t.top=r-e.minHeight),n&&i&&(t.top=r-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e, +i){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){y.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),y.ui.plugin.add("resizable","animate",{stop:function(e){var i=y(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,h=n?0:i.sizeDiff.width,n={width:i.size.width-h,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left +)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(y.extend(n,o&&h?{top:o,left:h}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&y(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var i,s,n=y(this).resizable("instance"),t=n.options,e=n.element,o=t.containment,h=o instanceof y?o.get(0):/parent/.test(o)?e.parent().get(0):o;h&&(n.containerElement=y(h),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(i=y(h),s=[],y(["Top","Right","Left","Bottom"]).each(function(t,e +){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(h,"left")?h.scrollWidth:o,e=n._hasScroll(h)?h.scrollHeight:e,n.parentData={element:h,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=y(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,h={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(h=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-h.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0), +i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css("position")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-h.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-h.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=y(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=y(t.helper),h=o.offset(),a=o.outerWidth( +)-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var t=y(this).resizable("instance").options;y(t.alsoResize).each(function(){var t=y(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=y(this).resizable("instance"),s=e.options,n=e.originalSize,o=e.originalPosition,h={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};y(s.alsoResize).each(function(){var t=y(this),s=y(this).data("ui-resizable-alsoresize"),n={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(e, +function(t,e){var i=(s[e]||0)+(h[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var t=y(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=y(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=y(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var t,e=y(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,h=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,r=a[0 +]||1,l=a[1]||1,u=Math.round((s.width-n.width)/r)*r,p=Math.round((s.height-n.height)/l)*l,d=n.width+u,c=n.height+p,f=i.maxWidth&&i.maxWidthd,s=i.minHeight&&i.minHeight>c;i.grid=a,m&&(d+=r),s&&(c+=l),f&&(d-=r),g&&(c-=l),/^(se|s|e)$/.test(h)?(e.size.width=d,e.size.height=c):/^(ne)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.top=o.top-p):/^(sw)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.left=o.left-u):((c-l<=0||d-r<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0=f[g]?0:Math.min(f[g],n));!a&&1=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right-1){ +targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se", +"n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if( +session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)} +closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if( +session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE, +function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset); +tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList, +finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight())); +return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")} +function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(), +elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight, +viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 + */!function(a){function f(a,b){if(!(a.originalEvent.touches.length>1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b, +"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery); +/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 * http://www.smartmenus.org/ - * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file + * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)), +mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend( +$.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy( +this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData( +"smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id" +).indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?( +this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for( +var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){ +return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if(( +!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&( +this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0 +]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass( +"highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){ +t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]" +)||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){ +t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"), +a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i, +downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2) +)&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t +)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0), +canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}}, +rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})} +return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1, +bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); diff --git a/docs/html/md_C_1_2Repos_2pii__2024__2__equipo10_2README.html b/docs/html/md_C_1_2Repos_2pii__2024__2__equipo10_2README.html index aa3ece2..b4e5e20 100644 --- a/docs/html/md_C_1_2Repos_2pii__2024__2__equipo10_2README.html +++ b/docs/html/md_C_1_2Repos_2pii__2024__2__equipo10_2README.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Qué hay configurado en esta plantilla @@ -35,7 +35,7 @@
- + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Qué hay configurado en esta plantilla
+
+
+

+
    +
  1. Un proyecto de biblioteca (creado con dotnet new classlib --name Library) en la carpeta src\Library
  2. +
  3. Un proyecto de aplicación de consola (creado con dotnet new console --name Program) en la carpeta src\Program
  4. +
  5. Un proyecto de prueba en NUnit (creado con dotnet new nunit --name LibraryTests) en la carpeta test\LibraryTests
  6. +
  7. Un proyecto de Doxygen para generación de sitio web de documentación en la carpeta docs
  8. +
  9. Análisis estático con Roslyn analyzers en los proyectos de biblioteca y de aplicación
  10. +
  11. Análisis de estilo con StyleCop en los proyectos de biblioteca y de aplicación
  12. +
  13. Una solución ProjectTemplate.sln que referencia todos los proyectos de C# y facilita la compilación con dotnet build.
  14. +
  15. Tareas preconfiguradas para compilar y ejecutar los proyectos, ejecutar las pruebas, y generar documentación desde VSCode en la carpeta .vscode
  16. +
  17. Análisis de cobertura de los casos de prueba mediante []() que aparece en los márgenes con el complemento de VS Code Coverage Gutters.
  18. +
  19. Ejecución automática de compilación y prueba mediante GitHub Actions configuradas en el repositorio al hacer push o pull request.
  20. +
+

Vean este 🎥 video que explica el funcionamiento de la plantilla.

+

+Convenciones

+

Convenciones de código en C#

+

Convenciones de nombres en C#

+

+Dónde encontrar información sobre los errores/avisos al compilar

+

C# Compiler Errors (CS*)

+

Roslyn Analyzer Warnings (CA*)

+

StyleCop Analyzer Warnings (SA*)

+

+Cómo deshabilitar temporalmente los avisos al compilar

+

+Roslyn Analyzer

+

Comentar las siguientes líneas en los archivos de proyecto (*.csproj)

<EnableNETAnalyzers>true</EnableNETAnalyzers>
+
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
+
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
+

+StyleCop Analyzer

+

Comentar la línea <PackageReference Include="StyleCop.Analyzers" Version="1.1.118"/> en los archivos de proyecto (*.csproj)

+
+
+
+ + + + diff --git a/docs/html/menudata.js b/docs/html/menudata.js index 03f5cb0..89c1b3a 100644 --- a/docs/html/menudata.js +++ b/docs/html/menudata.js @@ -37,39 +37,46 @@ var menudata={children:[ {text:"Class Members",url:"functions.html",children:[ {text:"All",url:"functions.html",children:[ {text:"a",url:"functions.html#index_a"}, -{text:"b",url:"functions.html#index_b"}, -{text:"c",url:"functions.html#index_c"}, -{text:"e",url:"functions.html#index_e"}, -{text:"f",url:"functions.html#index_f"}, -{text:"g",url:"functions.html#index_g"}, -{text:"h",url:"functions.html#index_h"}, -{text:"l",url:"functions.html#index_l"}, -{text:"m",url:"functions.html#index_m"}, -{text:"n",url:"functions.html#index_n"}, -{text:"p",url:"functions.html#index_p"}, -{text:"r",url:"functions.html#index_r"}, -{text:"s",url:"functions.html#index_s"}, -{text:"t",url:"functions.html#index_t"}, -{text:"u",url:"functions.html#index_u"}, -{text:"w",url:"functions.html#index_w"}, -{text:"z",url:"functions.html#index_z"}]}, +{text:"b",url:"functions_b.html#index_b"}, +{text:"c",url:"functions_c.html#index_c"}, +{text:"d",url:"functions_d.html#index_d"}, +{text:"e",url:"functions_e.html#index_e"}, +{text:"f",url:"functions_f.html#index_f"}, +{text:"g",url:"functions_g.html#index_g"}, +{text:"h",url:"functions_h.html#index_h"}, +{text:"i",url:"functions_i.html#index_i"}, +{text:"j",url:"functions_j.html#index_j"}, +{text:"l",url:"functions_l.html#index_l"}, +{text:"m",url:"functions_m.html#index_m"}, +{text:"n",url:"functions_n.html#index_n"}, +{text:"p",url:"functions_p.html#index_p"}, +{text:"r",url:"functions_r.html#index_r"}, +{text:"s",url:"functions_s.html#index_s"}, +{text:"t",url:"functions_t.html#index_t"}, +{text:"u",url:"functions_u.html#index_u"}, +{text:"w",url:"functions_w.html#index_w"}, +{text:"z",url:"functions_z.html#index_z"}]}, {text:"Functions",url:"functions_func.html",children:[ {text:"a",url:"functions_func.html#index_a"}, -{text:"c",url:"functions_func.html#index_c"}, -{text:"e",url:"functions_func.html#index_e"}, -{text:"f",url:"functions_func.html#index_f"}, -{text:"g",url:"functions_func.html#index_g"}, -{text:"h",url:"functions_func.html#index_h"}, -{text:"l",url:"functions_func.html#index_l"}, -{text:"m",url:"functions_func.html#index_m"}, -{text:"n",url:"functions_func.html#index_n"}, -{text:"p",url:"functions_func.html#index_p"}, -{text:"r",url:"functions_func.html#index_r"}, -{text:"s",url:"functions_func.html#index_s"}, -{text:"t",url:"functions_func.html#index_t"}, -{text:"u",url:"functions_func.html#index_u"}, -{text:"w",url:"functions_func.html#index_w"}, -{text:"z",url:"functions_func.html#index_z"}]}, +{text:"b",url:"functions_func_b.html#index_b"}, +{text:"c",url:"functions_func_c.html#index_c"}, +{text:"d",url:"functions_func_d.html#index_d"}, +{text:"e",url:"functions_func_e.html#index_e"}, +{text:"f",url:"functions_func_f.html#index_f"}, +{text:"g",url:"functions_func_g.html#index_g"}, +{text:"h",url:"functions_func_h.html#index_h"}, +{text:"i",url:"functions_func_i.html#index_i"}, +{text:"j",url:"functions_func_j.html#index_j"}, +{text:"l",url:"functions_func_l.html#index_l"}, +{text:"m",url:"functions_func_m.html#index_m"}, +{text:"n",url:"functions_func_n.html#index_n"}, +{text:"p",url:"functions_func_p.html#index_p"}, +{text:"r",url:"functions_func_r.html#index_r"}, +{text:"s",url:"functions_func_s.html#index_s"}, +{text:"t",url:"functions_func_t.html#index_t"}, +{text:"u",url:"functions_func_u.html#index_u"}, +{text:"w",url:"functions_func_w.html#index_w"}, +{text:"z",url:"functions_func_z.html#index_z"}]}, {text:"Properties",url:"functions_prop.html"}]}]}, {text:"Files",url:"files.html",children:[ {text:"File List",url:"files.html"}]}]} diff --git a/docs/html/namespaceLibrary.html b/docs/html/namespaceLibrary.html index e8d9a3a..11b55e9 100644 --- a/docs/html/namespaceLibrary.html +++ b/docs/html/namespaceLibrary.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Library Namespace Reference @@ -35,7 +35,7 @@
- + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
LibraryTests.Strategies Namespace Reference
+
+
+ + + + + + + + + + + + + + +

+Classes

class  StrategyAlwaysCritTest
 
class  StrategyNonCritTest
 
class  StrategyPlayerOneStartTest
 
class  StrategyPlayerTwoStartTest
 
class  StrategyRandomCritTest
 
class  StrategyRandomStartingPlayerTest
 
+
+
+ + + + diff --git a/docs/html/namespaceLibraryTests_1_1Strategies.js b/docs/html/namespaceLibraryTests_1_1Strategies.js new file mode 100644 index 0000000..722daad --- /dev/null +++ b/docs/html/namespaceLibraryTests_1_1Strategies.js @@ -0,0 +1,9 @@ +var namespaceLibraryTests_1_1Strategies = +[ + [ "StrategyAlwaysCritTest", "classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest.html", null ], + [ "StrategyNonCritTest", "classLibraryTests_1_1Strategies_1_1StrategyNonCritTest.html", null ], + [ "StrategyPlayerOneStartTest", "classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest.html", null ], + [ "StrategyPlayerTwoStartTest", "classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest.html", null ], + [ "StrategyRandomCritTest", "classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest.html", null ], + [ "StrategyRandomStartingPlayerTest", "classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest.html", null ] +]; \ No newline at end of file diff --git a/docs/html/namespaceLibrary_1_1Commands.html b/docs/html/namespaceLibrary_1_1Commands.html new file mode 100644 index 0000000..68ba032 --- /dev/null +++ b/docs/html/namespaceLibrary_1_1Commands.html @@ -0,0 +1,174 @@ + + + + + + + +Object Lifecycle: Library.Commands Namespace Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Commands Namespace Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Classes

class  AttackCommand
 Esta clase implementa el comando 'attack' del bot. More...
 
class  BattleCommand
 Esta clase implementa el comando 'battle' del bot. Este comando une al jugador que envía el mensaje con el oponente que se recibe como parámetro, si lo hubiera, en una batalla; si no se recibe un oponente, lo une con cualquiera que esté esperando para jugar. More...
 
class  CatalogueCommand
 Esta clase implementa el comando 'catalogue' del bot. More...
 
class  ChangeCommand
 Esta clase implementa el comando 'change' del bot. More...
 
class  CheckTurnCommand
 Esta clase implementa el comando 'checkturn' del bot. More...
 
class  ChooseCommand
 Esta clase implementa el comando 'choose' del bot. More...
 
class  ChooseRandomCommand
 Esta clase implementa el comando 'chooserandom' del bot. More...
 
class  CommandHelper
 
class  HelpCommand
 Esta clase implementa el comando 'help' del bot. More...
 
class  HpCommand
 Esta clase implementa el comando 'hp' del bot. More...
 
class  JoinCommand
 Esta clase implementa el comando 'join' del bot. Este comando une al jugador que envía el mensaje a la lista de jugadores esperando para jugar. More...
 
class  LeaveCommand
 Esta clase implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lista de jugadores esperando para jugar. More...
 
class  PokemonNameCommand
 Esta clase implementa el comando 'name' del bot. Este comando retorna el nombre de un Pokémon dado su identificador. More...
 
class  ShowAttacksCommand
 Esta clase implementa el comando 'showattacks' del bot. More...
 
class  ShowItemsCommand
 Esta clase implementa el comando 'showitems' del bot. More...
 
class  SurrenderCommand
 Esta clase implementa el comando 'surrender' del bot. More...
 
class  UseCommand
 Esta clase implementa el comando 'use' del bot. More...
 
class  UserInfoCommand
 Esta clase implementa el comando 'userinfo', alias 'who' o 'whois' del bot. Este comando retorna información sobre el usuario que envía el mensaje o sobre otro usuario si se incluye como parámetro.. More...
 
class  WaitingCommand
 Esta clase implementa el comando 'waitinglist' del bot. Este comando muestra la lista de jugadores esperando para jugar. More...
 
+
+
+ + + + diff --git a/docs/html/namespaceLibrary_1_1Commands.js b/docs/html/namespaceLibrary_1_1Commands.js new file mode 100644 index 0000000..69a1064 --- /dev/null +++ b/docs/html/namespaceLibrary_1_1Commands.js @@ -0,0 +1,21 @@ +var namespaceLibrary_1_1Commands = +[ + [ "AttackCommand", "classLibrary_1_1Commands_1_1AttackCommand.html", "classLibrary_1_1Commands_1_1AttackCommand" ], + [ "BattleCommand", "classLibrary_1_1Commands_1_1BattleCommand.html", "classLibrary_1_1Commands_1_1BattleCommand" ], + [ "CatalogueCommand", "classLibrary_1_1Commands_1_1CatalogueCommand.html", "classLibrary_1_1Commands_1_1CatalogueCommand" ], + [ "ChangeCommand", "classLibrary_1_1Commands_1_1ChangeCommand.html", "classLibrary_1_1Commands_1_1ChangeCommand" ], + [ "CheckTurnCommand", "classLibrary_1_1Commands_1_1CheckTurnCommand.html", "classLibrary_1_1Commands_1_1CheckTurnCommand" ], + [ "ChooseCommand", "classLibrary_1_1Commands_1_1ChooseCommand.html", "classLibrary_1_1Commands_1_1ChooseCommand" ], + [ "ChooseRandomCommand", "classLibrary_1_1Commands_1_1ChooseRandomCommand.html", "classLibrary_1_1Commands_1_1ChooseRandomCommand" ], + [ "HelpCommand", "classLibrary_1_1Commands_1_1HelpCommand.html", "classLibrary_1_1Commands_1_1HelpCommand" ], + [ "HpCommand", "classLibrary_1_1Commands_1_1HpCommand.html", "classLibrary_1_1Commands_1_1HpCommand" ], + [ "JoinCommand", "classLibrary_1_1Commands_1_1JoinCommand.html", "classLibrary_1_1Commands_1_1JoinCommand" ], + [ "LeaveCommand", "classLibrary_1_1Commands_1_1LeaveCommand.html", "classLibrary_1_1Commands_1_1LeaveCommand" ], + [ "PokemonNameCommand", "classLibrary_1_1Commands_1_1PokemonNameCommand.html", "classLibrary_1_1Commands_1_1PokemonNameCommand" ], + [ "ShowAttacksCommand", "classLibrary_1_1Commands_1_1ShowAttacksCommand.html", "classLibrary_1_1Commands_1_1ShowAttacksCommand" ], + [ "ShowItemsCommand", "classLibrary_1_1Commands_1_1ShowItemsCommand.html", "classLibrary_1_1Commands_1_1ShowItemsCommand" ], + [ "SurrenderCommand", "classLibrary_1_1Commands_1_1SurrenderCommand.html", "classLibrary_1_1Commands_1_1SurrenderCommand" ], + [ "UseCommand", "classLibrary_1_1Commands_1_1UseCommand.html", "classLibrary_1_1Commands_1_1UseCommand" ], + [ "UserInfoCommand", "classLibrary_1_1Commands_1_1UserInfoCommand.html", "classLibrary_1_1Commands_1_1UserInfoCommand" ], + [ "WaitingCommand", "classLibrary_1_1Commands_1_1WaitingCommand.html", "classLibrary_1_1Commands_1_1WaitingCommand" ] +]; \ No newline at end of file diff --git a/docs/html/namespaceLibrary_1_1Strategies.html b/docs/html/namespaceLibrary_1_1Strategies.html new file mode 100644 index 0000000..53ab9f0 --- /dev/null +++ b/docs/html/namespaceLibrary_1_1Strategies.html @@ -0,0 +1,142 @@ + + + + + + + +Object Lifecycle: Library.Strategies Namespace Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Library.Strategies Namespace Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Classes

interface  IStrategyCritCheck
 Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resultados al momento de verificar si un pokemon realizó un golpe crítico. More...
 
interface  IStrategyStartingPlayer
 Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resultados al momento de verificar que jugador va a tener el primer turno. More...
 
class  StrategyAlwaysCrit
 Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon. Al ser una estrategia que determina el daño crítico, implementa la interfaz IStrategyCritCheck. More...
 
class  StrategyNonCrit
 Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon. Al ser una estrategia que determina el daño crítico, implementa la interfaz IStrategyCritCheck. More...
 
class  StrategyPlayerOneStart
 Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turno. Al ser una estrategia que determina quién va a ser el jugador que tenga el primer turno, implementa la interfaz IStrategyStartingPlayer. More...
 
class  StrategyPlayerTwoStart
 Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turno. Al ser una estrategia que determina quién va a ser el jugador que tenga el primer turno, implementa la interfaz IStrategyStartingPlayer. More...
 
class  StrategyRandomCrit
 Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon. Al ser una estrategia que determina el daño crítico, implementa la interfaz IStrategyCritCheck. More...
 
class  StrategyRandomStartingPlayer
 Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turno. Al ser una estrategia que determina quién va a ser el jugador que tenga el primer turno, implementa la interfaz IStrategyStartingPlayer. More...
 
+
+
+ + + + diff --git a/docs/html/namespaceLibrary_1_1Strategies.js b/docs/html/namespaceLibrary_1_1Strategies.js new file mode 100644 index 0000000..1e7bbeb --- /dev/null +++ b/docs/html/namespaceLibrary_1_1Strategies.js @@ -0,0 +1,11 @@ +var namespaceLibrary_1_1Strategies = +[ + [ "IStrategyCritCheck", "interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html", "interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck" ], + [ "IStrategyStartingPlayer", "interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html", "interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer" ], + [ "StrategyAlwaysCrit", "classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html", "classLibrary_1_1Strategies_1_1StrategyAlwaysCrit" ], + [ "StrategyNonCrit", "classLibrary_1_1Strategies_1_1StrategyNonCrit.html", "classLibrary_1_1Strategies_1_1StrategyNonCrit" ], + [ "StrategyPlayerOneStart", "classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html", "classLibrary_1_1Strategies_1_1StrategyPlayerOneStart" ], + [ "StrategyPlayerTwoStart", "classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html", "classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart" ], + [ "StrategyRandomCrit", "classLibrary_1_1Strategies_1_1StrategyRandomCrit.html", "classLibrary_1_1Strategies_1_1StrategyRandomCrit" ], + [ "StrategyRandomStartingPlayer", "classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html", "classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer" ] +]; \ No newline at end of file diff --git a/docs/html/namespaceConsoleApplication.html b/docs/html/namespaceProgram.html similarity index 88% rename from docs/html/namespaceConsoleApplication.html rename to docs/html/namespaceProgram.html index 3bfa8b4..91f7a13 100644 --- a/docs/html/namespaceConsoleApplication.html +++ b/docs/html/namespaceProgram.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: ConsoleApplication Namespace Reference +Object Lifecycle: Program Namespace Reference @@ -35,7 +35,7 @@ - +
@@ -98,14 +98,14 @@
-
ConsoleApplication Namespace Reference
+
Program Namespace Reference
- +

Classes

class  Program
 Programa de consola de demostración.
 Un programa que implementa un bot de Discord.
 
@@ -113,8 +113,8 @@ diff --git a/docs/html/namespaceTests.html b/docs/html/namespaceTests.html index 18718c8..147c1d6 100644 --- a/docs/html/namespaceTests.html +++ b/docs/html/namespaceTests.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Tests Namespace Reference @@ -35,7 +35,7 @@
- + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Ucu Namespace Reference
+
+
+
+
+ + + + diff --git a/docs/html/namespaceUcu.js b/docs/html/namespaceUcu.js new file mode 100644 index 0000000..0543468 --- /dev/null +++ b/docs/html/namespaceUcu.js @@ -0,0 +1,4 @@ +var namespaceUcu = +[ + [ "Poo", "namespaceUcu_1_1Poo.html", "namespaceUcu_1_1Poo" ] +]; \ No newline at end of file diff --git a/docs/html/namespaceUcu_1_1Poo.html b/docs/html/namespaceUcu_1_1Poo.html new file mode 100644 index 0000000..58e6782 --- /dev/null +++ b/docs/html/namespaceUcu_1_1Poo.html @@ -0,0 +1,112 @@ + + + + + + + +Object Lifecycle: Ucu.Poo Namespace Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Ucu.Poo Namespace Reference
+
+
+
+
+ + + + diff --git a/docs/html/namespaceUcu_1_1Poo.js b/docs/html/namespaceUcu_1_1Poo.js new file mode 100644 index 0000000..8fed7ab --- /dev/null +++ b/docs/html/namespaceUcu_1_1Poo.js @@ -0,0 +1,4 @@ +var namespaceUcu_1_1Poo = +[ + [ "DiscordBot", "namespaceUcu_1_1Poo_1_1DiscordBot.html", "namespaceUcu_1_1Poo_1_1DiscordBot" ] +]; \ No newline at end of file diff --git a/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot.html b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot.html new file mode 100644 index 0000000..cee455d --- /dev/null +++ b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot.html @@ -0,0 +1,112 @@ + + + + + + + +Object Lifecycle: Ucu.Poo.DiscordBot Namespace Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Ucu.Poo.DiscordBot Namespace Reference
+
+
+
+
+ + + + diff --git a/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot.js b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot.js new file mode 100644 index 0000000..2e61a95 --- /dev/null +++ b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot.js @@ -0,0 +1,5 @@ +var namespaceUcu_1_1Poo_1_1DiscordBot = +[ + [ "Commands", "namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands.html", "namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands" ], + [ "Services", "namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services.html", "namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services" ] +]; \ No newline at end of file diff --git a/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands.html b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands.html new file mode 100644 index 0000000..b5d4a2a --- /dev/null +++ b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands.html @@ -0,0 +1,130 @@ + + + + + + + +Object Lifecycle: Ucu.Poo.DiscordBot.Commands Namespace Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Ucu.Poo.DiscordBot.Commands Namespace Reference
+
+
+ + + + + + + + + + + + + + +

+Classes

class  AttackCommand
 Esta clase implementa el comando 'attack' del bot. More...
 
class  ChangePokemonCommand
 Esta clase implementa el comando 'changepokemon' del bot. More...
 
class  ChooseCommand
 Esta clase implementa el comando 'choose' del bot. More...
 
class  UseItemCommand
 Esta clase implementa el comando 'useitem' del bot. More...
 
+
+
+ + + + diff --git a/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands.js b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands.js new file mode 100644 index 0000000..af7bc77 --- /dev/null +++ b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands.js @@ -0,0 +1,7 @@ +var namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands = +[ + [ "AttackCommand", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand" ], + [ "ChangePokemonCommand", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand" ], + [ "ChooseCommand", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand" ], + [ "UseItemCommand", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html", "classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand" ] +]; \ No newline at end of file diff --git a/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services.html b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services.html new file mode 100644 index 0000000..2d844bd --- /dev/null +++ b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services.html @@ -0,0 +1,127 @@ + + + + + + + +Object Lifecycle: Ucu.Poo.DiscordBot.Services Namespace Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Ucu.Poo.DiscordBot.Services Namespace Reference
+
+
+ + + + + + + + + + + +

+Classes

class  Bot
 Esta clase implementa el bot de Discord. More...
 
class  BotLoader
 Esta clase ejecuta el bot de Discord hasta que en la terminal donde se ejecuta el bot se oprime la tecla 'Q'.
 
interface  IBot
 La interfaz del Bot de Discord para usar con inyección de dependencias. More...
 
+
+
+ + + + diff --git a/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services.js b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services.js new file mode 100644 index 0000000..59eda41 --- /dev/null +++ b/docs/html/namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services.js @@ -0,0 +1,5 @@ +var namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services = +[ + [ "Bot", "classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot.html", null ], + [ "IBot", "interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot.html", null ] +]; \ No newline at end of file diff --git a/docs/html/namespacemembers.html b/docs/html/namespacemembers.html index 1d92aa7..ea6b09e 100644 --- a/docs/html/namespacemembers.html +++ b/docs/html/namespacemembers.html @@ -3,7 +3,7 @@ - + Object Lifecycle: Package Members @@ -35,7 +35,7 @@ - + @@ -35,7 +35,7 @@ - +
@@ -101,29 +101,28 @@
1namespace Library;
-
-
5public class Attack : IAttack
+
5public class Attack : IAttack
6{
-
10 public string Name { get; private set;}
+
10 public string Name { get; private set;}
11
-
15 public Type Type { get; }
+
15 public Type Type { get; }
16
-
20 public double Accuracy {get; private set;}
+
20 public double Accuracy {get; private set;}
21
-
25 public int Power {get; private set;}
+
25 public int Power {get; private set;}
26
-
35 public Attack(string name, Type type, double accuracy, int power)
+
35 public Attack(string name, Type type, double accuracy, int power)
36 {
37 if (string.IsNullOrEmpty(name))
38 {
39 throw new ArgumentException("El nombre ingresado no es válido");
40 }
- +
42 {
43 throw new ArgumentException("La precision ingresada no es válido");
44 }
-
45 if (Power < 0)
+
45 if (Power < 0)
46 {
47 throw new ArgumentException("El poder ingresado no es válido");
48 }
@@ -136,22 +135,21 @@
55}
-
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
string Name
Nombre del ataque.
Definition Attack.cs:10
Attack(string name, Type type, double accuracy, int power)
Constructor del ataque. Asigna el nombre, tipo, precisión y potencia a un ataque a crear.
Definition Attack.cs:35
-
string Name
Nombre del ataque.
Definition Attack.cs:10
-
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
-
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
-
Type
Representa los tipos.
Definition Type.cs:7
+
Type
Representa los tipos.
Definition Type.cs:7
diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Caterpie_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Caterpie_8cs_source.html new file mode 100644 index 0000000..5df89f7 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Caterpie_8cs_source.html @@ -0,0 +1,135 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Caterpie.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Caterpie.cs
+
+
+
1namespace Library;
+
2
+
7public class Caterpie: Pokemon
+
8{
+
+
12 public Caterpie():base(name: "Caterpie", life: 294, type: Library.Type.Bug, new Attack("Bug bite", Type.Bug, 1,20),new Attack("Tackle",Type.Normal,1,30),new SpecialAttack("Bug stomp", Type.Bug, 0.95,70, State.Paralized),new Attack("String shot", Type.Bug, 1,15))
+
13 {
+
14
+
15 }
+
+
16
+
17 public override Pokemon Instance()
+
18 {
+
19 return new Caterpie();
+
20 }
+
21}
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Caterpie()
Constructor de Caterpie, implementa el patron GRASP creator.
Definition Caterpie.cs:12
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/Charizard_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Charizard_8cs_source.html similarity index 73% rename from docs/html/Charizard_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2Charizard_8cs_source.html index ed76447..7cf4ba8 100644 --- a/docs/html/Charizard_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Charizard_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Charizard.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Charizard.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,33 +101,34 @@
1namespace Library;
2
-
-
7public class Charizard : Pokemon
+
7public class Charizard : Pokemon
8{
-
12 public Charizard():base(name: "Charizard", life: 360, type: Type.Fire, new Attack("Dragon claw",Type.Dragon,1,55),new SpecialAttack("Flamethrower",Type.Fire,0.95,75, State.Burned), new Attack("Wing Attack",Type.Flying,0.9,40), new Attack("Fire punch",Type.Fire,1,50))
+
12 public Charizard():base(name: "Charizard", life: 360, type: Type.Fire, new Attack("Dragon claw",Type.Dragon,1,55),new SpecialAttack("Flamethrower",Type.Fire,0.95,75, State.Burned), new Attack("Wing Attack",Type.Flying,0.9,40), new Attack("Fire punch",Type.Fire,1,50))
13 {
14
15 }
-
16
-
17}
-
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
16
+
17 public override Pokemon Instance()
+
18 {
+
19 return new Charizard();
+
20 }
+
21}
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
Charizard()
Constructor de Charizard, implementa el patron GRASP creator.
Definition Charizard.cs:12
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
- -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Chikorita_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Chikorita_8cs_source.html new file mode 100644 index 0000000..e34ad13 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Chikorita_8cs_source.html @@ -0,0 +1,135 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Chikorita.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Chikorita.cs
+
+
+
1namespace Library;
+
2
+
7public class Chikorita : Pokemon
+
8{
+
+
12 public Chikorita():base(name: "Chikorita", life: 294, type: Type.Grass,new Attack("Razor leaf",Type.Grass,0.9,35),new Attack("Magical leaf", Type.Grass,1,45),new SpecialAttack("Giga Drain",Type.Grass,0.95,70,State.Paralized), new Attack("Body slam",Type.Normal,1,55))
+
13 {
+
14
+
15 }
+
+
16
+
17 public override Pokemon Instance()
+
18 {
+
19 return new Chikorita();
+
20 }
+
21}
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Chikorita()
Constructor de Chikorita, implementa el patron GRASP creator.
Definition Chikorita.cs:12
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2AttackCommand_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2AttackCommand_8cs_source.html new file mode 100644 index 0000000..00cc678 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2AttackCommand_8cs_source.html @@ -0,0 +1,150 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/AttackCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
AttackCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
+ +
7
+
+
11public class AttackCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("attack")]
+
18 [Summary(
+
19 """
+
20 Ataca al Pokemon activo del otro jugador utilizando el ataque pasado
+
21 por parámetro. Envía un mensaje con el resultado de la operación, si no
+
22 se pudo concretar el ataque el jugador pierde el turno.
+
23 Este comando solo puede ser utilizado por un jugador mientras
+
24 sea su turno.
+
25 """)]
+
+
26 public async Task ExecuteAsync(
+
27 [Remainder]
+
28 [Summary("Ataque que desea utilizar.")]
+
29 string attack)
+
30 {
+
31
+
32 }
+
+
33
+
34}
+
+
+ +
Esta clase implementa el comando 'attack' del bot.
+
async Task ExecuteAsync([Remainder][Summary("Ataque que desea utilizar.")] string attack)
Envía a la fachada un mensaje con el ataque a utilizar.
+ + +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2BattleCommand_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2BattleCommand_8cs_source.html new file mode 100644 index 0000000..0906061 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2BattleCommand_8cs_source.html @@ -0,0 +1,172 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/BattleCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
BattleCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+ +
5
+
+ +
7
+
14// ReSharper disable once UnusedType.Global
+
15public class BattleCommand : ModuleBase<SocketCommandContext>
+
16{
+
22 [Command("battle")]
+
23 [Summary(
+
24 """
+
25 Une al jugador que envía el mensaje con el oponente que se recibe
+
26 como parámetro, si lo hubiera, en una batalla; si no se recibe un
+
27 oponente, lo une con cualquiera que esté esperando para jugar.
+
28 """)]
+
29 // ReSharper disable once UnusedMember.Global
+
+
30 public async Task ExecuteAsync(
+
31 [Remainder] [Summary("Display name del oponente, opcional")]
+
32 string? opponentDisplayName = null)
+
33 {
+
34 string displayName = CommandHelper.GetDisplayName(Context);
+
35
+
36 SocketGuildUser? opponentUser = CommandHelper.GetUser(
+
37 Context, opponentDisplayName);
+
38 string result;
+
39 if (opponentUser != null)
+
40 {
+
41 result = Facade.StartGame(displayName, opponentUser.DisplayName);
+
42 if(result.Contains("Vs."))
+
43 {
+
44 await Context.Message.Author.SendMessageAsync(result);
+
45 await opponentUser.SendMessageAsync(result);
+
46 }
+
47 }
+
48 else
+
49 {
+
50 result = Facade.StartGame(displayName, opponentDisplayName);
+
51 if (result.Contains("Vs."))
+
52 {
+
53 string[] splitResult = result.Split(" Vs. ");
+
54 opponentUser = CommandHelper.GetUser(Context, splitResult[1]);
+
55 await Context.Message.Author.SendMessageAsync(result);
+
56 await opponentUser.SendMessageAsync(result);
+
57 }
+
58 }
+
59 await ReplyAsync(result);
+
60 }
+
+
61}
+
+
Esta clase implementa el comando 'battle' del bot. Este comando une al jugador que envía el mensaje c...
+
async Task ExecuteAsync([Remainder][Summary("Display name del oponente, opcional")] string? opponentDisplayName=null)
Implementa el comando 'battle'. Este comando une al jugador que envía el mensaje a la lista de jugado...
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string StartGame(string playerName, string opponentName)
Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ...
Definition Facade.cs:383
+ + +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2ChooseCommand_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2ChooseCommand_8cs_source.html new file mode 100644 index 0000000..231d6f1 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2ChooseCommand_8cs_source.html @@ -0,0 +1,144 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/ChooseCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ChooseCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+ +
7
+
+
11public class ChooseCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("attack")]
+
18 [Summary(
+
19 """
+
20 Agrega al equipo del jugador el Pokemon seleccionado.
+
21 Si no se logra agregar envía un mensaje avisando al usuario.
+
22 """)]
+
+
23 public async Task ExecuteAsync(
+
24 [Remainder] [Summary("Nombre del pokemon.")]
+
25 string pokemonName)
+
26 {
+
27
+
28 }
+
+
29
+
30}
+
+ +
Esta clase implementa el comando 'choose' del bot.
+
async Task ExecuteAsync([Remainder][Summary("Nombre del pokemon.")] string pokemonName)
Envía a la fachada un mensaje con el Pokemon seleccionado.
+ + +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2CommandHelper_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2CommandHelper_8cs_source.html new file mode 100644 index 0000000..fbd7bc4 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2CommandHelper_8cs_source.html @@ -0,0 +1,166 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/CommandHelper.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
CommandHelper.cs
+
+
+
1using Discord.Commands;
+
2using Discord.WebSocket;
+
3
+
4namespace Library.Commands;
+
5
+
6public static class CommandHelper
+
7{
+
8 public static string GetDisplayName(
+
9 SocketCommandContext context,
+
10 string? name = null)
+
11 {
+
12 if (name == null)
+
13 {
+
14 name = context.Message.Author.Username;
+
15 }
+
16
+
17 foreach (SocketGuildUser user in context.Guild.Users)
+
18 {
+
19 if (user.Username == name
+
20 || user.DisplayName == name
+
21 || user.Nickname == name
+
22 || user.GlobalName == name)
+
23 {
+
24 return user.DisplayName;
+
25 }
+
26 }
+
27
+
28 return name;
+
29 }
+
30
+
31 public static SocketGuildUser? GetUser(
+
32 SocketCommandContext context,
+
33 string? name)
+
34 {
+
35 if (name == null)
+
36 {
+
37 return null;
+
38 }
+
39
+
40 foreach (SocketGuildUser user in context.Guild.Users)
+
41 {
+
42 if (user.Username == name
+
43 || user.DisplayName == name
+
44 || user.Nickname == name
+
45 || user.GlobalName == name)
+
46 {
+
47 return user;
+
48 }
+
49 }
+
50
+
51 return null;
+
52 }
+
53}
+ +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2JoinCommand_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2JoinCommand_8cs_source.html new file mode 100644 index 0000000..f65d4ea --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2JoinCommand_8cs_source.html @@ -0,0 +1,138 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/JoinCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
JoinCommand.cs
+
+
+
1using Discord.Commands;
+
2using Library;
+
3
+
4namespace Library.Commands;
+
5
+
10// ReSharper disable once UnusedType.Global
+
11public class JoinCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("join")]
+
18 [Summary("Une el usuario que envía el mensaje a la lista de espera")]
+
19 // ReSharper disable once UnusedMember.Global
+
+
20 public async Task ExecuteAsync()
+
21 {
+
22 string displayName = CommandHelper.GetDisplayName(Context);
+
23 string result = Facade.AddPlayerToWaitingList(displayName);
+
24 await ReplyAsync(result);
+
25 }
+
+
26}
+
async Task ExecuteAsync()
Implementa el comando 'join'. Este comando une al jugador que envía el mensaje a la lista de jugadore...
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string AddPlayerToWaitingList(string playerName)
Historia de usuario 9: Agrega un jugador a la lista de espera.
Definition Facade.cs:307
+ + + +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2LeaveCommand_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2LeaveCommand_8cs_source.html new file mode 100644 index 0000000..a6aab49 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2LeaveCommand_8cs_source.html @@ -0,0 +1,138 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/LeaveCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LeaveCommand.cs
+
+
+
1using Discord.Commands;
+
2using Library;
+
3
+
4namespace Library.Commands;
+
5
+
10// ReSharper disable once UnusedType.Global
+
11public class LeaveCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("leave")]
+
18 [Summary("Remueve el usuario que envía el mensaje a la lista de espera")]
+
19 // ReSharper disable once UnusedMember.Global
+
+
20 public async Task ExecuteAsync()
+
21 {
+
22 string displayName = CommandHelper.GetDisplayName(Context);
+
23 string result = Facade.RemovePlayerFromWaitingList(displayName);
+
24 await ReplyAsync(result);
+
25 }
+
+
26}
+
async Task ExecuteAsync()
Implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lis...
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string RemovePlayerFromWaitingList(string playerName)
Historia de usuario 9.1: Remueve un jugador de la lista de espera.
Definition Facade.cs:328
+ + + +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2PokemonNameCommand_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2PokemonNameCommand_8cs_source.html new file mode 100644 index 0000000..f6efe71 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2PokemonNameCommand_8cs_source.html @@ -0,0 +1,194 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/PokemonNameCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
PokemonNameCommand.cs
+
+
+
1using System.Net;
+
2using System.Net.Http.Headers;
+
3using System.Text.Json.Nodes;
+
4using Microsoft.Extensions.Logging;
+
5using Discord.Commands;
+
6
+
7namespace Library.Commands;
+
8
+
13// ReSharper disable once UnusedType.Global
+
14public class PokemonNameCommand : ModuleBase<SocketCommandContext>
+
15{
+
16 private readonly ILogger<PokemonNameCommand> logger;
+
17 private readonly HttpClient httpClient;
+
18
+
+
25 public PokemonNameCommand(ILogger<PokemonNameCommand> logger)
+
26 {
+
27 this.logger = logger;
+
28
+
29 httpClient = new HttpClient();
+
30 httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
+
31 httpClient.DefaultRequestHeaders.Add("User-Agent", "DiscordBot");
+
32 }
+
+
33
+
39 [Command("name")]
+
40 [Summary("Busca el nombre de un Pokémon por identificador usando la PokéAPI")]
+
41 // ReSharper disable once UnusedMember.Global
+
+
42 public async Task ExecuteAsync([Remainder][Summary("ID")] int id = 0)
+
43 {
+
44 if (id <= 0)
+
45 {
+
46 await ReplyAsync("Uso: !name <id>");
+
47 return;
+
48 }
+
49
+
50 try
+
51 {
+
52 var response = await httpClient.GetStringAsync($"https://pokeapi.co/api/v2/pokemon/{id}");
+
53
+
54 if (string.IsNullOrEmpty(response))
+
55 {
+
56 await ReplyAsync($"No encontré nada para {id}");
+
57 return;
+
58 }
+
59
+
60 JsonNode? pokemonNode = JsonNode.Parse(response);
+
61 JsonNode? nameNode = pokemonNode?["name"];
+
62
+
63 if (pokemonNode == null || nameNode == null)
+
64 {
+
65 await ReplyAsync($"No encontré el nombre de {id}");
+
66 }
+
67 else
+
68 {
+
69 await ReplyAsync(nameNode.GetValue<string>());
+
70 }
+
71 }
+
72 catch (HttpRequestException exception)
+
73 {
+
74 if (exception.StatusCode == HttpStatusCode.NotFound)
+
75 {
+
76 await ReplyAsync("No lo encontré");
+
77 }
+
78 else
+
79 {
+
80 logger.LogError("HTTP error: {Message}", exception.Message);
+
81 }
+
82
+
83 }
+
84 catch (Exception exception)
+
85 {
+
86 logger.LogError("Exception: {Message}", exception.Message);
+
87 }
+
88 }
+
+
89}
+
PokemonNameCommand(ILogger< PokemonNameCommand > logger)
Inicializa una nueva instancia de la clase PokemonNameCommand con los valores recibidos como argument...
+
async Task ExecuteAsync([Remainder][Summary("ID")] int id=0)
Implementa el comando 'name'. Este comando retorna el nombre de un Pokémon dado su identificador.
+ + +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2UserInfoCommand_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2UserInfoCommand_8cs_source.html new file mode 100644 index 0000000..2f347d6 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2UserInfoCommand_8cs_source.html @@ -0,0 +1,155 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/UserInfoCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
UserInfoCommand.cs
+
+
+
1using Discord.Commands;
+
2using Discord.WebSocket;
+
3using Library;
+
4
+
5namespace Library.Commands;
+
6
+
12// ReSharper disable once UnusedType.Global
+
13public class UserInfoCommand : ModuleBase<SocketCommandContext>
+
14{
+
19 [Command("who")]
+
20 [Summary(
+
21 """
+
22 Devuelve información sobre el usuario que se indica como parámetro o
+
23 sobre el usuario que envía el mensaje si no se indica otro usuario.
+
24 """)]
+
25 // ReSharper disable once UnusedMember.Global
+
+
26 public async Task ExecuteAsync(
+
27 [Remainder][Summary("El usuario del que tener información, opcional")]
+
28 string? displayName = null)
+
29 {
+
30 if (displayName != null)
+
31 {
+
32 SocketGuildUser? user = CommandHelper.GetUser(Context, displayName);
+
33
+
34 if (user == null)
+
35 {
+
36 await ReplyAsync($"No puedo encontrar {displayName} en este servidor");
+
37 }
+
38 }
+
39
+
40 string userName = displayName ?? CommandHelper.GetDisplayName(Context);
+
41
+
42 // string result = Facade.TrainerIsWaiting(userName);
+
43
+
44 await ReplyAsync(userName);
+
45 }
+
+
46}
+
async Task ExecuteAsync([Remainder][Summary("El usuario del que tener información, opcional")] string? displayName=null)
Implementa el comando 'userinfo', alias 'who' o 'whois' del bot.
+ + + +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2WaitingCommand_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2WaitingCommand_8cs_source.html new file mode 100644 index 0000000..3b64ac6 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Commands_2WaitingCommand_8cs_source.html @@ -0,0 +1,138 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Commands/WaitingCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
WaitingCommand.cs
+
+
+
1using Discord.Commands;
+
2using Library;
+
3
+
4namespace Library.Commands;
+
5
+
10// ReSharper disable once UnusedType.Global
+
11public class WaitingCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("waitinglist")]
+
18 [Summary("Muestra los usuarios en la lista de espera")]
+
19 // ReSharper disable once UnusedMember.Global
+
+
20 public async Task ExecuteAsync()
+
21 {
+
22 string result = Facade.GetAllPlayersWaiting();
+
23
+
24 await ReplyAsync(result);
+
25 }
+
+
26}
+
async Task ExecuteAsync()
Implementa el comando 'waitinglist'. Este comando muestra la lista de jugadores esperando para jugar.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string GetAllPlayersWaiting()
Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.
Definition Facade.cs:340
+ + + +
+
+ + + + diff --git a/docs/html/DamageCalculator_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2DamageCalculator_8cs_source.html similarity index 74% rename from docs/html/DamageCalculator_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2DamageCalculator_8cs_source.html index 8b98128..e5558e8 100644 --- a/docs/html/DamageCalculator_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2DamageCalculator_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/DamageCalculator.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/DamageCalculator.cs Source File @@ -35,7 +35,7 @@ - +
@@ -216,9 +216,10 @@
122 }
123 }
124
-
134 public static double GetEffectivness(Type type, List<Type> types)
+
+
134 public static double GetEffectivness(Type type, List<Type> types)
135 {
-
136 foreach (Type type1 in types)
+
136 foreach (Type type1 in types)
137 {
138 Tuple<Type, Type> tuple = new Tuple<Type, Type>(type, type1);
139 if (EffectivnessDataBase.ContainsKey(tuple))
@@ -234,8 +235,10 @@
149
150 return 1.0;
151 }
+
152
-
160 public static double CriticalCheck()
+
+
160 public static double CriticalCheck()
161 {
162 Random random = new Random();
163 int chance = random.Next(1,11);
@@ -245,39 +248,58 @@
167 }
168 return 1.0;
169 }
-
179 public static void SpecialCheck(Pokemon attackedPokemon, Attack attack)
+
+
+
179 public static void SpecialCheck(Pokemon attackedPokemon, Attack attack)
180 {
-
181 if (attack is SpecialAttack specialAttack && attackedPokemon.CurrentState == null)
+
181 if (attack is SpecialAttack specialAttack && attackedPokemon.CurrentState == null)
182 {
-
183 attackedPokemon.EditState(specialAttack.SpecialEffect);
+
183 attackedPokemon.EditState(specialAttack.SpecialEffect);
184 specialAttack.SetCooldown();
185 }
186 }
+
187
-
198public static double CalculateDamage(Pokemon attackedPokemon, Attack attack)
+
+
198public static double CalculateDamage(Pokemon attackedPokemon, Attack attack)
199 {
200 Random random = new Random();
201 int randomInt = random.Next(1, 101);
202 double randomDouble = randomInt / 100.0;
-
203 if (randomDouble <= attack.Accuracy)
+
203 if (randomDouble <= attack.Accuracy)
204 {
-
205 double power = attack.Power;
-
206 double effectivness = GetEffectivness(attack.Type, attackedPokemon.GetTypes());
-
207 double critical = CriticalCheck();
-
208 SpecialCheck(attackedPokemon, attack);
+
205 double power = attack.Power;
+
206 double effectivness = GetEffectivness(attack.Type, attackedPokemon.GetTypes());
+
207 double critical = CriticalCheck();
+
208 SpecialCheck(attackedPokemon, attack);
209 return power * effectivness * critical;
210 }
211 return 0.0;
212 }
+
213}
- +
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
static double CalculateDamage(Pokemon attackedPokemon, Attack attack)
Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,...
+
static double CriticalCheck()
Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria.
+
static void SpecialCheck(Pokemon attackedPokemon, Attack attack)
Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ...
+
static double GetEffectivness(Type type, List< Type > types)
Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon.
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Facade_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Facade_8cs_source.html new file mode 100644 index 0000000..542c35f --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Facade_8cs_source.html @@ -0,0 +1,529 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Facade.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Facade.cs
+
+
+
1using System.Runtime.CompilerServices;
+
2
+
3namespace Library;
+
7public static class Facade
+
8{
+
12 private static WaitingList WaitingList { get; } = new WaitingList();
+
13
+
17 private static GameList GameList { get; } = new GameList();
+
18
+
+
26 public static string ChooseTeam(string playerName, string cPokemon)
+
27 {
+ +
29 Player player = GameList.FindPlayerByName(playerName);
+
30
+
31 if (player == null)
+
32 {
+
33 return "Para poder elegir un equipo, primero debes estar en una batalla";
+
34 }
+
35
+
36 if (player.GetPokemonTeam().Count < 6)
+
37 {
+
38 {
+
39 foreach (Pokemon pokemon in PokemonCatalogue.SetCatalogue())
+
40 {
+
41 if (pokemon.Name == cPokemon && !player.GetPokemonTeam().Contains(pokemon))
+
42 {
+
43 Pokemon newPokemon = pokemon.Instance();
+
44 player.AddToTeam(newPokemon);
+
45 if (player.GetPokemonTeam().Count == 1)
+
46 {
+
47 player.SetActivePokemon(newPokemon);
+
48 }
+
49 return $"El pokemon {cPokemon} fue añadido al equipo";
+
50 }
+
51
+
52 if (pokemon.Name == cPokemon && player.GetPokemonTeam().Contains(pokemon))
+
53 {
+
54 return $"El pokemon {cPokemon} ya está en el equipo, no puedes volver a añadirlo";
+
55 }
+
56 }
+
57 return $"El pokemon {cPokemon} no fue encontrado";
+
58 }
+
59 }
+
60 return "Ya tienes 6 pokemones en el equipo, no puedes elegir más";
+
61 }
+
+
62
+
63
+
+
71 public static string ShowAtacks(string playerName)
+
72 {
+
73
+
74 Player player = GameList.FindPlayerByName(playerName);
+
75 if (player == null)
+
76 return $"El jugador {playerName} no está en ninguna partida.";
+
77
+
78 return player.GetPokemonAttacks();
+
79 }
+
+
80
+
+
89 public static string ShowPokemonsHp(string playerName, string playerToCheckName = null)
+
90 {
+
91 Player player = GameList.FindPlayerByName(playerName);
+
92 if (player == null)
+
93 return $"El jugador {playerName} no está en ninguna partida.";
+
94 if (playerToCheckName == null)
+
95 {
+
96 string result = "";
+
97 foreach (Pokemon pokemon in player.GetPokemonTeam())
+
98 result += pokemon.Name + ": " + pokemon.GetLife() + "\n";
+
99 return result;
+
100 }
+
101 else
+
102 {
+
103 Player playerToCheck = GameList.FindPlayerByName(playerToCheckName);
+
104 string result = "";
+
105 Game game = GameList.FindGameByPlayer(player);
+
106 if (game != null && game.CheckPlayerInGame(player) && game.CheckPlayerInGame(playerToCheck) &&
+
107 playerToCheck != null)
+
108 {
+
109 foreach (Pokemon pokemon in playerToCheck.GetPokemonTeam())
+
110 result += pokemon.Name + ": " + pokemon.GetLife() + "\n";
+
111 return result;
+
112 }
+
113
+
114 return $"El jugador {playerToCheckName} no está en tu partida.";
+
115 }
+
116 }
+
+
117
+
+
127 public static string ChooseAttack(string playerName, string attackName)
+
128 {
+
129 Player player = GameList.FindPlayerByName(playerName);
+
130 if (player == null)
+
131 {
+
132 return "Para poder atacar necesitas estar en una batalla";
+
133 }
+
134
+
135 if (player.GetPokemonTeam().Count < 6)
+
136 {
+
137 return "El equipo está incompleto, por favor elige 6 pokemones para poder comenzar la batalla";
+
138 }
+
139
+
140 Attack attack = player.FindAttack(attackName);
+
141 if (attack == null)
+
142 {
+
143 return $"El ataque {attackName} no pudo ser encontrado";
+
144 }
+
145
+
146 Game actualGame = GameList.FindGameByPlayer(player);
+
147 if (actualGame == null)
+
148 {
+
149 return "Esa partida no está en curso";
+
150 }
+
151
+
152 foreach (Game game in GameList.GetGameList())
+
153 {
+
154 if (game.CheckPlayerInGame(player))
+
155 {
+
156 if (game.GetPlayers()[game.ActivePlayer].Name == player.Name)
+
157 {
+
158 string gameResult = game.ExecuteAttack(attack);
+
159 game.NextTurn();
+
160 string nextTurn = CheckGameStatus(game);
+
161 return gameResult + " " + nextTurn;
+
162 }
+
163 return "No eres el jugador activo";
+
164 }
+
165 }
+
166
+
167 return "Error inesperado";
+
168 }
+
+
169
+
+
176 public static string CheckTurn(string playerName)
+
177 {
+
178 Player player = GameList.FindPlayerByName(playerName);
+
179 if (player == null)
+
180 {
+
181 return $"El jugador {playerName} no está en ninguna partida.";
+
182 }
+
183
+
184 Game game = GameList.FindGameByPlayer(player);
+
185 string opciones =
+
186 $"1- !Attack (ver los ataques con el pokemon activo)\n 2- !Item (ver los items disponibles)\n 3- !Change (ver pokemons disp. a cambiar)";
+
187 if (game != null)
+
188 {
+
189 if (game.CheckPlayerInGame(player))
+
190 {
+
191 int activePlayerIndex = game.ActivePlayer;
+
192 Player activePlayer = game.GetPlayers()[activePlayerIndex];
+
193 if (activePlayer.Name == playerName)
+
194 return "Es tu turno:\n" + opciones;
+
195 return "No es tu turno," + " " + "las opciones disponibles cuando sea tu turno son:\n" + opciones;
+
196 }
+
197 }
+
198
+
199 return null;
+
200 }
+
+
201
+
+
209 public static string CheckGameStatus(Game game)
+
210 {
+
211 if (game != null)
+
212 {
+
213 if (game.GameStatus())
+
214 {
+
215 return $"Próximo turno, ahora es el turno de {game.GetPlayers()[game.ActivePlayer].Name}";
+
216 }
+
217 GameList.RemoveGame(game);
+
218 return game.Winner();
+
219 }
+
220
+
221 return "La partida no pudo ser encontrada";
+
222 }
+
+
223
+
224
+
+
234 public static string ChangePokemon(string playerName, string pokemonName)
+
235 {
+
236 Player player = GameList.FindPlayerByName(playerName);
+
237 if (player == null)
+
238 {
+
239 return $"El jugador {playerName} no está en ninguna partida.";
+
240 }
+
241
+
242 Game game = GameList.FindGameByPlayer(player);
+
243 if (game == null)
+
244 {
+
245 return "La partida no pudo ser encontrada";
+
246 }
+
247
+
248 if (game.GetPlayers()[game.ActivePlayer].Name == playerName)
+
249 {
+
250 if (game.GetPlayers()[game.ActivePlayer].GetPokemonTeam().Count < 6)
+
251 {
+
252 return "Tu equipo pokemon está incompleto, elige hasta tener 6 pokemones en tu equipo";
+
253 }
+
254
+
255 Pokemon choosenPokemon = player.FindPokemon(pokemonName);
+
256 if (choosenPokemon == null)
+
257 {
+
258 return $"El pokemon {pokemonName} no fue encontrado en tu equipo";
+
259 }
+
260
+
261 string result = game.ChangePokemon(choosenPokemon);
+
262 if (result == "Ese Pokemon no está en tu equipo.")
+
263 {
+
264 return result;
+
265 }
+
266
+
267 game.NextTurn();
+
268 string nextTurn = CheckGameStatus(game);
+
269 return result + "\n" + nextTurn;
+
270 }
+
271
+
272 return "No eres el jugador activo, no puedes realizar acciones";
+
273 }
+
+
274
+
+
283 public static string UseAnItem(string playerName, string item, string pokemon)
+
284 {
+
285 Player player = GameList.FindPlayerByName(playerName);
+
286 Game game = GameList.FindGameByPlayer(player);
+
287
+
288 if (player == null)
+
289 {
+
290 return $"El jugador {playerName} no está en ninguna partida.";
+
291 }
+
292
+
293 if (game == null)
+
294 {
+
295 return "Partida inexistente.";
+
296 }
+
297 return game.UseItem(player.FindItem(item), player.FindPokemon(pokemon));
+
298 }
+
+
299
+
300
+
+
307 public static string AddPlayerToWaitingList(string playerName)
+
308 {
+
309 Player player = GameList.FindPlayerByName(playerName);
+
310 if (GameList.FindGameByPlayer(player) != null)
+
311 {
+
312 return $"{playerName} ya está en una partida";
+
313 }
+
314 if (WaitingList.AddPlayer(playerName))
+
315 {
+
316 return $"{playerName} agregado a la lista de espera";
+
317 }
+
318
+
319 return $"{playerName} ya está en la lista de espera";
+
320 }
+
+
321
+
+
328 public static string RemovePlayerFromWaitingList(string playerName)
+
329 {
+
330 if (WaitingList.RemovePlayer(playerName))
+
331 return $"{playerName} removido de la lista de espera";
+
332 return $"{playerName} no está en la lista de espera";
+
333 }
+
+
334
+
+
340 public static string GetAllPlayersWaiting()
+
341 {
+
342 if (WaitingList.Count == 0)
+
343 {
+
344 return "No hay nadie esperando";
+
345 }
+
346
+
347 string result = "Esperan: ";
+
348 foreach (Player player in WaitingList.GetWaitingList())
+
349 {
+
350 result = result + player.Name + "; ";
+
351 }
+
352
+
353 return result;
+
354 }
+
+
355
+
356 //
+
365 private static string CreateGame(string playerName, string opponentName)
+
366 {
+
367 Player player = WaitingList.FindPlayerByName(playerName);
+
368 Player opponent = WaitingList.FindPlayerByName(opponentName);
+
369 WaitingList.RemovePlayer(playerName);
+
370 WaitingList.RemovePlayer(opponentName);
+
371 GameList.AddGame(player, opponent);
+
372 return $"Comienza {playerName} Vs. {opponentName}";
+
373 }
+
374
+
+
383 public static string StartGame(string playerName, string opponentName)
+
384 {
+
385 Player opponent;
+
386 Player player = GameList.FindPlayerByName(playerName);
+
387 if (GameList.FindGameByPlayer(player) != null)
+
388 {
+
389 return $"{playerName} ya está en una partida";
+
390 }
+
391
+
392 if (WaitingList.FindPlayerByName(playerName) == null)
+
393 return $"{playerName}, no estas en la lista de espera";
+
394
+
395 if (!OpponentProvided() && !SomebodyIsWaiting())
+
396 return "No hay nadie esperando";
+
397
+
398 if (!OpponentProvided())
+
399 {
+
400 opponent = GameList.FindPlayerByName(opponentName);
+
401 if (GameList.FindGameByPlayer(opponent) != null)
+
402 return $"{opponentName} ya está en una partida";
+
403 opponent = WaitingList.GetSomeone(playerName);
+
404 if(opponent == null)
+
405 return "No hay nadie más en la lista de espera";
+
406 return CreateGame(playerName, opponent!.Name);
+
407 }
+
408
+
409 opponent = WaitingList.FindPlayerByName(opponentName!);
+
410 if (!OpponentFound())
+
411 {
+
412 return $"{opponentName} no está esperando";
+
413 }
+
414
+
415 if (GameList.FindGameByPlayer(opponent) != null)
+
416 return $"{opponentName} ya está en una partida";
+
417
+
418 return CreateGame(playerName, opponent!.Name);
+
419
+
420 bool OpponentProvided()
+
421 {
+
422 return !string.IsNullOrEmpty(opponentName);
+
423 }
+
424
+
425 bool SomebodyIsWaiting()
+
426 {
+
427 return WaitingList.Count != 0;
+
428 }
+
429
+
430 bool OpponentFound()
+
431 {
+
432 return opponent != null;
+
433 }
+
434 }
+
+
435
+
+
440 public static string ShowCatalogue()
+
441 {
+ + +
444 }
+
+
445}
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
static string ShowPokemonsHp(string playerName, string playerToCheckName=null)
Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador.
Definition Facade.cs:89
+
static string StartGame(string playerName, string opponentName)
Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ...
Definition Facade.cs:383
+
static string CheckGameStatus(Game game)
Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador.
Definition Facade.cs:209
+
static string ChooseTeam(string playerName, string cPokemon)
Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo.
Definition Facade.cs:26
+
static string GetAllPlayersWaiting()
Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.
Definition Facade.cs:340
+
static string ChooseAttack(string playerName, string attackName)
Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti...
Definition Facade.cs:127
+
static string ShowAtacks(string playerName)
Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador.
Definition Facade.cs:71
+
static string RemovePlayerFromWaitingList(string playerName)
Historia de usuario 9.1: Remueve un jugador de la lista de espera.
Definition Facade.cs:328
+
static string ChangePokemon(string playerName, string pokemonName)
Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ...
Definition Facade.cs:234
+
static string UseAnItem(string playerName, string item, string pokemon)
Historia de usuario 8 Permite a un jugador usar un item en un Pokemon.
Definition Facade.cs:283
+
static string CheckTurn(string playerName)
Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles.
Definition Facade.cs:176
+
static string AddPlayerToWaitingList(string playerName)
Historia de usuario 9: Agrega un jugador a la lista de espera.
Definition Facade.cs:307
+
static string ShowCatalogue()
Muestra el catálogo de Pokemon disponibles.
Definition Facade.cs:440
+
Esta clase representa la lista de partidas en curso.
Definition GameList.cs:8
+
Player? FindPlayerByName(string playerName)
Devuelve un jugador buscandolo por su nombre.
Definition GameList.cs:45
+
bool RemoveGame(Game game)
Elimina una partida de la lista de partidas.
Definition GameList.cs:31
+
List< Game > GetGameList()
Devuelve la lista de partidas.
Definition GameList.cs:72
+
Game AddGame(Player player1, Player player2)
Agrega una partida a la lista de partidas.
Definition GameList.cs:18
+
Game? FindGameByPlayer(Player player)
Devuelve la partida en la que se encuentra un jugador.
Definition GameList.cs:61
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
bool GameStatus()
Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores.
Definition Game.cs:59
+
List< Player > GetPlayers()
Obtiene la lista de jugadores de la partida.
Definition Game.cs:39
+
void NextTurn()
Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu...
Definition Game.cs:121
+
string UseItem(IItem item, Pokemon pokemon)
Permite que un jugador use un item en un Pokemon específico de su equipo, verificando la validez del ...
Definition Game.cs:175
+
string ExecuteAttack(Attack attack)
Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d...
Definition Game.cs:140
+
bool CheckPlayerInGame(Player checkPlayer)
Busca si hay un jugador con el mismo nombre que el del parámetro en una partida.
Definition Game.cs:224
+
string ChangePokemon(Pokemon pokemon)
Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido...
Definition Game.cs:199
+
string Winner()
Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ...
Definition Game.cs:83
+
int ActivePlayer
Obtiene el valor del índice del jugador activo de la partida.
Definition Game.cs:16
+
Esta clase representa un jugador.
Definition Player.cs:8
+
IItem FindItem(string strItem)
Devuelve un item de la lista de items buscandolo por su nombre.
Definition Player.cs:108
+
bool SetActivePokemon(Pokemon pokemon)
Cambia el pokemon activo si está vivo.
Definition Player.cs:66
+
List< Pokemon > GetPokemonTeam()
Devuelve la lista de pokemons del jugador.
Definition Player.cs:145
+
string GetPokemonAttacks()
Devuelve un string con los nombres de todos los ataques del pokemon activo.
Definition Player.cs:163
+
void AddToTeam(Pokemon pokemon)
Agrega un pokemon a la lista de pokemons del jugador.
Definition Player.cs:51
+
string Name
Nombre del jugador.
Definition Player.cs:11
+
Attack FindAttack(string strAttack)
Devuelve un ataque de la lista de ataques del pokemon activo.
Definition Player.cs:129
+
Pokemon FindPokemon(string strPokemon)
Devuelve un pokemon de la lista del jugador buscandolo por el nombre.
Definition Player.cs:88
+
Esta clase representa el catálogo de Pokemons.
+
static string ShowCatalogue()
Devuelve el nombre de todos los Pokemons en el catálogo.
+
static List< Pokemon > SetCatalogue()
Inicialia el catalogo.
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
Esta clase representa la lista de espera.
Definition WaitingList.cs:6
+
Player? GetSomeone(string playerName)
Devuelve un jugador al azar de la lista de espera.
+
bool AddPlayer(string playerName)
Agrega un jugador a la lista de espera.
+
List< Player > GetWaitingList()
Devuelve la lista de jugadores en espera.
+
Player? FindPlayerByName(string playerName)
Devuelve un jugador de la lista de espera buscandolo por su nombre.
+
int Count
Devuelve el número de jugadores en espera.
+
bool RemovePlayer(string playerName)
Elimina un jugador de la lista de espera.
+ +
+
+ + + + diff --git a/docs/html/FullHealth_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2FullHealth_8cs_source.html similarity index 79% rename from docs/html/FullHealth_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2FullHealth_8cs_source.html index 660e0dd..41440ca 100644 --- a/docs/html/FullHealth_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2FullHealth_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/FullHealth.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/FullHealth.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,10 +101,9 @@
1namespace Library;
2
-
-
7public class FullHealth : IItem
+
7public class FullHealth : IItem
8{
-
12 public string Name { get; }
+
12 public string Name { get; }
13
19 public string Use(Pokemon pokemon)
@@ -126,22 +125,19 @@
36
37}
-
-
Esta clase representa el item FullHealth. Al ser un item implementa la interfaz IItem.
Definition FullHealth.cs:8
+
string Name
Nombre de la curación.
Definition FullHealth.cs:12
string Use(Pokemon pokemon)
Le quita cualquier estado negativo al Pokemon.
Definition FullHealth.cs:19
-
string Name
Nombre de la curación.
Definition FullHealth.cs:12
FullHealth()
Contructor de FullHealth
Definition FullHealth.cs:32
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:138
-
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
- +
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
diff --git a/docs/html/GameList_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2GameList_8cs_source.html similarity index 88% rename from docs/html/GameList_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2GameList_8cs_source.html index 12facfd..ab645c9 100644 --- a/docs/html/GameList_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2GameList_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/GameList.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/GameList.cs Source File @@ -35,7 +35,7 @@ - +
@@ -100,8 +100,7 @@
1namespace Library;
-
-
5public class GameList
+
5public class GameList
6{
10 private List<Game> Games { get; set; } = new List<Game>();
11
@@ -127,7 +126,7 @@
46 {
47 foreach (Game game in this.Games)
48 foreach (Player player in game.GetPlayers())
-
49 if (player.Name == playerName)
+
49 if (player.Name == playerName)
50 return player;
51 return null;
52 }
@@ -150,25 +149,23 @@
75 }
76}
-
-
Esta clase representa la lista de partidas en curso.
Definition GameList.cs:6
Player? FindPlayerByName(string playerName)
Devuelve un jugador buscandolo por su nombre.
Definition GameList.cs:45
bool RemoveGame(Game game)
Elimina una partida de la lista de partidas.
Definition GameList.cs:31
List< Game > GetGameList()
Devuelve la lista de partidas.
Definition GameList.cs:72
Game AddGame(Player player1, Player player2)
Agrega una partida a la lista de partidas.
Definition GameList.cs:18
Game? FindGameByPlayer(Player player)
Devuelve la partida en la que se encuentra un jugador.
Definition GameList.cs:61
-
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:7
-
List< Player > GetPlayers()
Obtiene la lista de jugadores de la partida.
Definition Game.cs:39
-
Esta clase representa un jugador.
Definition Player.cs:7
-
string Name
Nombre del jugador.
Definition Player.cs:11
- +
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
List< Player > GetPlayers()
Obtiene la lista de jugadores de la partida.
Definition Game.cs:39
+
Esta clase representa un jugador.
Definition Player.cs:8
+
string Name
Nombre del jugador.
Definition Player.cs:11
+
diff --git a/docs/html/Game_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Game_8cs_source.html similarity index 87% rename from docs/html/Game_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2Game_8cs_source.html index d52e6ca..df8c9e8 100644 --- a/docs/html/Game_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Game_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Game.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Game.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,14 +101,13 @@
1namespace Library;
2
-
-
6public class Game
+
6public class Game
7{
11 private List<Player> Players { get; set; } = new List<Player> ();
12
-
16 public int ActivePlayer { get; private set; }
+
16 public int ActivePlayer { get; private set; }
17
-
21 public int TurnCount { get; private set; }
+
21 public int TurnCount { get; private set; }
22
28 public Game(Player player1, Player player2)
@@ -198,7 +197,7 @@
122 {
123 if (GameStatus())
124 {
-
125 this.TurnCount++;
+
125 this.TurnCount++;
126 CooldownCheck();
127 this.ActivePlayer = (this.ActivePlayer + 1) % 2;
128 }
@@ -211,14 +210,14 @@
141 {
142 if (attack != null)
143 {
-
144 bool asleep = StateLogic.AsleepEffect(Players[ActivePlayer].ActivePokemon);
-
145 bool paralized = StateLogic.ParalizedEffect(Players[ActivePlayer].ActivePokemon);
+
144 bool asleep = StateLogic.AsleepEffect(Players[ActivePlayer].ActivePokemon);
+
145 bool paralized = StateLogic.ParalizedEffect(Players[ActivePlayer].ActivePokemon);
146 if (!asleep & !paralized)
147 {
148 Pokemon attackedPokemon = this.Players[(this.ActivePlayer + 1) % 2].ActivePokemon;
-
149 double damage = DamageCalculator.CalculateDamage(attackedPokemon, attack);
+
149 double damage = DamageCalculator.CalculateDamage(attackedPokemon, attack);
150 attackedPokemon.TakeDamage(damage);
-
151 if (attack.Power == 0)
+
151 if (attack.Power == 0)
152 {
153 return $"El poder del ataque {attack} era de 0, por lo tanto no hizo daño";
154 }
@@ -261,12 +260,12 @@
203 return "Ese Pokemon no está en tu equipo.";
204 }
205
-
206 if (pokemon.Name == Players[ActivePlayer].ActivePokemon.Name)
+
206 if (pokemon.Name == Players[ActivePlayer].ActivePokemon.Name)
207 {
208 return "Ese ya es tu pokemon activo";
209 }
210
-
211 if (this.Players[ActivePlayer].SetActivePokemon(pokemon))
+
211 if (this.Players[ActivePlayer].SetActivePokemon(pokemon))
212 {
213 return $"{pokemon.Name} es tu nuevo Pokemon activo.";
214 }
@@ -282,7 +281,7 @@
227 {
228 foreach (Player player in Players)
229 {
-
230 if (player.Name == checkPlayer.Name)
+
230 if (player.Name == checkPlayer.Name)
231 {
232 return true;
233 }
@@ -294,14 +293,12 @@
239
240}
-
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
-
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:7
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Es una clase a la cual le delegamos la función de calcular el daño para aplicar SRP así game tiene un...
+
static double CalculateDamage(Pokemon attackedPokemon, Attack attack)
Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,...
Game(Player player1, Player player2)
Constructor de la clase. Agrega a los jugadores a la partida y determina de forma aleatoria cual comi...
Definition Game.cs:28
bool GameStatus()
Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores.
Definition Game.cs:59
-
int ActivePlayer
Obtiene el valor del índice del jugador activo de la partida.
Definition Game.cs:16
-
int TurnCount
Obtiene la cantidad de turnos que lleva la partida.
Definition Game.cs:21
List< Player > GetPlayers()
Obtiene la lista de jugadores de la partida.
Definition Game.cs:39
int Random0or1()
Obtiene un valor aleatorio entre 0 y 1.
Definition Game.cs:48
void NextTurn()
Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu...
Definition Game.cs:121
@@ -310,23 +307,25 @@
bool CheckPlayerInGame(Player checkPlayer)
Busca si hay un jugador con el mismo nombre que el del parámetro en una partida.
Definition Game.cs:224
string ChangePokemon(Pokemon pokemon)
Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido...
Definition Game.cs:199
string Winner()
Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ...
Definition Game.cs:83
+
int ActivePlayer
Obtiene el valor del índice del jugador activo de la partida.
Definition Game.cs:16
+
int TurnCount
Obtiene la cantidad de turnos que lleva la partida.
Definition Game.cs:21
void CooldownCheck()
Reduce el tiempo de enfriamiento (cooldown) de todos los ataques especiales de cada Pokemon en los eq...
Definition Game.cs:101
-
Esta clase representa un jugador.
Definition Player.cs:7
-
string Name
Nombre del jugador.
Definition Player.cs:11
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
-
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
+
Esta clase representa un jugador.
Definition Player.cs:8
+
string Name
Nombre del jugador.
Definition Player.cs:11
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
string Use(Pokemon pokemon)
Utiliza el item sobre un pokemon.
- +
diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Gastrodon_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Gastrodon_8cs_source.html new file mode 100644 index 0000000..8e091cf --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Gastrodon_8cs_source.html @@ -0,0 +1,119 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Gastrodon.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Gastrodon.cs
+
+
+
1namespace Library;
+
2
+
3public class Gastrodon
+
4{
+
5
+
6}
+ +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Gengar_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Gengar_8cs_source.html new file mode 100644 index 0000000..2e4aa5d --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Gengar_8cs_source.html @@ -0,0 +1,136 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Gengar.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Gengar.cs
+
+
+
1namespace Library;
+
2
+
7public class Gengar : Pokemon
+
8{
+
+
12 public Gengar():base(name: "Gengar", life: 324, type: Type.Ghost, new Attack("Shadow Ball",Type.Ghost,1,60),new SpecialAttack("Sludge Bomb", Type.Poison,0.95,70,State.Poisoned), new Attack("Shadow Punch", Type.Ghost, 0.75,100),new Attack("Focus Punch", Type.Normal, 0.45,155))
+
13 {
+
14
+
15 }
+
+
16
+
17 public override Pokemon Instance()
+
18 {
+
19 return new Gengar();
+
20 }
+
21
+
22}
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Gengar()
Constructor de Gengar, implementa el patron GRASP creator.
Definition Gengar.cs:12
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Haxorus_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Haxorus_8cs_source.html new file mode 100644 index 0000000..06e676b --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Haxorus_8cs_source.html @@ -0,0 +1,133 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Haxorus.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Haxorus.cs
+
+
+
1namespace Library;
+
2
+
7public class Haxorus: Pokemon
+
8{
+
+
12 public Haxorus():base(name: "Haxorus", life: 356, type: Type.Dragon, new Attack("Outrage",Type.Dragon,0.75,120),new Attack("Assurance", Type.Normal,0.95,80), new Attack("Close Combat", Type.Fighting, 0.75,120) ,new Attack("Dragon claw", Type.Dragon, 1,55))
+
13 {
+
14 }
+
+
15
+
16 public override Pokemon Instance()
+
17 {
+
18 return new Haxorus();
+
19 }
+
20
+
21}
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Haxorus()
Constructor de Haxorus, implementa el patron GRASP creator.
Definition Haxorus.cs:12
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
+
+ + + + diff --git a/docs/html/IAttack_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2IAttack_8cs_source.html similarity index 70% rename from docs/html/IAttack_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2IAttack_8cs_source.html index b3398d2..26ee7a2 100644 --- a/docs/html/IAttack_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2IAttack_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/IAttack.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/IAttack.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,28 +101,25 @@
1namespace Library;
2
-
-
6public interface IAttack
+
6public interface IAttack
7{
-
11 public string Name { get; }
+
11 public string Name { get; }
12
-
16 public Type Type {get;}
-
20 public double Accuracy {get;}
+
16 public Type Type {get;}
+
20 public double Accuracy {get;}
21
22}
-
-
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
-
double Accuracy
Precisión del ataque.
Definition IAttack.cs:20
-
string Name
Nombre del ataque.
Definition IAttack.cs:11
- -
Type
Representa los tipos.
Definition Type.cs:7
+
double Accuracy
Precisión del ataque.
Definition IAttack.cs:20
+
string Name
Nombre del ataque.
Definition IAttack.cs:11
+ +
Type
Representa los tipos.
Definition Type.cs:7
diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2IItem_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2IItem_8cs_source.html new file mode 100644 index 0000000..3d7240e --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2IItem_8cs_source.html @@ -0,0 +1,124 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/IItem.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
IItem.cs
+
+
+
1namespace Library;
+
2
+
6public interface IItem
+
7{
+
11 string Name { get; }
+
12
+
18 string Use(Pokemon pokemon);
+
19}
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
string Use(Pokemon pokemon)
Utiliza el item sobre un pokemon.
+
string Name
Nombre del item.
Definition IItem.cs:11
+ +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Mewtwo_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Mewtwo_8cs_source.html new file mode 100644 index 0000000..166ce91 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Mewtwo_8cs_source.html @@ -0,0 +1,134 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Mewtwo.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Mewtwo.cs
+
+
+
1namespace Library;
+
2
+
7public class Mewtwo: Pokemon
+
8{
+
+
12 public Mewtwo() : base(name: "Mewtwo", life: 416, type: Type.Psychic, new Attack("Shadow Ball", Type.Ghost, 1, 60),
+
13 new Attack("Psystrike", Type.Psychic, 1, 100), new Attack("Mental Shock", Type.Psychic, 0.75, 100),
+
14 new Attack("Drain Punch", Type.Fighting, 0.95, 80))
+
15 {
+
16 }
+
+
17
+
18 public override Pokemon Instance()
+
19 {
+
20 return new Mewtwo();
+
21 }
+
22}
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Mewtwo()
Constructor de Mewtwo, implementa el patron GRASP creator.
Definition Mewtwo.cs:12
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
+
+ + + + diff --git a/docs/html/Player_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Player_8cs_source.html similarity index 87% rename from docs/html/Player_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2Player_8cs_source.html index ee72396..e3a84ce 100644 --- a/docs/html/Player_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Player_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Player.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Player.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,16 +101,15 @@
1namespace Library;
2
-
-
6public class Player
+
6public class Player
7{
-
11 public string Name { get; }
+
11 public string Name { get; }
12
16 private List<Pokemon> PokemonTeam { get; set;}
17
21 private List<IItem> Items { get; set;}
22
-
26 public Pokemon ActivePokemon { get; private set; }
+
26 public Pokemon ActivePokemon { get; private set; }
27
33 public Player(string name)
@@ -143,7 +142,7 @@
67 {
68 if (pokemon != null)
69 {
-
70 if (pokemon.CurrentLife > 0)
+
70 if (pokemon.CurrentLife > 0)
71 {
72 this.ActivePokemon = pokemon;
73 return true;
@@ -159,7 +158,7 @@
89 {
90 foreach (Pokemon pokemon in this.PokemonTeam)
91 {
-
92 if (pokemon.Name == strPokemon)
+
92 if (pokemon.Name == strPokemon)
93 {
94 return pokemon;
95 }
@@ -173,7 +172,7 @@
109 {
110 foreach (IItem item in this.Items)
111 {
-
112 if (item.Name == strItem)
+
112 if (item.Name == strItem)
113 {
114 return item;
115 }
@@ -186,9 +185,9 @@
129 public Attack FindAttack(string strAttack)
130 {
-
131 foreach (IAttack attack in this.ActivePokemon.GetAttacks())
+
131 foreach (IAttack attack in this.ActivePokemon.GetAttacks())
132 {
-
133 if (attack.Name == strAttack && attack is Attack attack2)
+
133 if (attack.Name == strAttack && attack is Attack attack2)
134 {
135 return attack2;
136 }
@@ -215,7 +214,7 @@
163 public string GetPokemonAttacks()
164 {
165 string result = "";
-
166 foreach (IAttack atack in ActivePokemon.GetAttacks())
+
166 foreach (IAttack atack in ActivePokemon.GetAttacks())
167 {
168 result += atack.Name + "\n";
169 }
@@ -224,39 +223,37 @@
172
173}
-
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
Esta clase representa el item FullHealth. Al ser un item implementa la interfaz IItem.
Definition FullHealth.cs:8
-
Esta clase representa un jugador.
Definition Player.cs:7
-
Pokemon ActivePokemon
Pokemon activo del jugador.
Definition Player.cs:26
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el item FullHealth. Al ser un item implementa la interfaz IItem.
Definition FullHealth.cs:8
IItem FindItem(string strItem)
Devuelve un item de la lista de items buscandolo por su nombre.
Definition Player.cs:108
bool SetActivePokemon(Pokemon pokemon)
Cambia el pokemon activo si está vivo.
Definition Player.cs:66
List< IItem > GetItemList()
Devuelve la lista de items del jugador.
Definition Player.cs:154
Player(string name)
Le asigna un nombre al jugador, crea las listas de pokemons e items agregando items iniciales....
Definition Player.cs:33
List< Pokemon > GetPokemonTeam()
Devuelve la lista de pokemons del jugador.
Definition Player.cs:145
string GetPokemonAttacks()
Devuelve un string con los nombres de todos los ataques del pokemon activo.
Definition Player.cs:163
+
Pokemon ActivePokemon
Pokemon activo del jugador.
Definition Player.cs:26
void AddToTeam(Pokemon pokemon)
Agrega un pokemon a la lista de pokemons del jugador.
Definition Player.cs:51
+
string Name
Nombre del jugador.
Definition Player.cs:11
Attack FindAttack(string strAttack)
Devuelve un ataque de la lista de ataques del pokemon activo.
Definition Player.cs:129
-
string Name
Nombre del jugador.
Definition Player.cs:11
Pokemon FindPokemon(string strPokemon)
Devuelve un pokemon de la lista del jugador buscandolo por el nombre.
Definition Player.cs:88
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:120
-
Esta clase representa el item Revive. Al ser un item implementa la interfaz IItem.
Definition Revive.cs:8
-
Esta clase representa el item SuperPotion. Al ser un item implementa la interfaz IItem.
Definition SuperPotion.cs:8
-
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
-
string Name
Nombre del ataque.
Definition IAttack.cs:11
-
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
-
string Name
Nombre del item.
Definition IItem.cs:11
- +
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Esta clase representa el item Revive. Al ser un item implementa la interfaz IItem.
Definition Revive.cs:8
+
Esta clase representa el item SuperPotion. Al ser un item implementa la interfaz IItem.
Definition SuperPotion.cs:8
+
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
+
string Name
Nombre del ataque.
Definition IAttack.cs:11
+
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
+
string Name
Nombre del item.
Definition IItem.cs:11
+
diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2PokemonCatalogue_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2PokemonCatalogue_8cs_source.html new file mode 100644 index 0000000..91b837c --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2PokemonCatalogue_8cs_source.html @@ -0,0 +1,167 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/PokemonCatalogue.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
PokemonCatalogue.cs
+
+
+
1namespace Library;
+
2
+
6public static class PokemonCatalogue
+
7{
+
11 private static List<Pokemon> PokemonList { get; set; }
+
12
+
+
17 public static string ShowCatalogue()
+
18 {
+
19 List<Pokemon> pokedex = SetCatalogue();
+
20 string pokemonsAvailable = "";
+
21 foreach (Pokemon pokemon in pokedex)
+
22 {
+
23 pokemonsAvailable += pokemon.Name +"\n";
+
24 }
+
25 return pokemonsAvailable;
+
26 }
+
+
27
+
+
32 public static List<Pokemon> SetCatalogue()
+
33 {
+
34 Charizard charizard = new Charizard();
+
35 Chikorita chikorita = new Chikorita();
+
36 Gengar gengar = new Gengar();
+
37 Caterpie caterpie = new Caterpie();
+
38 Mewtwo mewtwo = new Mewtwo();
+
39 Zeraora zeraora = new Zeraora();
+
40 Haxorus haxorus = new Haxorus();
+
41 List<Pokemon> list = new List<Pokemon>();
+
42 list.Add(charizard);
+
43 list.Add(caterpie);
+
44 list.Add(chikorita);
+
45 list.Add(gengar);
+
46 list.Add(charizard);
+
47 list.Add(mewtwo);
+
48 list.Add(zeraora);
+
49 list.Add(haxorus);
+
50 PokemonList = list;
+
51 return PokemonList;
+
52 }
+
+
53
+
54}
+
Esta clase representa el Pokemon Caterpie. Al ser un Pokemon hereda de la clase Pokemon.
Definition Caterpie.cs:8
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
Esta clase representa el Pokemon Chikorita. Al ser un Pokemon hereda de la clase Pokemon.
Definition Chikorita.cs:8
+
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
Esta clase representa el Pokemon Haxorus. Al ser un Pokemon hereda de la clase Pokemon.
Definition Haxorus.cs:8
+
Esta clase representa el Pokemon Mewtwo. Al ser un Pokemon hereda de la clase Pokemon.
Definition Mewtwo.cs:8
+
static string ShowCatalogue()
Devuelve el nombre de todos los Pokemons en el catálogo.
+
static List< Pokemon > SetCatalogue()
Inicialia el catalogo.
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa el Pokemon Zeraora. Al ser un Pokemon hereda de la clase Pokemon.
Definition Zeraora.cs:8
+ +
+
+ + + + diff --git a/docs/html/Pokemon_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Pokemon_8cs_source.html similarity index 63% rename from docs/html/Pokemon_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2Pokemon_8cs_source.html index 54d01bf..40b53ab 100644 --- a/docs/html/Pokemon_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Pokemon_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Pokemon.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Pokemon.cs Source File @@ -35,7 +35,7 @@
- +
@@ -99,159 +99,158 @@
Pokemon.cs
-
1using System.Collections.ObjectModel;
-
2
-
3namespace Library;
-
4
-
-
8public abstract class Pokemon
-
9{
-
13 public string Name { get; set; }
-
14
-
18 private List<IAttack> Attacks { get; set; }
-
19
-
23 private List<Type> Type { get; set; }
-
24
-
28 public State? CurrentState { get; set; }
-
29
-
33 public int AsleepTurns { get; set; }
-
34
-
38 public double BaseLife { get; private set; }
-
39
-
43 public double CurrentLife { get; set; }
-
44
-
-
57 protected Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
-
58 {
-
59 //Aplicamos Creator
-
60 this.Name = name;
-
61 this.BaseLife = life;
-
62 this.CurrentState = null;
-
63 this.CurrentLife = BaseLife;
-
64 this.Type = new List<Type>();
-
65 this.Attacks = new List<IAttack>();
-
66 this.Type.Add(type);
-
67 this.AsleepTurns = 0;
-
68 // La lista de IMoves aplica LSP, ya que el Pokemon puede tener movimientos de daño (DamageMove) o
-
69 // movimientos de buffeo (StatChangerMove)
-
70 // y el funcionamiento de la lista es el mismo.
-
71 this.AddAttack(attack1);
-
72 this.AddAttack(attack2);
-
73 this.AddAttack(attack3);
-
74 this.AddAttack(attack4);
-
75
-
76 }
+
1
+
2namespace Library;
+
3
+
7public abstract class Pokemon
+
8{
+
12 public string Name { get; set; }
+
13
+
17 private List<IAttack> Attacks { get; set; }
+
18
+
22 private List<Type> Type { get; set; }
+
23
+
27 public State? CurrentState { get; set; }
+
28
+
32 public int AsleepTurns { get; set; }
+
33
+
37 public double BaseLife { get; private set; }
+
38
+
42 public double CurrentLife { get; set; }
+
43
+
+
56 protected Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
+
57 {
+
58 //Aplicamos Creator
+
59 this.Name = name;
+
60 this.BaseLife = life;
+
61 this.CurrentState = null;
+
62 this.CurrentLife = BaseLife;
+
63 this.Type = new List<Type>();
+
64 this.Attacks = new List<IAttack>();
+
65 this.Type.Add(type);
+
66 this.AsleepTurns = 0;
+
67 // La lista de IMoves aplica LSP, ya que el Pokemon puede tener movimientos de daño (DamageMove) o
+
68 // movimientos de buffeo (StatChangerMove)
+
69 // y el funcionamiento de la lista es el mismo.
+
70 this.AddAttack(attack1);
+
71 this.AddAttack(attack2);
+
72 this.AddAttack(attack3);
+
73 this.AddAttack(attack4);
+
74
+
75 }
-
77
-
-
83 public void GainLife(double hp)
-
84 {
-
85 this.CurrentLife += hp;
-
86 if (this.CurrentLife > this.BaseLife)
-
87 {
-
88 this.CurrentLife = BaseLife;
-
89 }
-
90
-
91 }
+
76
+
+
82 public void GainLife(double hp)
+
83 {
+
84 this.CurrentLife += hp;
+
85 if (this.CurrentLife > this.BaseLife)
+
86 {
+
87 this.CurrentLife = BaseLife;
+
88 }
+
89
+
90 }
-
92
-
-
98 public void TakeDamage(double damage)
-
99 {
-
100 this.CurrentLife -= (int)Math.Round(damage);
-
101 if (this.CurrentLife < 0)
-
102 {
-
103 this.CurrentLife = 0;
-
104 }
-
105 }
+
91
+
+
97 public void TakeDamage(double damage)
+
98 {
+
99 this.CurrentLife -= (int)Math.Round(damage);
+
100 if (this.CurrentLife < 0)
+
101 {
+
102 this.CurrentLife = 0;
+
103 }
+
104 }
-
106
-
-
111 public string GetLife()
-
112 {
-
113 return $"{this.CurrentLife}/{this.BaseLife}";
-
114 }
+
105
+
+
110 public string GetLife()
+
111 {
+
112 return $"{this.CurrentLife}/{this.BaseLife}";
+
113 }
-
115
-
-
120 public List<IAttack> GetAttacks()
-
121 {
-
122 return this.Attacks;
-
123 }
+
114
+
+
119 public List<IAttack> GetAttacks()
+
120 {
+
121 return this.Attacks;
+
122 }
-
124
-
-
129 public List<Type> GetTypes()
-
130 {
-
131 return this.Type;
-
132 }
+
123
+
+
128 public List<Type> GetTypes()
+
129 {
+
130 return this.Type;
+
131 }
-
133
-
-
138 public void EditState(State? state)
-
139 {
-
140 this.CurrentState = state;
-
141 }
+
132
+
+
137 public void EditState(State? state)
+
138 {
+
139 this.CurrentState = state;
+
140 }
-
142
-
-
147 public void AddAttack(IAttack attack)
-
148 {
-
149 if (this.Attacks.Count < 4)
-
150 {
-
151 this.Attacks.Add(attack);
-
152 }
-
153 }
+
141
+
+
146 public void AddAttack(IAttack attack)
+
147 {
+
148 if (this.Attacks.Count < 4)
+
149 {
+
150 this.Attacks.Add(attack);
+
151 }
+
152 }
-
154
-
-
160 public Attack FindAttackByName(string attackString)
-
161 {
-
162 if (attackString != null)
-
163 {
-
164 foreach (IAttack attack in Attacks)
-
165 {
-
166 if (attack is Attack attack2 && attack.Name == attackString)
-
167 {
-
168 return attack2;
-
169 }
-
170
-
171 }
-
172 }
-
173 return null;
-
174 }
+
153
+
+
159 public Attack FindAttackByName(string attackString)
+
160 {
+
161 if (attackString != null)
+
162 {
+
163 foreach (IAttack attack in Attacks)
+
164 {
+
165 if (attack is Attack attack2 && attack.Name == attackString)
+
166 {
+
167 return attack2;
+
168 }
+
169
+
170 }
+
171 }
+
172 return null;
+
173 }
-
175
-
176}
-
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:38
-
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:129
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a...
Definition Pokemon.cs:57
-
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:138
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:83
-
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:120
-
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:160
-
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:33
-
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:111
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:147
-
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
-
string Name
Nombre del ataque.
Definition IAttack.cs:11
- -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
174
+
175 public abstract Pokemon Instance();
+
176
+
177}
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a...
Definition Pokemon.cs:56
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
+
string Name
Nombre del ataque.
Definition IAttack.cs:11
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Revive_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Revive_8cs_source.html new file mode 100644 index 0000000..3cfeccf --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Revive_8cs_source.html @@ -0,0 +1,143 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Revive.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Revive.cs
+
+
+
1namespace Library;
+
2
+
7public class Revive : IItem
+
8{
+
12 public string Name { get; }
+
13
+
+
20 public string Use(Pokemon pokemon)
+
21 {
+
22 if (pokemon.CurrentLife > 0)
+
23 {
+
24 return "El pokemon no está debilitado";
+
25 }
+
26 pokemon.CurrentLife = (pokemon.BaseLife / 2);
+
27 return $"{pokemon.Name} ha revivido.";
+
28 }
+
+
+
32 public Revive()
+
33 {
+
34 this.Name = "Revive";
+
35 }
+
+
36
+
37}
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
string Use(Pokemon pokemon)
Revive al Pokemon asignando a su vida actual la mitad de la vida base, si está vivo no se revive.
Definition Revive.cs:20
+
string Name
Nombre del item.
Definition Revive.cs:12
+
Revive()
Constructor de Revive
Definition Revive.cs:32
+ +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Services_2BotLoader_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Services_2BotLoader_8cs_source.html new file mode 100644 index 0000000..792afdc --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Services_2BotLoader_8cs_source.html @@ -0,0 +1,165 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Services/BotLoader.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
BotLoader.cs
+
+
+
1using System.Reflection;
+
2using Microsoft.Extensions.Configuration;
+
3using Microsoft.Extensions.DependencyInjection;
+
4using Microsoft.Extensions.Logging;
+
5
+ +
7
+
12public static class BotLoader
+
13{
+
14 public static async Task LoadAsync()
+
15 {
+
16 var configuration = new ConfigurationBuilder()
+
17 .AddUserSecrets(Assembly.GetExecutingAssembly())
+
18 .Build();
+
19
+
20 var serviceProvider = new ServiceCollection()
+
21 .AddLogging(options =>
+
22 {
+
23 options.ClearProviders();
+
24 options.AddConsole();
+
25 })
+
26 .AddSingleton<IConfiguration>(configuration)
+
27 .AddScoped<IBot, Bot>()
+
28 .BuildServiceProvider();
+
29
+
30 try
+
31 {
+
32 IBot bot = serviceProvider.GetRequiredService<IBot>();
+
33
+
34 await bot.StartAsync(serviceProvider);
+
35
+
36 Console.WriteLine("Conectado a Discord. Presione 'q' para salir...");
+
37
+
38 do
+
39 {
+
40 var keyInfo = Console.ReadKey();
+
41
+
42 if (keyInfo.Key != ConsoleKey.Q) continue;
+
43
+
44 Console.WriteLine("\nFinalizado");
+
45 await bot.StopAsync();
+
46
+
47 return;
+
48 } while (true);
+
49 }
+
50 catch (Exception exception)
+
51 {
+
52 Console.WriteLine(exception.Message);
+
53 Environment.Exit(-1);
+
54 }
+
55 }
+
56}
+ +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Services_2Bot_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Services_2Bot_8cs_source.html new file mode 100644 index 0000000..fe48e25 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Services_2Bot_8cs_source.html @@ -0,0 +1,195 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Services/Bot.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Bot.cs
+
+
+
1using System.Reflection;
+
2using Microsoft.Extensions.Configuration;
+
3using Microsoft.Extensions.DependencyInjection;
+
4using Microsoft.Extensions.Logging;
+
5using Discord;
+
6using Discord.Commands;
+
7using Discord.WebSocket;
+
8
+
+ +
10
+
14public class Bot : IBot
+
15{
+
16 private ServiceProvider? serviceProvider;
+
17 private readonly ILogger<Bot> logger;
+
18 private readonly IConfiguration configuration;
+
19 private readonly DiscordSocketClient client;
+
20 private readonly CommandService commands;
+
21
+
22 public Bot(ILogger<Bot> logger, IConfiguration configuration)
+
23 {
+
24 this.logger = logger;
+
25 this.configuration = configuration;
+
26
+
27 DiscordSocketConfig config = new()
+
28 {
+
29 AlwaysDownloadUsers = true,
+
30 GatewayIntents =
+
31 GatewayIntents.AllUnprivileged
+
32 | GatewayIntents.MessageContent/*
+
33 | GatewayIntents.GuildMembers*/
+
34 };
+
35
+
36 client = new DiscordSocketClient(config);
+
37 commands = new CommandService();
+
38 }
+
39
+
40 public async Task StartAsync(ServiceProvider services)
+
41 {
+
42 string discordToken = configuration["DiscordToken"] ?? throw new Exception("Falta el token");
+
43
+
44 logger.LogInformation("Iniciando el con token {Token}", discordToken);
+
45
+
46 serviceProvider = services;
+
47
+
48 await commands.AddModulesAsync(Assembly.GetExecutingAssembly(), serviceProvider);
+
49
+
50 await client.LoginAsync(TokenType.Bot, discordToken);
+
51 await client.StartAsync();
+
52
+
53 client.MessageReceived += HandleCommandAsync;
+
54 }
+
55
+
56 public async Task StopAsync()
+
57 {
+
58 logger.LogInformation("Finalizando");
+
59 await client.LogoutAsync();
+
60 await client.StopAsync();
+
61 }
+
62
+
63 private async Task HandleCommandAsync(SocketMessage arg)
+
64 {
+
65 if (arg is not SocketUserMessage message || message.Author.IsBot)
+
66 {
+
67 return;
+
68 }
+
69
+
70 int position = 0;
+
71 bool messageIsCommand = message.HasCharPrefix('!', ref position);
+
72
+
73 if (messageIsCommand)
+
74 {
+
75 await commands.ExecuteAsync(
+
76 new SocketCommandContext(client, message),
+
77 position,
+
78 serviceProvider);
+
79 }
+
80 }
+
81}
+
+
Esta clase implementa el bot de Discord.
Definition Bot.cs:15
+
La interfaz del Bot de Discord para usar con inyección de dependencias.
Definition IBot.cs:9
+ +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Services_2IBot_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Services_2IBot_8cs_source.html new file mode 100644 index 0000000..ef2051e --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Services_2IBot_8cs_source.html @@ -0,0 +1,123 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Services/IBot.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
IBot.cs
+
+
+
1using Microsoft.Extensions.DependencyInjection;
+
2
+ +
4
+
8public interface IBot
+
9{
+
10 Task StartAsync(ServiceProvider services);
+
11
+
12 Task StopAsync();
+
13}
+ +
+
+ + + + diff --git a/docs/html/SpecialAttack_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2SpecialAttack_8cs_source.html similarity index 78% rename from docs/html/SpecialAttack_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2SpecialAttack_8cs_source.html index c577494..609c675 100644 --- a/docs/html/SpecialAttack_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2SpecialAttack_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/SpecialAttack.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/SpecialAttack.cs Source File @@ -35,7 +35,7 @@
- +
@@ -101,15 +101,14 @@
1namespace Library;
2
-
-
7public class SpecialAttack : Attack
+
7public class SpecialAttack : Attack
8{
-
12 public State SpecialEffect { get; private set; }
+
12 public State SpecialEffect { get; private set; }
13
-
17 public int Cooldown { get; private set; }
+
17 public int Cooldown { get; private set; }
18
-
27 public SpecialAttack(string name, Type type, double accuracy, int power, State specialEffect): base(name, type, accuracy, power)
+
27 public SpecialAttack(string name, Type type, double accuracy, int power, State specialEffect): base(name, type, accuracy, power)
28 {
29 this.Cooldown = 0;
30 this.SpecialEffect = specialEffect;
@@ -119,9 +118,9 @@
36 public void LowerCooldown()
37 {
-
38 if (Cooldown > 0)
+
38 if (Cooldown > 0)
39 {
-
40 Cooldown -= 1;
+
40 Cooldown -= 1;
41 }
42 }
@@ -129,28 +128,25 @@
47 public void SetCooldown()
48 {
-
49 Cooldown = 2;
+
49 Cooldown = 2;
50 }
51}
-
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
void LowerCooldown()
Le quita un turno a la cantidad de turnos que se deben esperar para usar el ataque.
-
int Cooldown
Cantidad de turnos que se deben esperar para volver a usar el ataque especial.
void SetCooldown()
Le asigna 2 a el contador de turnos que se deben esperar para usar el ataque.
SpecialAttack(string name, Type type, double accuracy, int power, State specialEffect)
Constructor de SpecialAttack
-
State SpecialEffect
Efecto del ataque.
- -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
State SpecialEffect
Efecto del ataque.
+
int Cooldown
Cantidad de turnos que se deben esperar para volver a usar el ataque especial.
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/StateLogic_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2StateLogic_8cs_source.html similarity index 92% rename from docs/html/StateLogic_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2StateLogic_8cs_source.html index fd48718..3102a9e 100644 --- a/docs/html/StateLogic_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2StateLogic_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/StateLogic.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/StateLogic.cs Source File @@ -35,7 +35,7 @@
- +
@@ -153,15 +153,15 @@
85 }
86 }
87}
- -
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+ +
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/State_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2State_8cs_source.html similarity index 87% rename from docs/html/State_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2State_8cs_source.html index 944aed0..79236f1 100644 --- a/docs/html/State_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2State_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/State.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/State.cs Source File @@ -35,7 +35,7 @@
- +
@@ -110,15 +110,15 @@
11 Burned
12}
- +
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/SuperPotion_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2SuperPotion_8cs_source.html similarity index 79% rename from docs/html/SuperPotion_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2SuperPotion_8cs_source.html index 4933f9a..7a48d63 100644 --- a/docs/html/SuperPotion_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2SuperPotion_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/SuperPotion.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/SuperPotion.cs Source File @@ -35,7 +35,7 @@
- +
@@ -101,10 +101,9 @@
1namespace Library;
2
-
-
7public class SuperPotion : IItem
+
7public class SuperPotion : IItem
8{
-
12 public string Name { get; }
+
12 public string Name { get; }
13
21 public string Use(Pokemon pokemon)
@@ -124,22 +123,19 @@
36 }
37}
-
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:83
-
Esta clase representa el item SuperPotion. Al ser un item implementa la interfaz IItem.
Definition SuperPotion.cs:8
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
SuperPotion()
Constructor de SuperPotion
+
string Name
Nombre del item.
string Use(Pokemon pokemon)
Suma 70 HP a la vida actual del Pokemon.
-
string Name
Nombre del item.
-
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
- +
diff --git a/docs/html/Type_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Type_8cs_source.html similarity index 83% rename from docs/html/Type_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2src_2Library_2Type_8cs_source.html index a232d65..d4be2da 100644 --- a/docs/html/Type_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Type_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Type.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Type.cs Source File @@ -35,7 +35,7 @@
- +
@@ -102,7 +102,7 @@
1namespace Library;
2
-
6public enum Type
+
6public enum Type
7{
8 Bug,
9 Dragon,
@@ -121,15 +121,15 @@
22 Water
23}
- -
Type
Representa los tipos.
Definition Type.cs:7
+ +
Type
Representa los tipos.
Definition Type.cs:7
diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2WaitingList_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2WaitingList_8cs_source.html new file mode 100644 index 0000000..5f8aa23 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2WaitingList_8cs_source.html @@ -0,0 +1,188 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/WaitingList.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
WaitingList.cs
+
+
+
1namespace Library;
+
5public class WaitingList
+
6{
+
10 private List<Player> Players { get; set; }= new List<Player>();
+
11
+
+
15 public int Count
+
16 {
+
17 get { return this.Players.Count; }
+
18 }
+
+
19
+
+
28 public bool AddPlayer(string playerName)
+
29 {
+
30 if (string.IsNullOrEmpty(playerName))
+
31 throw new ArgumentException(nameof(playerName));
+
32 if (this.FindPlayerByName(playerName) != null)
+
33 return false;
+
34 this.Players.Add(new Player(playerName));
+
35 return true;
+
36 }
+
+
37
+
+
45 public bool RemovePlayer(string playerName)
+
46 {
+
47 Player? player = FindPlayerByName(playerName);
+
48 if (player == null)
+
49 return false;
+
50 this.Players.Remove(player);
+
51 return true;
+
52 }
+
+
53
+
+
61 public Player? FindPlayerByName(string playerName)
+
62 {
+
63 foreach (Player player in this.Players)
+
64 if (player.Name == playerName)
+
65 return player;
+
66 return null;
+
67 }
+
+
68
+
+
72 public Player? GetSomeone(string playerName)
+
73 {
+
74 Random random = new Random();
+
75 if (this.Count <= 1)
+
76 return null;
+
77 int randomNumber;
+
78 do
+
79 {
+
80 randomNumber = random.Next(0, this.Count);
+
81 } while (this.Players[randomNumber].Name == playerName);
+
82 return this.Players[randomNumber];
+
83 }
+
+
84
+
+
88 public List<Player> GetWaitingList()
+
89 {
+
90 return this.Players;
+
91 }
+
+
92}
+
Esta clase representa un jugador.
Definition Player.cs:8
+
string Name
Nombre del jugador.
Definition Player.cs:11
+
Player? GetSomeone(string playerName)
Devuelve un jugador al azar de la lista de espera.
+
bool AddPlayer(string playerName)
Agrega un jugador a la lista de espera.
+
List< Player > GetWaitingList()
Devuelve la lista de jugadores en espera.
+
Player? FindPlayerByName(string playerName)
Devuelve un jugador de la lista de espera buscandolo por su nombre.
+
int Count
Devuelve el número de jugadores en espera.
+
bool RemovePlayer(string playerName)
Elimina un jugador de la lista de espera.
+ +
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Library_2Zeraora_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Library_2Zeraora_8cs_source.html new file mode 100644 index 0000000..25b0357 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Library_2Zeraora_8cs_source.html @@ -0,0 +1,138 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Library/Zeraora.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Zeraora.cs
+
+
+
1namespace Library;
+
2
+
7public class Zeraora: Pokemon
+
8{
+
+
12 public Zeraora() : base(name: "Zeraora", life: 380, type: Type.Electric,
+
13 new Attack("Plasma Fist", Type.Electric, 1, 65),
+
14 new SpecialAttack("Thunderbolt", Type.Electric, 1, 75, State.Paralized),
+
15 new Attack("Close Combat", Type.Fighting, 0.75, 120), new Attack("Wild Charge", Type.Electric, 0.6, 160))
+
16 {
+
17
+
18 }
+
+
19
+
20 public override Pokemon Instance()
+
21 {
+
22 return new Zeraora();
+
23 }
+
24}
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
Zeraora()
Constructor de Zeraora, implementa el patron GRASP creator.
Definition Zeraora.cs:12
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/pii__2024__2__equipo10_2src_2Program_2Program_8cs_source.html b/docs/html/pii__2024__2__equipo10_2src_2Program_2Program_8cs_source.html new file mode 100644 index 0000000..8f2e098 --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2src_2Program_2Program_8cs_source.html @@ -0,0 +1,148 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/src/Program/Program.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Program.cs
+
+
+
1using Library;
+ +
3
+
+
4namespace Program;
+
5
+
9internal static class Program
+
10{
+
14 private static void Main()
+
15 {
+
16 // DemoFacade();
+
17 DemoBot();
+
18 }
+
19
+
20 private static void DemoFacade()
+
21 {
+
22 Console.WriteLine(Facade.AddPlayerToWaitingList("player"));
+
23 Console.WriteLine(Facade.AddPlayerToWaitingList("opponent"));
+
24 Console.WriteLine(Facade.GetAllPlayersWaiting());
+
25 Console.WriteLine(Facade.StartGame("player", "opponent"));
+
26 Console.WriteLine(Facade.GetAllPlayersWaiting());
+
27 }
+
28
+
29 private static void DemoBot()
+
30 {
+
31 BotLoader.LoadAsync().GetAwaiter().GetResult();
+
32 }
+
33}
+
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string StartGame(string playerName, string opponentName)
Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ...
Definition Facade.cs:383
+
static string GetAllPlayersWaiting()
Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.
Definition Facade.cs:340
+
static string AddPlayerToWaitingList(string playerName)
Historia de usuario 9: Agrega un jugador a la lista de espera.
Definition Facade.cs:307
+ + + +
+
+ + + + diff --git a/docs/html/AttackTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2AttackTest_8cs_source.html similarity index 88% rename from docs/html/AttackTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2AttackTest_8cs_source.html index 213273c..6e8fda2 100644 --- a/docs/html/AttackTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2AttackTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/AttackTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/AttackTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -105,8 +105,7 @@
3namespace LibraryTests;
4
8
-
-
9public class AttackTest
+
9public class AttackTest
10{
11 [SetUp]
12 public void Setup()
@@ -118,7 +117,7 @@
20 public void TestAccuracy0()
21 {
22 Attack attack = new Attack("impactrueno",Library.Type.Electric, 0, 100);
-
23 Assert.That(attack.Accuracy.Equals(0));
+
23 Assert.That(attack.Accuracy.Equals(0));
24 }
25
@@ -127,7 +126,7 @@
30 public void TestPower0()
31 {
32 Attack attack = new Attack("impactrueno",Library.Type.Electric, 1, 0);
-
33 Assert.That(attack.Power.Equals(0));
+
33 Assert.That(attack.Power.Equals(0));
34 }
35
@@ -159,25 +158,24 @@
65}
- -
Test de la clase Attack
Definition AttackTest.cs:10
+
Test de la clase Attack
Definition AttackTest.cs:12
void TestPower0()
Test del atributo Power en 0.
Definition AttackTest.cs:30
void TestInvalidPower()
Test de Power invalido.
Definition AttackTest.cs:60
void TestInvalidAccuracy()
Test de Accuracy invalido.
Definition AttackTest.cs:50
void TestAccuracy0()
Test del atributo Accuracy en 0.
Definition AttackTest.cs:20
void TestNullName()
Test del nombre nulo.
Definition AttackTest.cs:40
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
-
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
int Power
Potencia del ataque.
Definition Attack.cs:25
- + diff --git a/docs/html/CaterpieTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2CaterpieTest_8cs_source.html similarity index 84% rename from docs/html/CaterpieTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2CaterpieTest_8cs_source.html index 9856666..3a2b6c7 100644 --- a/docs/html/CaterpieTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2CaterpieTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/CaterpieTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/CaterpieTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,14 +101,13 @@
1using Library;
2using NUnit.Framework;
-
3using Type = Library.Type;
+
3using Type = Library.Type;
4
5namespace LibraryTests;
6
10[TestFixture]
11[TestOf(typeof(Caterpie))]
-
-
12public class CaterpieTest
+
12public class CaterpieTest
13{
14
18 [Test]
@@ -116,7 +115,7 @@
19 public void TestName()
20 {
21 Caterpie caterpie = new Caterpie();
-
22 string caterpieName = caterpie.Name;
+
22 string caterpieName = caterpie.Name;
23 string expectedName = "Caterpie";
24 Assert.That(caterpieName.Equals(expectedName, StringComparison.Ordinal));
25 }
@@ -127,8 +126,8 @@
31 public void TestType()
32 {
33 Caterpie caterpie = new Caterpie();
-
34 Type caterpieType = caterpie.GetTypes()[0];
-
35 Type expectedType = Type.Bug;
+
34 Type caterpieType = caterpie.GetTypes()[0];
+
35 Type expectedType = Type.Bug;
36 Assert.That(caterpieType.Equals(expectedType));
37 }
@@ -138,10 +137,10 @@
44 {
45 Caterpie caterpie = new Caterpie();
-
46 double caterpieBaseLife = caterpie.BaseLife;
+
46 double caterpieBaseLife = caterpie.BaseLife;
47 double expectedBaseLife = 294;
48 Assert.That(caterpieBaseLife.Equals(expectedBaseLife));
-
49 double caterpieCurentLife = caterpie.CurrentLife;
+
49 double caterpieCurentLife = caterpie.CurrentLife;
50 double expectedCurrentLife = 294;
51 Assert.That(caterpieCurentLife.Equals(expectedCurrentLife));
52 }
@@ -164,7 +163,7 @@
71 {
72 Caterpie caterpie = new Caterpie();
73 List<IAttack> caterpieAttacks = caterpie.GetAttacks();
-
74 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
74 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
75 caterpie.AddAttack(attack);
76 int expectedLenght = 4;
77 Assert.That(caterpieAttacks.Count.Equals(expectedLenght));
@@ -176,10 +175,10 @@
85 {
86 Caterpie caterpie = new Caterpie();
-
87 State? caterpieCurrentState = caterpie.CurrentState;
+
87 State? caterpieCurrentState = caterpie.CurrentState;
88 Assert.That(caterpieCurrentState.Equals(null));
89 caterpie.EditState(State.Burned);
-
90 State? caterpieCurrentState2 = caterpie.CurrentState;
+
90 State? caterpieCurrentState2 = caterpie.CurrentState;
91 Assert.That(caterpieCurrentState2.Equals(State.Burned));
92 }
@@ -189,7 +188,7 @@
98 public void TestAsleepTurns()
99 {
100 Caterpie caterpie = new Caterpie();
-
101 int caterpieCurrentState = caterpie.AsleepTurns;
+
101 int caterpieCurrentState = caterpie.AsleepTurns;
102 int expectedLenght = 0;
103 Assert.That(caterpieCurrentState.Equals(expectedLenght));
104 }
@@ -201,12 +200,12 @@
111 {
112 Caterpie caterpie = new Caterpie();
113 Attack attack1 = caterpie.FindAttackByName("Bug bite");
-
114 string attack1Name = attack1.Name;
-
115 Type attack1Type = attack1.Type;
-
116 double attack1Accuracy = attack1.Accuracy;
-
117 int attack1Power = attack1.Power;
+
114 string attack1Name = attack1.Name;
+
115 Type attack1Type = attack1.Type;
+
116 double attack1Accuracy = attack1.Accuracy;
+
117 int attack1Power = attack1.Power;
118 string attack1ExcpectedName = "Bug bite";
-
119 Type attack1ExcpectedType = Type.Bug;
+
119 Type attack1ExcpectedType = Type.Bug;
120 double attack1ExcpectedAccuracy = 1;
121 int attack1ExcpectedPower = 20;
122 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -214,12 +213,12 @@
124 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
125 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
126 Attack attack2 = caterpie.FindAttackByName("Tackle");
-
127 string attack2Name = attack2.Name;
-
128 Type attack2Type = attack2.Type;
-
129 double attack2Accuracy = attack2.Accuracy;
-
130 int attack2Power = attack2.Power;
+
127 string attack2Name = attack2.Name;
+
128 Type attack2Type = attack2.Type;
+
129 double attack2Accuracy = attack2.Accuracy;
+
130 int attack2Power = attack2.Power;
131 string attack2ExcpectedName = "Tackle";
-
132 Type attack2ExcpectedType = Type.Normal;
+
132 Type attack2ExcpectedType = Type.Normal;
133 double attack2ExcpectedAccuracy = 1;
134 int attack2ExcpectedPower = 30;
135
@@ -228,12 +227,12 @@
138 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
139 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
140 Attack attack3 = caterpie.FindAttackByName("Bug stomp");
-
141 string attack3Name = attack3.Name;
-
142 Type attack3Type = attack3.Type;
-
143 double attack3Accuracy = attack3.Accuracy;
-
144 int attack3Power = attack3.Power;
+
141 string attack3Name = attack3.Name;
+
142 Type attack3Type = attack3.Type;
+
143 double attack3Accuracy = attack3.Accuracy;
+
144 int attack3Power = attack3.Power;
145 string attack3ExcpectedName = "Bug stomp";
-
146 Type attack3ExcpectedType = Type.Bug;
+
146 Type attack3ExcpectedType = Type.Bug;
147 double attack3ExcpectedAccuracy = 0.95;
148 int attack3ExcpectedPower = 70;
149 Assert.That(attack3Name, Is.EqualTo(attack3ExcpectedName));
@@ -252,12 +251,12 @@
162 }
163
164 Attack attack4 = caterpie.FindAttackByName("String shot");
-
165 string attack4Name = attack4.Name;
-
166 Type attack4Type = attack4.Type;
-
167 double attack4Accuracy = attack4.Accuracy;
-
168 int attack4Power = attack4.Power;
+
165 string attack4Name = attack4.Name;
+
166 Type attack4Type = attack4.Type;
+
167 double attack4Accuracy = attack4.Accuracy;
+
168 int attack4Power = attack4.Power;
169 string attack4ExcpectedName = "String shot";
-
170 Type attack4ExcpectedType = Type.Bug;
+
170 Type attack4ExcpectedType = Type.Bug;
171 double attack4ExcpectedAccuracy = 1;
172 int attack4ExcpectedPower = 15;
173 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
@@ -273,18 +272,18 @@
185 {
186 Caterpie caterpie= new Caterpie();
-
187 double actualLife = caterpie.CurrentLife;
+
187 double actualLife = caterpie.CurrentLife;
188 string actualLifeText = caterpie.GetLife();
189 caterpie.GainLife(100);
-
190 Assert.That(actualLife.Equals(caterpie.BaseLife));
+
190 Assert.That(actualLife.Equals(caterpie.BaseLife));
191 Assert.That(actualLifeText.Equals("294/294", StringComparison.Ordinal));
192 caterpie.TakeDamage(120);
-
193 double actualLife2 = caterpie.CurrentLife;
+
193 double actualLife2 = caterpie.CurrentLife;
194 string actualLifeText2 = caterpie.GetLife();
195 Assert.That(actualLife2.Equals(174));
196 Assert.That(actualLifeText2.Equals("174/294", StringComparison.Ordinal));
197 caterpie.GainLife(100);
-
198 double actualLife3 = caterpie.CurrentLife;
+
198 double actualLife3 = caterpie.CurrentLife;
199 string actualLifeText3 = caterpie.GetLife();
200 Assert.That(actualLife3.Equals(274));
201 Assert.That(actualLifeText3.Equals("274/294", StringComparison.Ordinal));
@@ -297,12 +296,12 @@
209 {
210 Caterpie caterpie = new Caterpie();
211 Attack attack = caterpie.FindAttackByName("Bug bite");
-
212 string attack1Name = attack.Name;
-
213 Type attack1Type = attack.Type;
-
214 double attack1Accuracy = attack.Accuracy;
-
215 int attack1Power = attack.Power;
+
212 string attack1Name = attack.Name;
+
213 Type attack1Type = attack.Type;
+
214 double attack1Accuracy = attack.Accuracy;
+
215 int attack1Power = attack.Power;
216 string attack1ExcpectedName = "Bug bite";
-
217 Type attack1ExcpectedType = Type.Bug;
+
217 Type attack1ExcpectedType = Type.Bug;
218 double attack1ExcpectedAccuracy = 1;
219 int attack1ExcpectedPower = 20;
220 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -312,8 +311,6 @@
224 }
225}
-
-
Test de la clase Caterpie
void TestName()
Test del atributo name.
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
void TestType()
Test del atributo type.
@@ -324,37 +321,37 @@
void TestFindAttackByName()
Test del método FindAttackByName.
void TestAttacks()
Test de los ataques que tiene Caterpie, confirmando que fueron creados correctamente.
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Caterpie.
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
-
string Name
Nombre del ataque.
Definition Attack.cs:10
-
Type Type
Tipo del ataque.
Definition Attack.cs:15
-
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
-
Esta clase representa el Pokemon Caterpie. Al ser un Pokemon hereda de la clase Pokemon.
Definition Caterpie.cs:8
-
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:38
-
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:129
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:138
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:83
-
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:120
-
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:160
-
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:33
-
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:111
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:147
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
- - -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Caterpie. Al ser un Pokemon hereda de la clase Pokemon.
Definition Caterpie.cs:8
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/CharizardTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2CharizardTest_8cs_source.html similarity index 84% rename from docs/html/CharizardTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2CharizardTest_8cs_source.html index 4d09be9..4179065 100644 --- a/docs/html/CharizardTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2CharizardTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/CharizardTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/CharizardTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,13 +101,12 @@
1using Library;
2using NUnit.Framework;
-
3using Type = Library.Type;
+
3using Type = Library.Type;
4
5namespace LibraryTests;
9[TestFixture]
10[TestOf(typeof(Charizard))]
-
-
11public class CharizardTest
+
11public class CharizardTest
12{
13
17 [Test]
@@ -115,7 +114,7 @@
18 public void TestName()
19 {
20 Charizard charizard = new Charizard();
-
21 string charizardName = charizard.Name;
+
21 string charizardName = charizard.Name;
22 string expectedName = "Charizard";
23 Assert.That(charizardName.Equals(expectedName, StringComparison.Ordinal));
24 }
@@ -126,8 +125,8 @@
30 public void TestType()
31 {
32 Charizard charizard = new Charizard();
-
33 Type charizardType = charizard.GetTypes()[0];
-
34 Type expectedType = Type.Fire;
+
33 Type charizardType = charizard.GetTypes()[0];
+
34 Type expectedType = Type.Fire;
35 Assert.That(charizardType.Equals(expectedType));
36 }
@@ -138,10 +137,10 @@
44 {
45 Charizard charizard = new Charizard();
-
46 double charizardBaseLife = charizard.BaseLife;
+
46 double charizardBaseLife = charizard.BaseLife;
47 double expectedBaseLife = 360;
48 Assert.That(charizardBaseLife.Equals(expectedBaseLife));
-
49 double charizardCurentLife = charizard.CurrentLife;
+
49 double charizardCurentLife = charizard.CurrentLife;
50 double expectedCurrentLife = 360;
51 Assert.That(charizardCurentLife.Equals(expectedCurrentLife));
52 }
@@ -166,7 +165,7 @@
73 {
74 Charizard charizard = new Charizard();
75 List<IAttack> charizardAttacks = charizard.GetAttacks();
-
76 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
76 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
77 charizard.AddAttack(attack);
78 int expectedLenght = 4;
79 Assert.That(charizardAttacks.Count.Equals(expectedLenght));
@@ -178,10 +177,10 @@
87 {
88 Charizard charizard = new Charizard();
-
89 State? charizardCurrentState = charizard.CurrentState;
+
89 State? charizardCurrentState = charizard.CurrentState;
90 Assert.That(charizardCurrentState.Equals(null));
91 charizard.EditState(State.Burned);
-
92 State? charizardCurrentState2 = charizard.CurrentState;
+
92 State? charizardCurrentState2 = charizard.CurrentState;
93 Assert.That(charizardCurrentState2.Equals(State.Burned));
94 }
@@ -191,7 +190,7 @@
100 public void TestAsleepTurns()
101 {
102 Charizard charizard = new Charizard();
-
103 int charizardCurrentState = charizard.AsleepTurns;
+
103 int charizardCurrentState = charizard.AsleepTurns;
104 int expectedLenght = 0;
105 Assert.That(charizardCurrentState.Equals(expectedLenght));
106 }
@@ -203,12 +202,12 @@
113 {
114 Charizard charizard = new Charizard();
115 Attack attack1 = charizard.FindAttackByName("Dragon claw");
-
116 string attack1Name = attack1.Name;
-
117 Type attack1Type = attack1.Type;
-
118 double attack1Accuracy = attack1.Accuracy;
-
119 int attack1Power = attack1.Power;
+
116 string attack1Name = attack1.Name;
+
117 Type attack1Type = attack1.Type;
+
118 double attack1Accuracy = attack1.Accuracy;
+
119 int attack1Power = attack1.Power;
120 string attack1ExcpectedName = "Dragon claw";
-
121 Type attack1ExcpectedType = Type.Dragon;
+
121 Type attack1ExcpectedType = Type.Dragon;
122 double attack1ExcpectedAccuracy = 1;
123 int attack1ExcpectedPower = 55;
124 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -216,12 +215,12 @@
126 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
127 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
128 Attack attack2 = charizard.FindAttackByName("Flamethrower");
-
129 string attack2Name = attack2.Name;
-
130 Type attack2Type = attack2.Type;
-
131 double attack2Accuracy = attack2.Accuracy;
-
132 int attack2Power = attack2.Power;
+
129 string attack2Name = attack2.Name;
+
130 Type attack2Type = attack2.Type;
+
131 double attack2Accuracy = attack2.Accuracy;
+
132 int attack2Power = attack2.Power;
133 string attack2ExcpectedName = "Flamethrower";
-
134 Type attack2ExcpectedType = Type.Fire;
+
134 Type attack2ExcpectedType = Type.Fire;
135 double attack2ExcpectedAccuracy = 0.95;
136 int attack2ExcpectedPower = 75;
137 if (attack2 is SpecialAttack specialAttack2)
@@ -239,12 +238,12 @@
149 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
150 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
151 Attack attack3 = charizard.FindAttackByName("Wing Attack");
-
152 string attack3Name = attack3.Name;
-
153 Type attack3Type = attack3.Type;
-
154 double attack3Accuracy = attack3.Accuracy;
-
155 int attack3Power = attack3.Power;
+
152 string attack3Name = attack3.Name;
+
153 Type attack3Type = attack3.Type;
+
154 double attack3Accuracy = attack3.Accuracy;
+
155 int attack3Power = attack3.Power;
156 string attack3ExcpectedName = "Wing Attack";
-
157 Type attack3ExcpectedType = Type.Flying;
+
157 Type attack3ExcpectedType = Type.Flying;
158 double attack3ExcpectedAccuracy = 0.9;
159 int attack3ExcpectedPower = 40;
160 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
@@ -252,12 +251,12 @@
162 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
163 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
164 Attack attack4 = charizard.FindAttackByName("Fire punch");
-
165 string attack4Name = attack4.Name;
-
166 Type attack4Type = attack4.Type;
-
167 double attack4Accuracy = attack4.Accuracy;
-
168 int attack4Power = attack4.Power;
+
165 string attack4Name = attack4.Name;
+
166 Type attack4Type = attack4.Type;
+
167 double attack4Accuracy = attack4.Accuracy;
+
168 int attack4Power = attack4.Power;
169 string attack4ExcpectedName = "Fire punch";
-
170 Type attack4ExcpectedType = Type.Fire;
+
170 Type attack4ExcpectedType = Type.Fire;
171 double attack4ExcpectedAccuracy = 1;
172 int attack4ExcpectedPower = 50;
173 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
@@ -272,18 +271,18 @@
184 {
185 Charizard charizard = new Charizard();
-
186 double actualLife = charizard.CurrentLife;
+
186 double actualLife = charizard.CurrentLife;
187 string actualLifeText = charizard.GetLife();
188 charizard.GainLife(100);
-
189 Assert.That(actualLife.Equals(charizard.BaseLife));
+
189 Assert.That(actualLife.Equals(charizard.BaseLife));
190 Assert.That(actualLifeText.Equals("360/360", StringComparison.Ordinal));
191 charizard.TakeDamage(120);
-
192 double actualLife2 = charizard.CurrentLife;
+
192 double actualLife2 = charizard.CurrentLife;
193 string actualLifeText2 = charizard.GetLife();
194 Assert.That(actualLife2.Equals(240));
195 Assert.That(actualLifeText2.Equals("240/360", StringComparison.Ordinal));
196 charizard.GainLife(100);
-
197 double actualLife3 = charizard.CurrentLife;
+
197 double actualLife3 = charizard.CurrentLife;
198 string actualLifeText3 = charizard.GetLife();
199 Assert.That(actualLife3.Equals(340));
200 Assert.That(actualLifeText3.Equals("340/360", StringComparison.Ordinal));
@@ -296,12 +295,12 @@
208 {
209 Charizard charizard = new Charizard();
210 Attack attack = charizard.FindAttackByName("Dragon claw");
-
211 string attack1Name = attack.Name;
-
212 Type attack1Type = attack.Type;
-
213 double attack1Accuracy = attack.Accuracy;
-
214 int attack1Power = attack.Power;
+
211 string attack1Name = attack.Name;
+
212 Type attack1Type = attack.Type;
+
213 double attack1Accuracy = attack.Accuracy;
+
214 int attack1Power = attack.Power;
215 string attack1ExcpectedName = "Dragon claw";
-
216 Type attack1ExcpectedType = Type.Dragon;
+
216 Type attack1ExcpectedType = Type.Dragon;
217 double attack1ExcpectedAccuracy = 1;
218 int attack1ExcpectedPower = 55;
219 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -311,8 +310,6 @@
223 }
224}
-
-
Test de la clase Charizard
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Charizard.
void TestName()
Test del atributo name.
void TestFindAttackByName()
Test del método FindAttackByName.
@@ -323,37 +320,37 @@
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
void TestAsleepTurns()
Test del atributo asleepTurns.
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
-
string Name
Nombre del ataque.
Definition Attack.cs:10
-
Type Type
Tipo del ataque.
Definition Attack.cs:15
-
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
-
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
-
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:38
-
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:129
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:138
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:83
-
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:120
-
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:160
-
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:33
-
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:111
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:147
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
- - -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/ChikoritaTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2ChikoritaTest_8cs_source.html similarity index 84% rename from docs/html/ChikoritaTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2ChikoritaTest_8cs_source.html index 1f080b2..d540661 100644 --- a/docs/html/ChikoritaTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2ChikoritaTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/ChikoritaTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/ChikoritaTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,20 +101,19 @@
1using Library;
2using NUnit.Framework;
-
3using Type = Library.Type;
+
3using Type = Library.Type;
4
5namespace LibraryTests;
9[TestFixture]
10[TestOf(typeof(Chikorita))]
-
-
11public class ChikoritaTest
+
11public class ChikoritaTest
12{
16 [Test]
17 public void TestName()
18 {
19 Chikorita chikorita = new Chikorita();
-
20 string chikoritaName = chikorita.Name;
+
20 string chikoritaName = chikorita.Name;
21 string expectedName = "Chikorita";
22 Assert.That(chikoritaName.Equals(expectedName, StringComparison.Ordinal));
23 }
@@ -125,8 +124,8 @@
29 public void TestType()
30 {
31 Chikorita chikorita = new Chikorita();
-
32 Type chikoritaType = chikorita.GetTypes()[0];
-
33 Type expectedType = Type.Grass;
+
32 Type chikoritaType = chikorita.GetTypes()[0];
+
33 Type expectedType = Type.Grass;
34 Assert.That(chikoritaType.Equals(expectedType));
35 }
@@ -136,10 +135,10 @@
42 {
43 Chikorita chikorita = new Chikorita();
-
44 double chikoritaBaseLife = chikorita.BaseLife;
+
44 double chikoritaBaseLife = chikorita.BaseLife;
45 double expectedBaseLife = 294;
46 Assert.That(chikoritaBaseLife.Equals(expectedBaseLife));
-
47 double chikoritaCurentLife = chikorita.CurrentLife;
+
47 double chikoritaCurentLife = chikorita.CurrentLife;
48 double expectedCurrentLife = 294;
49 Assert.That(chikoritaCurentLife.Equals(expectedCurrentLife));
50 }
@@ -162,7 +161,7 @@
69 {
70 Chikorita chikorita = new Chikorita();
71 List<IAttack> chikoritaAttacks = chikorita.GetAttacks();
-
72 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
72 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
73 chikorita.AddAttack(attack);
74 int expectedLenght = 4;
75 Assert.That(chikoritaAttacks.Count.Equals(expectedLenght));
@@ -174,10 +173,10 @@
83 {
84 Chikorita chikorita = new Chikorita();
-
85 State? chikoritaCurrentState = chikorita.CurrentState;
+
85 State? chikoritaCurrentState = chikorita.CurrentState;
86 Assert.That(chikoritaCurrentState.Equals(null));
87 chikorita.EditState(State.Burned);
-
88 State? chikoritaCurrentState2 = chikorita.CurrentState;
+
88 State? chikoritaCurrentState2 = chikorita.CurrentState;
89 Assert.That(chikoritaCurrentState2.Equals(State.Burned));
90 }
@@ -187,7 +186,7 @@
96 public void TestAsleepTurns()
97 {
98 Chikorita chikorita = new Chikorita();
-
99 int chikoritaCurrentState = chikorita.AsleepTurns;
+
99 int chikoritaCurrentState = chikorita.AsleepTurns;
100 int expectedLenght = 0;
101 Assert.That(chikoritaCurrentState.Equals(expectedLenght));
102 }
@@ -200,12 +199,12 @@
110 {
111 Chikorita chikorita = new Chikorita();
112 Attack attack1 = chikorita.FindAttackByName("Razor leaf");
-
113 string attack1Name = attack1.Name;
-
114 Type attack1Type = attack1.Type;
-
115 double attack1Accuracy = attack1.Accuracy;
-
116 int attack1Power = attack1.Power;
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
117 string attack1ExcpectedName = "Razor leaf";
-
118 Type attack1ExcpectedType = Type.Grass;
+
118 Type attack1ExcpectedType = Type.Grass;
119 double attack1ExcpectedAccuracy = 0.9;
120 int attack1ExcpectedPower = 35;
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -213,12 +212,12 @@
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
125 Attack attack2 = chikorita.FindAttackByName("Giga Drain");
-
126 string attack2Name = attack2.Name;
-
127 Type attack2Type = attack2.Type;
-
128 double attack2Accuracy = attack2.Accuracy;
-
129 int attack2Power = attack2.Power;
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
130 string attack2ExcpectedName = "Giga Drain";
-
131 Type attack2ExcpectedType = Type.Grass;
+
131 Type attack2ExcpectedType = Type.Grass;
132 double attack2ExcpectedAccuracy = 0.95;
133 int attack2ExcpectedPower = 70;
134 if (attack2 is SpecialAttack specialAttack2)
@@ -236,12 +235,12 @@
146 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
147 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
148 Attack attack3 = chikorita.FindAttackByName("Magical leaf");
-
149 string attack3Name = attack3.Name;
-
150 Type attack3Type = attack3.Type;
-
151 double attack3Accuracy = attack3.Accuracy;
-
152 int attack3Power = attack3.Power;
+
149 string attack3Name = attack3.Name;
+
150 Type attack3Type = attack3.Type;
+
151 double attack3Accuracy = attack3.Accuracy;
+
152 int attack3Power = attack3.Power;
153 string attack3ExcpectedName = "Magical leaf";
-
154 Type attack3ExcpectedType = Type.Grass;
+
154 Type attack3ExcpectedType = Type.Grass;
155 double attack3ExcpectedAccuracy = 1;
156 int attack3ExcpectedPower = 45;
157 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
@@ -249,12 +248,12 @@
159 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
160 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
161 Attack attack4 = chikorita.FindAttackByName("Body slam");
-
162 string attack4Name = attack4.Name;
-
163 Type attack4Type = attack4.Type;
-
164 double attack4Accuracy = attack4.Accuracy;
-
165 int attack4Power = attack4.Power;
+
162 string attack4Name = attack4.Name;
+
163 Type attack4Type = attack4.Type;
+
164 double attack4Accuracy = attack4.Accuracy;
+
165 int attack4Power = attack4.Power;
166 string attack4ExcpectedName = "Body slam";
-
167 Type attack4ExcpectedType = Type.Normal;
+
167 Type attack4ExcpectedType = Type.Normal;
168 double attack4ExcpectedAccuracy = 1;
169 int attack4ExcpectedPower = 55;
170 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
@@ -270,18 +269,18 @@
182 {
183 Chikorita chikorita = new Chikorita();
-
184 double actualLife = chikorita.CurrentLife;
+
184 double actualLife = chikorita.CurrentLife;
185 string actualLifeText = chikorita.GetLife();
186 chikorita.GainLife(100);
-
187 Assert.That(actualLife.Equals(chikorita.BaseLife));
+
187 Assert.That(actualLife.Equals(chikorita.BaseLife));
188 Assert.That(actualLifeText.Equals("294/294", StringComparison.Ordinal));
189 chikorita.TakeDamage(120);
-
190 double actualLife2 = chikorita.CurrentLife;
+
190 double actualLife2 = chikorita.CurrentLife;
191 string actualLifeText2 = chikorita.GetLife();
192 Assert.That(actualLife2.Equals(174));
193 Assert.That(actualLifeText2.Equals("174/294", StringComparison.Ordinal));
194 chikorita.GainLife(100);
-
195 double actualLife3 = chikorita.CurrentLife;
+
195 double actualLife3 = chikorita.CurrentLife;
196 string actualLifeText3 = chikorita.GetLife();
197 Assert.That(actualLife3.Equals(274));
198 Assert.That(actualLifeText3.Equals("274/294", StringComparison.Ordinal));
@@ -294,12 +293,12 @@
206 {
207 Chikorita chikorita = new Chikorita();
208 Attack attack = chikorita.FindAttackByName("Magical leaf");
-
209 string attack1Name = attack.Name;
-
210 Type attack1Type = attack.Type;
-
211 double attack1Accuracy = attack.Accuracy;
-
212 int attack1Power = attack.Power;
+
209 string attack1Name = attack.Name;
+
210 Type attack1Type = attack.Type;
+
211 double attack1Accuracy = attack.Accuracy;
+
212 int attack1Power = attack.Power;
213 string attack1ExcpectedName = "Magical leaf";
-
214 Type attack1ExcpectedType = Type.Grass;
+
214 Type attack1ExcpectedType = Type.Grass;
215 double attack1ExcpectedAccuracy = 1;
216 int attack1ExcpectedPower = 45;
217 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -309,8 +308,6 @@
221 }
222}
-
-
Test de la clase Chikorita
void TestAsleepTurns()
Test del atributo asleepTurns.
void TestFindAttackByName()
Test del método FindAttackByName.
void TestAttacks()
Test de los ataques que tiene Chikorita, confirmando que fueron creados correctamente.
@@ -321,37 +318,37 @@
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Chikorita.
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Chikorita.
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
-
string Name
Nombre del ataque.
Definition Attack.cs:10
-
Type Type
Tipo del ataque.
Definition Attack.cs:15
-
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
-
Esta clase representa el Pokemon Chikorita. Al ser un Pokemon hereda de la clase Pokemon.
Definition Chikorita.cs:8
-
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:38
-
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:129
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:138
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:83
-
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:120
-
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:160
-
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:33
-
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:111
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:147
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
- - -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Chikorita. Al ser un Pokemon hereda de la clase Pokemon.
Definition Chikorita.cs:8
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2FacadeTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2FacadeTest_8cs_source.html new file mode 100644 index 0000000..fcd115b --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2FacadeTest_8cs_source.html @@ -0,0 +1,319 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/FacadeTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
FacadeTest.cs
+
+
+
1using System.Security.AccessControl;
+
2using Library;
+
3using NUnit.Framework;
+
4using Type = System.Type;
+
5
+
6namespace LibraryTests;
+
7
+
11[TestFixture]
+
12[TestOf(typeof(Facade))]
+
13public class FacadeTest
+
14{
+
18 [Test]
+
+
19 public void TestUserStory1()
+
20 {
+ + +
23 Facade.StartGame("mateo", "ines");
+
24 string result = "El pokemon Caterpie fue añadido al equipo";
+
25 Assert.That(Facade.ChooseTeam("mateo", "Caterpie"), Is.EqualTo(result));
+
26 }
+
+
27
+
31 [Test]
+
+
32 public void TestUserStory2()
+
33 {
+ + +
36 Facade.StartGame("mateo", "ines");
+
37 Facade.ChooseTeam("mateo", "Caterpie");
+
38 string result = "Bug bite\nTackle\nBug stomp\nString shot\n";
+
39 string mateo = Facade.ShowAtacks("mateo");
+
40 Assert.That(mateo, Is.EqualTo(result));
+
41 }
+
+
45 [Test]
+
+
46 public void TestUserStory3()
+
47 {
+ + +
50 Facade.StartGame("facu", "ines");
+
51 Facade.ChooseTeam("facu", "Charizard");
+
52 Facade.ChooseTeam("ines", "Chikorita");
+
53 string result1 = "Charizard: 360/360\n";
+
54 Assert.That(Facade.ShowPokemonsHp("facu"), Is.EqualTo(result1));
+
55 string result2 = "Chikorita: 294/294\n";
+
56 Assert.That(Facade.ShowPokemonsHp("facu", "ines"), Is.EqualTo(result2));
+
57 }
+
+
58
+
62 [Test]
+
+
63 public void TestUserStory4()
+
64 {
+ + +
67 Facade.StartGame("facu", "ines");
+
68 Facade.ChooseTeam("facu", "Charizard");
+
69 Facade.ChooseTeam("ines", "Chikorita");
+
70 Facade.ChooseAttack("facu", "Flamethrower");
+
71 }
+
+
72
+
73
+
77 [Test]
+
+
78 public void TestUserStory5()
+
79 {
+ + +
82 Facade.StartGame("facu", "ines");
+
83 Assert.That(Facade.CheckTurn("facu"), Is.EqualTo("Es tu turno:\n1- !Attack (ver los ataques con el pokemon activo)\n 2- !Item (ver los items disponibles)\n 3- !Change (ver pokemons disp. a cambiar)"));
+
84 Assert.That(Facade.CheckTurn("ines"), Is.EqualTo("No es tu turno, las opciones disponibles cuando sea tu turno son:\n1- !Attack (ver los ataques con el pokemon activo)\n 2- !Item (ver los items disponibles)\n 3- !Change (ver pokemons disp. a cambiar)"));
+
85 }
+
+
86
+
87
+
91 [Test]
+
+
92 public void TestUserStory6()
+
93 {
+ + +
96 Facade.StartGame("facu", "ines");
+
97 Facade.ChooseTeam("facu", "Charizard");
+
98 Facade.ChooseTeam("ines", "Chikorita");
+
99 string attack = Facade.ChooseAttack("facu", "Flamethrower");
+
100 string excpected = "El equipo está incompleto, por favor elige 6 pokemones para poder comenzar la batalla";
+
101 Assert.That(attack.Equals(excpected, StringComparison.Ordinal));
+
102 Facade.ChooseTeam("facu", "Zeraora");
+
103 Facade.ChooseTeam("facu", "Caterpie");
+
104 Facade.ChooseTeam("facu", "Mewtwo");
+
105 Facade.ChooseTeam("facu", "Chikorita");
+
106 Facade.ChooseTeam("facu", "Haxorus");
+
107 string attack1 = Facade.ChooseAttack("facu", "Flamethrower");
+
108 string excpected1 = $"Chikorita recibió 150 puntos de daño Próximo turno, ahora es el turno de ines";
+
109 Assert.That(attack1.Equals(excpected1, StringComparison.Ordinal));
+
110 string attack2 = Facade.ChooseAttack("facu", "Flamethrower");
+
111 string excpected2 = "No eres el jugador activo";
+
112 Assert.That(attack2.Equals(excpected2, StringComparison.Ordinal));
+
113
+
114 }
+
+
118 [Test]
+
+
119 public void TestUserStory7()
+
120 {
+ + +
123 Facade.StartGame("facu", "ines");
+
124 Facade.ChooseTeam("facu", "Charizard");
+
125 Facade.ChooseTeam("facu", "Gengar");
+
126 Facade.ChooseTeam("ines", "Chikorita");
+
127 string asd = Facade.ChangePokemon("facu", "Gengar");
+
128 string change = "No eres el jugador activo, no puedes realizar acciones";
+
129 Assert.That(asd, Is.EqualTo(change));
+
130 string asd1 = Facade.ChangePokemon("facu", "Gengar");
+
131 string change1 = "No eres el jugador activo, no puedes realizar acciones";
+
132 Assert.That(asd1, Is.EqualTo(change1));
+
133 Facade.ChooseTeam("ines", "Zeraora");
+
134 Facade.ChooseTeam("ines", "Caterpie");
+
135 Facade.ChooseTeam("ines", "Mewtwo");
+
136 Facade.ChooseTeam("ines", "Gengar");
+
137 Facade.ChooseTeam("ines", "Haxorus");
+
138 string change2 = Facade.ChangePokemon("ines","Mewtwo");
+
139 string excpected = "Mewtwo es tu nuevo pokemon activo. Proximo turno ahora es el turno de facu";
+
140 Assert.That(change1, Is.EqualTo(excpected));
+
141 }
+
+
142
+
143
+
147 [Test]
+
+
148 public void TestUserStory8()
+
149 {
+ + +
152 Facade.StartGame("facu", "ines");
+
153 Facade.ChooseTeam("facu", "Charizard");
+
154 string excpected = Facade.UseAnItem("facu", "SuperPotion", "Charizard");
+
155 Assert.That(excpected, Is.EqualTo("Charizard ha ganado 70HP."));
+
156 }
+
+
157
+
158
+
162 [Test]
+
+
163 public void TestUserStory9()
+
164 {
+
165 Assert.That(Facade.AddPlayerToWaitingList("facu"), Is.EqualTo("facu agregado a la lista de espera"));
+
166 Assert.That(Facade.AddPlayerToWaitingList("facu"), Is.EqualTo("facu ya está en la lista de espera"));
+
167 }
+
+
168
+
169
+
173 [Test]
+
+
174 public void TestUserStory10()
+
175 {
+
176 Assert.That(Facade.GetAllPlayersWaiting(), Is.EqualTo("No hay nadie esperando"));
+ + +
179 Assert.That(Facade.GetAllPlayersWaiting(),Is.EqualTo("Esperan: facu; ines; "));
+
180 }
+
+
181
+
182
+
186 [Test]
+
+
187 public void TestUserStory11()
+
188 {
+
189 Assert.That(Facade.StartGame("facu",null), Is.EqualTo("No hay nadie esperando"));
+
190 Assert.That(Facade.StartGame("facu","ines"), Is.EqualTo("ines no está esperando"));
+ + +
193 Assert.That(Facade.StartGame("facu", "ines"), Is.EqualTo("Comienza facu vs ines"));
+
194 }
+
+
195
+
196}
+
void TestUserStory1()
Test de la historia de usuario 1.
Definition FacadeTest.cs:19
+
void TestUserStory3()
Test de la historia de usuario 3.
Definition FacadeTest.cs:46
+
void TestUserStory4()
Test de la historia de usuario 4.
Definition FacadeTest.cs:63
+
void TestUserStory6()
Test de la historia de usuario 6.
Definition FacadeTest.cs:92
+
void TestUserStory10()
Test de la historia de usuario 10.
+
void TestUserStory2()
Test de la historia de usuario 2.
Definition FacadeTest.cs:32
+
void TestUserStory9()
Test de la historia de usuario 9.
+
void TestUserStory7()
Test de la historia de usuario 7.
+
void TestUserStory11()
Test de la historia de usuario 11.
+
void TestUserStory5()
Test de la historia de usuario 5.
Definition FacadeTest.cs:78
+
void TestUserStory8()
Test de la historia de usuario 8.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string ShowPokemonsHp(string playerName, string playerToCheckName=null)
Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador.
Definition Facade.cs:89
+
static string StartGame(string playerName, string opponentName)
Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ...
Definition Facade.cs:383
+
static string ChooseTeam(string playerName, string cPokemon)
Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo.
Definition Facade.cs:26
+
static string GetAllPlayersWaiting()
Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.
Definition Facade.cs:340
+
static string ChooseAttack(string playerName, string attackName)
Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti...
Definition Facade.cs:127
+
static string ShowAtacks(string playerName)
Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador.
Definition Facade.cs:71
+
static string ChangePokemon(string playerName, string pokemonName)
Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ...
Definition Facade.cs:234
+
static string UseAnItem(string playerName, string item, string pokemon)
Historia de usuario 8 Permite a un jugador usar un item en un Pokemon.
Definition Facade.cs:283
+
static string CheckTurn(string playerName)
Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles.
Definition Facade.cs:176
+
static string AddPlayerToWaitingList(string playerName)
Historia de usuario 9: Agrega un jugador a la lista de espera.
Definition Facade.cs:307
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
+
+ + + + diff --git a/docs/html/FullHealthTests_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2FullHealthTests_8cs_source.html similarity index 81% rename from docs/html/FullHealthTests_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2FullHealthTests_8cs_source.html index be05d25..3a66b30 100644 --- a/docs/html/FullHealthTests_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2FullHealthTests_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/FullHealthTests.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/FullHealthTests.cs Source File @@ -35,7 +35,7 @@ - +
@@ -104,8 +104,7 @@
3namespace LibraryTests;
4
8
-
-
9public class FullHealthTest
+
9public class FullHealthTest
10{
11 [SetUp]
12 public void Setup()
@@ -121,29 +120,27 @@
24 Charizard charizard = new Charizard();
25 charizard.CurrentState = State.Asleep;
26 fullHealthItem.Use(charizard);
-
27 Assert.That(charizard.CurrentState.Equals(null));
+
27 Assert.That(charizard.CurrentState.Equals(null));
28 }
29
30
31}
-
-
Test de la clase FullHealth
void FullHealthCorrectUse()
Test de pocion de curacion.
-
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
-
Esta clase representa el item FullHealth. Al ser un item implementa la interfaz IItem.
Definition FullHealth.cs:8
-
string Use(Pokemon pokemon)
Le quita cualquier estado negativo al Pokemon.
Definition FullHealth.cs:19
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
- - -
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
Esta clase representa el item FullHealth. Al ser un item implementa la interfaz IItem.
Definition FullHealth.cs:8
+
string Use(Pokemon pokemon)
Le quita cualquier estado negativo al Pokemon.
Definition FullHealth.cs:19
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+ + +
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/GameTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2GameTest_8cs_source.html similarity index 87% rename from docs/html/GameTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2GameTest_8cs_source.html index e1a2dc8..cfda4e9 100644 --- a/docs/html/GameTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2GameTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/GameTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/GameTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -106,8 +106,7 @@
5
6[TestFixture]
7[TestOf(typeof(Game))]
-
-
8public class GameTest
+
8public class GameTest
9{
10 [SetUp]
11 public void Setup()
@@ -144,26 +143,24 @@
42
43 }
44}
-
- -
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
-
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:7
-
string ExecuteAttack(Attack attack)
Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d...
Definition Game.cs:140
-
string ChangePokemon(Pokemon pokemon)
Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido...
Definition Game.cs:199
-
string Winner()
Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ...
Definition Game.cs:83
-
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
-
Esta clase representa un jugador.
Definition Player.cs:7
-
bool SetActivePokemon(Pokemon pokemon)
Cambia el pokemon activo si está vivo.
Definition Player.cs:66
- - +
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
string ExecuteAttack(Attack attack)
Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d...
Definition Game.cs:140
+
string ChangePokemon(Pokemon pokemon)
Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido...
Definition Game.cs:199
+
string Winner()
Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ...
Definition Game.cs:83
+
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
Esta clase representa un jugador.
Definition Player.cs:8
+
bool SetActivePokemon(Pokemon pokemon)
Cambia el pokemon activo si está vivo.
Definition Player.cs:66
+ +
diff --git a/docs/html/GengarTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2GengarTest_8cs_source.html similarity index 84% rename from docs/html/GengarTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2GengarTest_8cs_source.html index 2e6ddec..174ed55 100644 --- a/docs/html/GengarTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2GengarTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/GengarTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/GengarTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,21 +101,20 @@
1using Library;
2using NUnit.Framework;
-
3using Type = Library.Type;
+
3using Type = Library.Type;
4
5namespace LibraryTests;
6
10[TestFixture]
11[TestOf(typeof(Gengar))]
-
-
12public class GengarTest
+
12public class GengarTest
13{
17 [Test]
18 public void TestName()
19 {
20 Gengar gengar = new Gengar();
-
21 string gengarName = gengar.Name;
+
21 string gengarName = gengar.Name;
22 string expectedName = "Gengar";
23 Assert.That(gengarName.Equals(expectedName, StringComparison.Ordinal));
24 }
@@ -126,8 +125,8 @@
30 public void TestType()
31 {
32 Gengar gengar = new Gengar();
-
33 Type gengarType = gengar.GetTypes()[0];
-
34 Type expectedType = Type.Ghost;
+
33 Type gengarType = gengar.GetTypes()[0];
+
34 Type expectedType = Type.Ghost;
35 Assert.That(gengarType.Equals(expectedType));
36 }
@@ -137,10 +136,10 @@
43 {
44 Gengar gengar = new Gengar();
-
45 double gengarBaseLife = gengar.BaseLife;
+
45 double gengarBaseLife = gengar.BaseLife;
46 double expectedBaseLife = 324;
47 Assert.That(gengarBaseLife.Equals(expectedBaseLife));
-
48 double gengarCurentLife = gengar.CurrentLife;
+
48 double gengarCurentLife = gengar.CurrentLife;
49 double expectedCurrentLife = 324;
50 Assert.That(gengarCurentLife.Equals(expectedCurrentLife));
51 }
@@ -163,7 +162,7 @@
70 {
71 Gengar gengar= new Gengar();
72 List<IAttack> gengarAttacks = gengar.GetAttacks();
-
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
74 gengar.AddAttack(attack);
75 int expectedLenght = 4;
76 Assert.That(gengarAttacks.Count.Equals(expectedLenght));
@@ -175,10 +174,10 @@
84 {
85 Gengar gengar = new Gengar();
-
86 State? gengarCurrentState = gengar.CurrentState;
+
86 State? gengarCurrentState = gengar.CurrentState;
87 Assert.That(gengarCurrentState.Equals(null));
88 gengar.EditState(State.Burned);
-
89 State? gengarCurrentState2 = gengar.CurrentState;
+
89 State? gengarCurrentState2 = gengar.CurrentState;
90 Assert.That(gengarCurrentState2.Equals(State.Burned));
91 }
@@ -188,7 +187,7 @@
97 public void TestAsleepTurns()
98 {
99 Gengar gengar = new Gengar();
-
100 int gengarCurrentState = gengar.AsleepTurns;
+
100 int gengarCurrentState = gengar.AsleepTurns;
101 int expectedLenght = 0;
102 Assert.That(gengarCurrentState.Equals(expectedLenght));
103 }
@@ -200,12 +199,12 @@
110 {
111 Gengar gengar = new Gengar();
112 Attack attack1 = gengar.FindAttackByName("Shadow Ball");
-
113 string attack1Name = attack1.Name;
-
114 Type attack1Type = attack1.Type;
-
115 double attack1Accuracy = attack1.Accuracy;
-
116 int attack1Power = attack1.Power;
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
117 string attack1ExcpectedName = "Shadow Ball";
-
118 Type attack1ExcpectedType = Type.Ghost;
+
118 Type attack1ExcpectedType = Type.Ghost;
119 double attack1ExcpectedAccuracy = 1;
120 int attack1ExcpectedPower = 60;
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -213,12 +212,12 @@
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
125 Attack attack2 = gengar.FindAttackByName("Sludge Bomb");
-
126 string attack2Name = attack2.Name;
-
127 Type attack2Type = attack2.Type;
-
128 double attack2Accuracy = attack2.Accuracy;
-
129 int attack2Power = attack2.Power;
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
130 string attack2ExcpectedName = "Sludge Bomb";
-
131 Type attack2ExcpectedType = Type.Poison;
+
131 Type attack2ExcpectedType = Type.Poison;
132 double attack2ExcpectedAccuracy = 0.95;
133 int attack2ExcpectedPower = 70;
134
@@ -237,12 +236,12 @@
147
148 }
149 Attack attack3 = gengar.FindAttackByName("Shadow Punch");
-
150 string attack3Name = attack3.Name;
-
151 Type attack3Type = attack3.Type;
-
152 double attack3Accuracy = attack3.Accuracy;
-
153 int attack3Power = attack3.Power;
+
150 string attack3Name = attack3.Name;
+
151 Type attack3Type = attack3.Type;
+
152 double attack3Accuracy = attack3.Accuracy;
+
153 int attack3Power = attack3.Power;
154 string attack3ExcpectedName = "Shadow Punch";
-
155 Type attack3ExcpectedType = Type.Ghost;
+
155 Type attack3ExcpectedType = Type.Ghost;
156 double attack3ExcpectedAccuracy = 0.75;
157 int attack3ExcpectedPower = 100;
158 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
@@ -251,12 +250,12 @@
161 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
162
163 Attack attack4 = gengar.FindAttackByName("Focus Punch");
-
164 string attack4Name = attack4.Name;
-
165 Type attack4Type = attack4.Type;
-
166 double attack4Accuracy = attack4.Accuracy;
-
167 int attack4Power = attack4.Power;
+
164 string attack4Name = attack4.Name;
+
165 Type attack4Type = attack4.Type;
+
166 double attack4Accuracy = attack4.Accuracy;
+
167 int attack4Power = attack4.Power;
168 string attack4ExcpectedName = "Focus Punch";
-
169 Type attack4ExcpectedType = Type.Normal;
+
169 Type attack4ExcpectedType = Type.Normal;
170 double attack4ExcpectedAccuracy = 0.45;
171 int attack4ExcpectedPower = 155;
172 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
@@ -271,18 +270,18 @@
183 {
184 Gengar gengar= new Gengar();
-
185 double actualLife = gengar.CurrentLife;
+
185 double actualLife = gengar.CurrentLife;
186 string actualLifeText = gengar.GetLife();
187 gengar.GainLife(100);
-
188 Assert.That(actualLife.Equals(gengar.BaseLife));
+
188 Assert.That(actualLife.Equals(gengar.BaseLife));
189 Assert.That(actualLifeText.Equals("324/324", StringComparison.Ordinal));
190 gengar.TakeDamage(120);
-
191 double actualLife2 = gengar.CurrentLife;
+
191 double actualLife2 = gengar.CurrentLife;
192 string actualLifeText2 = gengar.GetLife();
193 Assert.That(actualLife2.Equals(204));
194 Assert.That(actualLifeText2.Equals("204/324", StringComparison.Ordinal));
195 gengar.GainLife(100);
-
196 double actualLife3 = gengar.CurrentLife;
+
196 double actualLife3 = gengar.CurrentLife;
197 string actualLifeText3 = gengar.GetLife();
198 Assert.That(actualLife3.Equals(304));
199 Assert.That(actualLifeText3.Equals("304/324", StringComparison.Ordinal));
@@ -295,12 +294,12 @@
207 {
208 Gengar gengar = new Gengar();
209 Attack attack = gengar.FindAttackByName("Shadow Ball");
-
210 string attack1Name = attack.Name;
-
211 Type attack1Type = attack.Type;
-
212 double attack1Accuracy = attack.Accuracy;
-
213 int attack1Power = attack.Power;
+
210 string attack1Name = attack.Name;
+
211 Type attack1Type = attack.Type;
+
212 double attack1Accuracy = attack.Accuracy;
+
213 int attack1Power = attack.Power;
214 string attack1ExcpectedName = "Shadow Ball";
-
215 Type attack1ExcpectedType = Type.Ghost;
+
215 Type attack1ExcpectedType = Type.Ghost;
216 double attack1ExcpectedAccuracy = 1;
217 int attack1ExcpectedPower = 60;
218 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -310,8 +309,6 @@
222 }
223}
-
-
Test de la clase Gengar
Definition GengarTest.cs:13
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Gengar.
Definition GengarTest.cs:69
void TestAttacks()
Test de los ataques que tiene Gengar, confirmando que fueron creados correctamente.
void TestFindAttackByName()
Test del método FindAttackByName.
@@ -322,37 +319,37 @@
void TestType()
Test del atributo type.
Definition GengarTest.cs:30
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Gengar.
Definition GengarTest.cs:57
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
Definition GengarTest.cs:42
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
-
string Name
Nombre del ataque.
Definition Attack.cs:10
-
Type Type
Tipo del ataque.
Definition Attack.cs:15
-
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
-
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
-
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:38
-
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:129
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:138
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:83
-
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:120
-
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:160
-
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:33
-
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:111
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:147
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
- - -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/HaxorusTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2HaxorusTest_8cs_source.html similarity index 84% rename from docs/html/HaxorusTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2HaxorusTest_8cs_source.html index 7949be9..c5776a1 100644 --- a/docs/html/HaxorusTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2HaxorusTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/HaxorusTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/HaxorusTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,21 +101,20 @@
1using Library;
2using NUnit.Framework;
-
3using Type = Library.Type;
+
3using Type = Library.Type;
4
5namespace LibraryTests;
6
10[TestFixture]
11[TestOf(typeof(Haxorus))]
-
-
12public class HaxorusTest
+
12public class HaxorusTest
13{
17 [Test]
18 public void TestName()
19 {
20 Haxorus haxorus = new Haxorus();
-
21 string haxorusName = haxorus.Name;
+
21 string haxorusName = haxorus.Name;
22 string expectedName = "Haxorus";
23 Assert.That(haxorusName.Equals(expectedName, StringComparison.Ordinal));
24 }
@@ -126,8 +125,8 @@
30 public void TestType()
31 {
32 Haxorus haxorus = new Haxorus();
-
33 Type haxorusType = haxorus.GetTypes()[0];
-
34 Type expectedType = Type.Dragon;
+
33 Type haxorusType = haxorus.GetTypes()[0];
+
34 Type expectedType = Type.Dragon;
35 Assert.That(haxorusType.Equals(expectedType));
36 }
@@ -137,10 +136,10 @@
43 {
44 Haxorus haxorus = new Haxorus();
-
45 double haxorusBaseLife = haxorus.BaseLife;
+
45 double haxorusBaseLife = haxorus.BaseLife;
46 double expectedBaseLife = 356;
47 Assert.That(haxorusBaseLife.Equals(expectedBaseLife));
-
48 double haxorusCurentLife = haxorus.CurrentLife;
+
48 double haxorusCurentLife = haxorus.CurrentLife;
49 double expectedCurrentLife = 356;
50 Assert.That(haxorusCurentLife.Equals(expectedCurrentLife));
51 }
@@ -163,7 +162,7 @@
70 {
71 Haxorus haxorus = new Haxorus();
72 List<IAttack> haxorusAttacks = haxorus.GetAttacks();
-
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
74 haxorus.AddAttack(attack);
75 int expectedLenght = 4;
76 Assert.That(haxorusAttacks.Count.Equals(expectedLenght));
@@ -175,10 +174,10 @@
84 {
85 Haxorus haxorus = new Haxorus();
-
86 State? haxorusCurrentState = haxorus.CurrentState;
+
86 State? haxorusCurrentState = haxorus.CurrentState;
87 Assert.That(haxorusCurrentState.Equals(null));
88 haxorus.EditState(State.Burned);
-
89 State? haxorusCurrentState2 = haxorus.CurrentState;
+
89 State? haxorusCurrentState2 = haxorus.CurrentState;
90 Assert.That(haxorusCurrentState2.Equals(State.Burned));
91 }
@@ -188,7 +187,7 @@
97 public void TestAsleepTurns()
98 {
99 Haxorus haxorus = new Haxorus();
-
100 int haxorusCurrentState = haxorus.AsleepTurns;
+
100 int haxorusCurrentState = haxorus.AsleepTurns;
101 int expectedLenght = 0;
102 Assert.That(haxorusCurrentState.Equals(expectedLenght));
103 }
@@ -200,12 +199,12 @@
110 {
111 Haxorus haxorus = new Haxorus();
112 Attack attack1 = haxorus.FindAttackByName("Outrage");
-
113 string attack1Name = attack1.Name;
-
114 Type attack1Type = attack1.Type;
-
115 double attack1Accuracy = attack1.Accuracy;
-
116 int attack1Power = attack1.Power;
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
117 string attack1ExcpectedName = "Outrage";
-
118 Type attack1ExcpectedType = Type.Dragon;
+
118 Type attack1ExcpectedType = Type.Dragon;
119 double attack1ExcpectedAccuracy = 0.75;
120 int attack1ExcpectedPower = 120;
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -213,12 +212,12 @@
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
125 Attack attack2 = haxorus.FindAttackByName("Assurance");
-
126 string attack2Name = attack2.Name;
-
127 Type attack2Type = attack2.Type;
-
128 double attack2Accuracy = attack2.Accuracy;
-
129 int attack2Power = attack2.Power;
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
130 string attack2ExcpectedName = "Assurance";
-
131 Type attack2ExcpectedType = Type.Normal;
+
131 Type attack2ExcpectedType = Type.Normal;
132 double attack2ExcpectedAccuracy = 0.95;
133 int attack2ExcpectedPower = 80;
134 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
@@ -226,12 +225,12 @@
136 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
137 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
138 Attack attack3 = haxorus.FindAttackByName("Close Combat");
-
139 string attack3Name = attack3.Name;
-
140 Type attack3Type = attack3.Type;
-
141 double attack3Accuracy = attack3.Accuracy;
-
142 int attack3Power = attack3.Power;
+
139 string attack3Name = attack3.Name;
+
140 Type attack3Type = attack3.Type;
+
141 double attack3Accuracy = attack3.Accuracy;
+
142 int attack3Power = attack3.Power;
143 string attack3ExcpectedName = "Close Combat";
-
144 Type attack3ExcpectedType = Type.Fighting;
+
144 Type attack3ExcpectedType = Type.Fighting;
145 double attack3ExcpectedAccuracy = 0.75;
146 int attack3ExcpectedPower = 120;
147 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
@@ -240,12 +239,12 @@
150 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
151
152 Attack attack4 = haxorus.FindAttackByName("Dragon claw");
-
153 string attack4Name = attack4.Name;
-
154 Type attack4Type = attack4.Type;
-
155 double attack4Accuracy = attack4.Accuracy;
-
156 int attack4Power = attack4.Power;
+
153 string attack4Name = attack4.Name;
+
154 Type attack4Type = attack4.Type;
+
155 double attack4Accuracy = attack4.Accuracy;
+
156 int attack4Power = attack4.Power;
157 string attack4ExcpectedName = "Dragon claw";
-
158 Type attack4ExcpectedType = Type.Dragon;
+
158 Type attack4ExcpectedType = Type.Dragon;
159 double attack4ExcpectedAccuracy = 1;
160 int attack4ExcpectedPower = 55;
161 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
@@ -260,18 +259,18 @@
172 {
173 Haxorus haxorus = new Haxorus();
-
174 double actualLife = haxorus.CurrentLife;
+
174 double actualLife = haxorus.CurrentLife;
175 string actualLifeText = haxorus.GetLife();
176 haxorus.GainLife(100);
-
177 Assert.That(actualLife.Equals(haxorus .BaseLife));
+
177 Assert.That(actualLife.Equals(haxorus .BaseLife));
178 Assert.That(actualLifeText.Equals("356/356", StringComparison.Ordinal));
179 haxorus.TakeDamage(120);
-
180 double actualLife2 = haxorus.CurrentLife;
+
180 double actualLife2 = haxorus.CurrentLife;
181 string actualLifeText2 = haxorus.GetLife();
182 Assert.That(actualLife2.Equals(236));
183 Assert.That(actualLifeText2.Equals("236/356", StringComparison.Ordinal));
184 haxorus.GainLife(100);
-
185 double actualLife3 = haxorus.CurrentLife;
+
185 double actualLife3 = haxorus.CurrentLife;
186 string actualLifeText3 = haxorus.GetLife();
187 Assert.That(actualLife3.Equals(336));
188 Assert.That(actualLifeText3.Equals("336/356", StringComparison.Ordinal));
@@ -284,12 +283,12 @@
196 {
197 Haxorus haxorus = new Haxorus();
198 Attack attack = haxorus.FindAttackByName("Outrage");
-
199 string attack1Name = attack.Name;
-
200 Type attack1Type = attack.Type;
-
201 double attack1Accuracy = attack.Accuracy;
-
202 int attack1Power = attack.Power;
+
199 string attack1Name = attack.Name;
+
200 Type attack1Type = attack.Type;
+
201 double attack1Accuracy = attack.Accuracy;
+
202 int attack1Power = attack.Power;
203 string attack1ExcpectedName = "Outrage";
-
204 Type attack1ExcpectedType = Type.Dragon;
+
204 Type attack1ExcpectedType = Type.Dragon;
205 double attack1ExcpectedAccuracy = 0.75;
206 int attack1ExcpectedPower = 120;
207 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -299,8 +298,6 @@
211 }
212}
-
-
Test de la clase Haxorus
void TestAsleepTurns()
Test del atributo asleepTurns.
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
@@ -311,36 +308,36 @@
void TestFindAttackByName()
Test del método FindAttackByName.
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Haxorus.
void TestType()
Test del atributo type.
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
-
string Name
Nombre del ataque.
Definition Attack.cs:10
-
Type Type
Tipo del ataque.
Definition Attack.cs:15
-
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
-
Esta clase representa el Pokemon Haxorus. Al ser un Pokemon hereda de la clase Pokemon.
Definition Haxorus.cs:8
-
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:38
-
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:129
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:138
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:83
-
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:120
-
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:160
-
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:33
-
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:111
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:147
- - -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Haxorus. Al ser un Pokemon hereda de la clase Pokemon.
Definition Haxorus.cs:8
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/MewtwoTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2MewtwoTest_8cs_source.html similarity index 84% rename from docs/html/MewtwoTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2MewtwoTest_8cs_source.html index 852adaa..9f9f9c9 100644 --- a/docs/html/MewtwoTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2MewtwoTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/MewtwoTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/MewtwoTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,21 +101,20 @@
1using Library;
2using NUnit.Framework;
-
3using Type = Library.Type;
+
3using Type = Library.Type;
4
5namespace LibraryTests;
6
10[TestFixture]
11[TestOf(typeof(Mewtwo))]
-
-
12public class MewtwoTest
+
12public class MewtwoTest
13{
17 [Test]
18 public void TestName()
19 {
20 Mewtwo mewtwo = new Mewtwo();
-
21 string mewtwoName = mewtwo.Name;
+
21 string mewtwoName = mewtwo.Name;
22 string expectedName = "Mewtwo";
23 Assert.That(mewtwoName.Equals(expectedName, StringComparison.Ordinal));
24 }
@@ -126,8 +125,8 @@
30 public void TestType()
31 {
32 Mewtwo mewtwo = new Mewtwo();
-
33 Type mewtwoType = mewtwo.GetTypes()[0];
-
34 Type expectedType = Type.Psychic;
+
33 Type mewtwoType = mewtwo.GetTypes()[0];
+
34 Type expectedType = Type.Psychic;
35 Assert.That(mewtwoType.Equals(expectedType));
36 }
@@ -137,10 +136,10 @@
43 {
44 Mewtwo mewtwo = new Mewtwo();
-
45 double mewtwoBaseLife = mewtwo.BaseLife;
+
45 double mewtwoBaseLife = mewtwo.BaseLife;
46 double expectedBaseLife = 416;
47 Assert.That(mewtwoBaseLife.Equals(expectedBaseLife));
-
48 double mewtwoCurentLife = mewtwo.CurrentLife;
+
48 double mewtwoCurentLife = mewtwo.CurrentLife;
49 double expectedCurrentLife = 416;
50 Assert.That(mewtwoCurentLife.Equals(expectedCurrentLife));
51 }
@@ -163,7 +162,7 @@
70 {
71 Mewtwo mewtwo = new Mewtwo();
72 List<IAttack> mewtwoAttacks = mewtwo.GetAttacks();
-
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
74 mewtwo.AddAttack(attack);
75 int expectedLenght = 4;
76 Assert.That(mewtwoAttacks.Count.Equals(expectedLenght));
@@ -175,10 +174,10 @@
84 {
85 Mewtwo mewtwo = new Mewtwo();
-
86 State? mewtwoCurrentState = mewtwo.CurrentState;
+
86 State? mewtwoCurrentState = mewtwo.CurrentState;
87 Assert.That(mewtwoCurrentState.Equals(null));
88 mewtwo.EditState(State.Burned);
-
89 State? mewtwoCurrentState2 = mewtwo.CurrentState;
+
89 State? mewtwoCurrentState2 = mewtwo.CurrentState;
90 Assert.That(mewtwoCurrentState2.Equals(State.Burned));
91 }
@@ -188,7 +187,7 @@
97 public void TestAsleepTurns()
98 {
99 Mewtwo mewtwo = new Mewtwo();
-
100 int mewtwoCurrentState = mewtwo.AsleepTurns;
+
100 int mewtwoCurrentState = mewtwo.AsleepTurns;
101 int expectedLenght = 0;
102 Assert.That(mewtwoCurrentState.Equals(expectedLenght));
103 }
@@ -200,12 +199,12 @@
110 {
111 Mewtwo mewtwo = new Mewtwo();
112 Attack attack1 = mewtwo.FindAttackByName("Shadow Ball");
-
113 string attack1Name = attack1.Name;
-
114 Type attack1Type = attack1.Type;
-
115 double attack1Accuracy = attack1.Accuracy;
-
116 int attack1Power = attack1.Power;
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
117 string attack1ExcpectedName = "Shadow Ball";
-
118 Type attack1ExcpectedType = Type.Ghost;
+
118 Type attack1ExcpectedType = Type.Ghost;
119 double attack1ExcpectedAccuracy = 1;
120 int attack1ExcpectedPower = 60;
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -213,12 +212,12 @@
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
125 Attack attack2 = mewtwo.FindAttackByName("Psystrike");
-
126 string attack2Name = attack2.Name;
-
127 Type attack2Type = attack2.Type;
-
128 double attack2Accuracy = attack2.Accuracy;
-
129 int attack2Power = attack2.Power;
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
130 string attack2ExcpectedName = "Psystrike";
-
131 Type attack2ExcpectedType = Type.Psychic;
+
131 Type attack2ExcpectedType = Type.Psychic;
132 double attack2ExcpectedAccuracy = 1;
133 int attack2ExcpectedPower = 100;
134
@@ -227,12 +226,12 @@
137 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
138 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
139 Attack attack3 = mewtwo.FindAttackByName("Mental Shock");
-
140 string attack3Name = attack3.Name;
-
141 Type attack3Type = attack3.Type;
-
142 double attack3Accuracy = attack3.Accuracy;
-
143 int attack3Power = attack3.Power;
+
140 string attack3Name = attack3.Name;
+
141 Type attack3Type = attack3.Type;
+
142 double attack3Accuracy = attack3.Accuracy;
+
143 int attack3Power = attack3.Power;
144 string attack3ExcpectedName = "Mental Shock";
-
145 Type attack3ExcpectedType = Type.Psychic;
+
145 Type attack3ExcpectedType = Type.Psychic;
146 double attack3ExcpectedAccuracy = 0.75;
147 int attack3ExcpectedPower = 100;
148 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
@@ -241,12 +240,12 @@
151 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
152
153 Attack attack4 = mewtwo.FindAttackByName("Drain Punch");
-
154 string attack4Name = attack4.Name;
-
155 Type attack4Type = attack4.Type;
-
156 double attack4Accuracy = attack4.Accuracy;
-
157 int attack4Power = attack4.Power;
+
154 string attack4Name = attack4.Name;
+
155 Type attack4Type = attack4.Type;
+
156 double attack4Accuracy = attack4.Accuracy;
+
157 int attack4Power = attack4.Power;
158 string attack4ExcpectedName = "Drain Punch";
-
159 Type attack4ExcpectedType = Type.Fighting;
+
159 Type attack4ExcpectedType = Type.Fighting;
160 double attack4ExcpectedAccuracy = 0.95;
161 int attack4ExcpectedPower = 80;
162 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
@@ -261,18 +260,18 @@
173 {
174 Mewtwo mewtwo = new Mewtwo();
-
175 double actualLife = mewtwo.CurrentLife;
+
175 double actualLife = mewtwo.CurrentLife;
176 string actualLifeText = mewtwo.GetLife();
177 mewtwo.GainLife(100);
-
178 Assert.That(actualLife.Equals(mewtwo .BaseLife));
+
178 Assert.That(actualLife.Equals(mewtwo .BaseLife));
179 Assert.That(actualLifeText.Equals("416/416", StringComparison.Ordinal));
180 mewtwo.TakeDamage(120);
-
181 double actualLife2 = mewtwo.CurrentLife;
+
181 double actualLife2 = mewtwo.CurrentLife;
182 string actualLifeText2 = mewtwo.GetLife();
183 Assert.That(actualLife2.Equals(296));
184 Assert.That(actualLifeText2.Equals("296/416", StringComparison.Ordinal));
185 mewtwo.GainLife(100);
-
186 double actualLife3 = mewtwo.CurrentLife;
+
186 double actualLife3 = mewtwo.CurrentLife;
187 string actualLifeText3 = mewtwo.GetLife();
188 Assert.That(actualLife3.Equals(396));
189 Assert.That(actualLifeText3.Equals("396/416", StringComparison.Ordinal));
@@ -285,12 +284,12 @@
197 {
198 Mewtwo mewtwo = new Mewtwo();
199 Attack attack = mewtwo.FindAttackByName("Shadow Ball");
-
200 string attack1Name = attack.Name;
-
201 Type attack1Type = attack.Type;
-
202 double attack1Accuracy = attack.Accuracy;
-
203 int attack1Power = attack.Power;
+
200 string attack1Name = attack.Name;
+
201 Type attack1Type = attack.Type;
+
202 double attack1Accuracy = attack.Accuracy;
+
203 int attack1Power = attack.Power;
204 string attack1ExcpectedName = "Shadow Ball";
-
205 Type attack1ExcpectedType = Type.Ghost;
+
205 Type attack1ExcpectedType = Type.Ghost;
206 double attack1ExcpectedAccuracy = 1;
207 int attack1ExcpectedPower = 60;
208 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -300,8 +299,6 @@
212 }
213}
-
-
Test de la clase Mewtwo
Definition MewtwoTest.cs:13
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
Definition MewtwoTest.cs:83
void TestFindAttackByName()
Test del método FindAttackByName.
@@ -312,36 +309,36 @@
void TestAsleepTurns()
Test del atributo asleepTurns.
Definition MewtwoTest.cs:97
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Mewtwo.
Definition MewtwoTest.cs:57
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Mewtwo.
Definition MewtwoTest.cs:69
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
-
string Name
Nombre del ataque.
Definition Attack.cs:10
-
Type Type
Tipo del ataque.
Definition Attack.cs:15
-
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
-
Esta clase representa el Pokemon Mewtwo. Al ser un Pokemon hereda de la clase Pokemon.
Definition Mewtwo.cs:8
-
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:38
-
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:129
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:138
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:83
-
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:120
-
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:160
-
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:33
-
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:111
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:147
- - -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Mewtwo. Al ser un Pokemon hereda de la clase Pokemon.
Definition Mewtwo.cs:8
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2PlayerTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2PlayerTest_8cs_source.html new file mode 100644 index 0000000..12b5f4c --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2PlayerTest_8cs_source.html @@ -0,0 +1,155 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/PlayerTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
PlayerTest.cs
+
+
+
1/*
+
2using Library;
+
3using NUnit.Framework;
+
4
+
5namespace Library.Tests;
+
6
+
7[TestFixture]
+
8[TestOf(typeof(Player))]
+
9public class PlayerTest
+
10{
+
11 private Player player;
+
12 private Charizard charizard1;
+
13 private Charizard charizard2;
+
14
+
15 [SetUp]
+
16 public void SetUp()
+
17 {
+
18
+
19 player = new Player("jugador1");
+
20 charizard1 = new Charizard();
+
21 charizard2 = new Charizard();
+
22
+
23 }
+
24
+
25
+
26 [Test]
+
27 public void TestAddToTeam()
+
28 {
+
29 player.AddToTeam(charizard1);
+
30 Assert.That(player.GetPokemonTeam().Contains(charizard1));
+
31 player.AddToTeam(charizard2);
+
32 Assert.That(player.GetPokemonTeam().Count, Is.EqualTo(2));
+
33 }
+
34
+
35
+
36 [Test]
+
37 public void TestChangeActivePokemon()
+
38 {
+
39 Assert.That(player.ActivePokemon,Is.EqualTo(charizard1));
+
40 }
+
41
+
42}
+
43*/
+
+
+ + + + diff --git a/docs/html/ReviveTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2ReviveTest_8cs_source.html similarity index 81% rename from docs/html/ReviveTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2ReviveTest_8cs_source.html index 7f94dab..e5564f3 100644 --- a/docs/html/ReviveTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2ReviveTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/ReviveTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/ReviveTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -104,8 +104,7 @@
3namespace LibraryTests;
4
8
-
-
9public class ReviveTest
+
9public class ReviveTest
10{
11 [SetUp]
12 public void Setup()
@@ -120,29 +119,27 @@
23 Charizard charizard = new Charizard();
24 charizard.TakeDamage(1000000);
25 ReviveItem.Use(charizard);
-
26 Assert.That(charizard.CurrentLife.Equals(180));
+
26 Assert.That(charizard.CurrentLife.Equals(180));
27 }
28
29
30}
-
-
Test de la clase Revive
Definition ReviveTest.cs:10
void ReviveCorrectUse()
Test de pocion de revivir.
Definition ReviveTest.cs:20
-
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
Esta clase representa el item Revive. Al ser un item implementa la interfaz IItem.
Definition Revive.cs:8
-
string Use(Pokemon pokemon)
Revive al Pokemon asignando a su vida actual la mitad de la vida base, si está vivo no se revive.
Definition Revive.cs:20
- - +
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
Esta clase representa el item Revive. Al ser un item implementa la interfaz IItem.
Definition Revive.cs:8
+
string Use(Pokemon pokemon)
Revive al Pokemon asignando a su vida actual la mitad de la vida base, si está vivo no se revive.
Definition Revive.cs:20
+ + diff --git a/docs/html/SpecialAttackTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2SpecialAttackTest_8cs_source.html similarity index 71% rename from docs/html/SpecialAttackTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2SpecialAttackTest_8cs_source.html index 3618275..fd2c391 100644 --- a/docs/html/SpecialAttackTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2SpecialAttackTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/SpecialAttackTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/SpecialAttackTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -107,8 +107,7 @@
9
10[TestFixture]
11[TestOf(typeof(Game))]
-
- +
12public class SpecialAttackTest
13{
14 [SetUp]
15 public void Setup()
@@ -122,30 +121,30 @@
25 Charizard charizard = new Charizard();
26 SpecialAttack lanzallamas = new SpecialAttack("lanzallamas", Library.Type.Fire, 1, 40, Library.State.Burned);
27 Gengar gengar = new Gengar();
-
28 DamageCalculator.CalculateDamage(gengar,lanzallamas);
-
29 Assert.That(lanzallamas.SpecialEffect.Equals(gengar.CurrentState));
+
28 DamageCalculator.CalculateDamage(gengar,lanzallamas);
+
29 Assert.That(lanzallamas.SpecialEffect.Equals(gengar.CurrentState));
30
31 }
32}
-
-
Test de la clase SpecialAttack
void TestSpecialAttack()
Test de ataque especial.
-
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
-
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:7
-
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
-
State SpecialEffect
Efecto del ataque.
- - +
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
Es una clase a la cual le delegamos la función de calcular el daño para aplicar SRP así game tiene un...
+
static double CalculateDamage(Pokemon attackedPokemon, Attack attack)
Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,...
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
State SpecialEffect
Efecto del ataque.
+ + diff --git a/docs/html/SuperPotionTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2SuperPotionTest_8cs_source.html similarity index 81% rename from docs/html/SuperPotionTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2SuperPotionTest_8cs_source.html index f600b93..72d288d 100644 --- a/docs/html/SuperPotionTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2SuperPotionTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/SuperPotionTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/SuperPotionTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -104,8 +104,7 @@
3namespace LibraryTests;
4
8
-
-
9public class SuperPotionTest
+
9public class SuperPotionTest
10{
11 [SetUp]
12 public void Setup()
@@ -120,29 +119,27 @@
23 Charizard charizard = new Charizard();
24 charizard.TakeDamage(60);
25 SuperPotionItem.Use(charizard);
-
26 Assert.That(charizard.CurrentLife.Equals(350));
+
26 Assert.That(charizard.CurrentLife.Equals(350));
27 }
28
29
30}
-
-
Test de la clase SuperPotion
void SuperPotionCorrectUse()
Test de pocion de curacion.
-
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
Esta clase representa el item SuperPotion. Al ser un item implementa la interfaz IItem.
Definition SuperPotion.cs:8
-
string Use(Pokemon pokemon)
Suma 70 HP a la vida actual del Pokemon.
- - +
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
Esta clase representa el item SuperPotion. Al ser un item implementa la interfaz IItem.
Definition SuperPotion.cs:8
+
string Use(Pokemon pokemon)
Suma 70 HP a la vida actual del Pokemon.
+ + diff --git a/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2TrainTests_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2TrainTests_8cs_source.html new file mode 100644 index 0000000..45f9b3a --- /dev/null +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2TrainTests_8cs_source.html @@ -0,0 +1,165 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/TrainTests.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
TrainTests.cs
+
+
+
1//-----------------------------------------------------------------------------
+
2// <copyright file="TrainTests.cs" company="Universidad Católica del Uruguay">
+
3// Copyright (c) Programación II. Derechos reservados.
+
4// </copyright>
+
5//------------------------------------------------------------------------------
+
6
+
7using ClassLibrary;
+
8using NUnit.Framework;
+
9
+
+
10namespace Tests
+
11{
+
15 [TestFixture]
+
16 public class TrainTests
+
17 {
+
21 private Train train;
+
22
+
26 [SetUp]
+
+
27 public void Setup()
+
28 {
+
29 this.train = new Train();
+
30 }
+
+
31
+
35 [Test]
+
+
36 public void StartTrainTest()
+
37 {
+
38 Assert.That(this.train, Is.Not.Null);
+
39 this.train.StartEngines();
+
40 Assert.That(this.train.IsEngineStarted, Is.True);
+
41 }
+
+
42
+
46 [Test]
+
+
47 public void StopTrainTest()
+
48 {
+
49 Assert.That(this.train, Is.Not.Null);
+
50 this.train.StartEngines();
+
51 this.train.StopEngines();
+
52 Assert.That(this.train.IsEngineStarted, Is.False);
+
53 }
+
+
54 }
+
55}
+
+
Prueba de la clase Train.
Definition TrainTests.cs:17
+
void StartTrainTest()
Prueba que el tren arranque.
Definition TrainTests.cs:36
+
void StopTrainTest()
Prueba que el tren se detenga.
Definition TrainTests.cs:47
+
void Setup()
Crea un tren para probar.
Definition TrainTests.cs:27
+ +
+
+ + + + diff --git a/docs/html/ZeraoraTest_8cs_source.html b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2ZeraoraTest_8cs_source.html similarity index 84% rename from docs/html/ZeraoraTest_8cs_source.html rename to docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2ZeraoraTest_8cs_source.html index 49fe55f..14fc392 100644 --- a/docs/html/ZeraoraTest_8cs_source.html +++ b/docs/html/pii__2024__2__equipo10_2test_2LibraryTests_2ZeraoraTest_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/ZeraoraTest.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/pii_2024_2_equipo10/test/LibraryTests/ZeraoraTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -101,21 +101,20 @@
1using Library;
2using NUnit.Framework;
-
3using Type = Library.Type;
+
3using Type = Library.Type;
4
5namespace LibraryTests;
6
10[TestFixture]
11[TestOf(typeof(Zeraora))]
-
-
12public class ZeraoraTest
+
12public class ZeraoraTest
13{
17 [Test]
18 public void TestName()
19 {
20 Zeraora zeraora = new Zeraora();
-
21 string zeraoraName = zeraora.Name;
+
21 string zeraoraName = zeraora.Name;
22 string expectedName = "Zeraora";
23 Assert.That(zeraoraName.Equals(expectedName, StringComparison.Ordinal));
24 }
@@ -126,8 +125,8 @@
30 public void TestType()
31 {
32 Zeraora zeraora = new Zeraora();
-
33 Type zeraoraType = zeraora.GetTypes()[0];
-
34 Type expectedType = Type.Electric;
+
33 Type zeraoraType = zeraora.GetTypes()[0];
+
34 Type expectedType = Type.Electric;
35 Assert.That(zeraoraType.Equals(expectedType));
36 }
@@ -137,10 +136,10 @@
43 {
44 Zeraora zeraora = new Zeraora();
-
45 double zeraoraBaseLife = zeraora.BaseLife;
+
45 double zeraoraBaseLife = zeraora.BaseLife;
46 double expectedBaseLife = 380;
47 Assert.That(zeraoraBaseLife.Equals(expectedBaseLife));
-
48 double zeraoraCurentLife = zeraora.CurrentLife;
+
48 double zeraoraCurentLife = zeraora.CurrentLife;
49 double expectedCurrentLife = 380;
50 Assert.That(zeraoraCurentLife.Equals(expectedCurrentLife));
51 }
@@ -163,7 +162,7 @@
70 {
71 Zeraora zeraora = new Zeraora();
72 List<IAttack> zeraoraAttacks = zeraora.GetAttacks();
-
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
74 zeraora.AddAttack(attack);
75 int expectedLenght = 4;
76 Assert.That(zeraoraAttacks.Count.Equals(expectedLenght));
@@ -175,10 +174,10 @@
84 {
85 Zeraora zeraora = new Zeraora();
-
86 State? zeraoraCurrentState = zeraora.CurrentState;
+
86 State? zeraoraCurrentState = zeraora.CurrentState;
87 Assert.That(zeraoraCurrentState.Equals(null));
88 zeraora.EditState(State.Burned);
-
89 State? zeraoraCurrentState2 = zeraora.CurrentState;
+
89 State? zeraoraCurrentState2 = zeraora.CurrentState;
90 Assert.That(zeraoraCurrentState2.Equals(State.Burned));
91 }
@@ -188,7 +187,7 @@
97 public void TestAsleepTurns()
98 {
99 Zeraora zeraora = new Zeraora();
-
100 int zeraoraCurrentState = zeraora.AsleepTurns;
+
100 int zeraoraCurrentState = zeraora.AsleepTurns;
101 int expectedLenght = 0;
102 Assert.That(zeraoraCurrentState.Equals(expectedLenght));
103 }
@@ -200,12 +199,12 @@
110 {
111 Zeraora zeraora = new Zeraora();
112 Attack attack1 = zeraora.FindAttackByName("Plasma Fist");
-
113 string attack1Name = attack1.Name;
-
114 Type attack1Type = attack1.Type;
-
115 double attack1Accuracy = attack1.Accuracy;
-
116 int attack1Power = attack1.Power;
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
117 string attack1ExcpectedName = "Plasma Fist";
-
118 Type attack1ExcpectedType = Type.Electric;
+
118 Type attack1ExcpectedType = Type.Electric;
119 double attack1ExcpectedAccuracy = 1;
120 int attack1ExcpectedPower = 65;
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -213,12 +212,12 @@
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
125 Attack attack2 = zeraora.FindAttackByName("Thunderbolt");
-
126 string attack2Name = attack2.Name;
-
127 Type attack2Type = attack2.Type;
-
128 double attack2Accuracy = attack2.Accuracy;
-
129 int attack2Power = attack2.Power;
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
130 string attack2ExcpectedName = "Thunderbolt";
-
131 Type attack2ExcpectedType = Type.Electric;
+
131 Type attack2ExcpectedType = Type.Electric;
132 double attack2ExcpectedAccuracy = 1;
133 int attack2ExcpectedPower = 75;
134
@@ -238,12 +237,12 @@
148 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
149 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
150 Attack attack3 = zeraora.FindAttackByName("Close Combat");
-
151 string attack3Name = attack3.Name;
-
152 Type attack3Type = attack3.Type;
-
153 double attack3Accuracy = attack3.Accuracy;
-
154 int attack3Power = attack3.Power;
+
151 string attack3Name = attack3.Name;
+
152 Type attack3Type = attack3.Type;
+
153 double attack3Accuracy = attack3.Accuracy;
+
154 int attack3Power = attack3.Power;
155 string attack3ExcpectedName = "Close Combat";
-
156 Type attack3ExcpectedType = Type.Fighting;
+
156 Type attack3ExcpectedType = Type.Fighting;
157 double attack3ExcpectedAccuracy = 0.75;
158 int attack3ExcpectedPower = 120;
159 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
@@ -252,12 +251,12 @@
162 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
163
164 Attack attack4 = zeraora.FindAttackByName("Wild Charge");
-
165 string attack4Name = attack4.Name;
-
166 Type attack4Type = attack4.Type;
-
167 double attack4Accuracy = attack4.Accuracy;
-
168 int attack4Power = attack4.Power;
+
165 string attack4Name = attack4.Name;
+
166 Type attack4Type = attack4.Type;
+
167 double attack4Accuracy = attack4.Accuracy;
+
168 int attack4Power = attack4.Power;
169 string attack4ExcpectedName = "Wild Charge";
-
170 Type attack4ExcpectedType = Type.Electric;
+
170 Type attack4ExcpectedType = Type.Electric;
171 double attack4ExcpectedAccuracy = 0.6;
172 int attack4ExcpectedPower = 160;
173 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
@@ -272,18 +271,18 @@
184 {
185 Zeraora zeraora = new Zeraora();
-
186 double actualLife = zeraora.CurrentLife;
+
186 double actualLife = zeraora.CurrentLife;
187 string actualLifeText = zeraora.GetLife();
188 zeraora.GainLife(100);
-
189 Assert.That(actualLife.Equals(zeraora.BaseLife));
+
189 Assert.That(actualLife.Equals(zeraora.BaseLife));
190 Assert.That(actualLifeText.Equals("380/380", StringComparison.Ordinal));
191 zeraora.TakeDamage(120);
-
192 double actualLife2 = zeraora.CurrentLife;
+
192 double actualLife2 = zeraora.CurrentLife;
193 string actualLifeText2 = zeraora.GetLife();
194 Assert.That(actualLife2.Equals(260));
195 Assert.That(actualLifeText2.Equals("260/380", StringComparison.Ordinal));
196 zeraora.GainLife(100);
-
197 double actualLife3 = zeraora.CurrentLife;
+
197 double actualLife3 = zeraora.CurrentLife;
198 string actualLifeText3 = zeraora.GetLife();
199 Assert.That(actualLife3.Equals(360));
200 Assert.That(actualLifeText3.Equals("360/380", StringComparison.Ordinal));
@@ -296,12 +295,12 @@
208 {
209 Zeraora zeraora = new Zeraora();
210 Attack attack = zeraora.FindAttackByName("Plasma Fist");
-
211 string attack1Name = attack.Name;
-
212 Type attack1Type = attack.Type;
-
213 double attack1Accuracy = attack.Accuracy;
-
214 int attack1Power = attack.Power;
+
211 string attack1Name = attack.Name;
+
212 Type attack1Type = attack.Type;
+
213 double attack1Accuracy = attack.Accuracy;
+
214 int attack1Power = attack.Power;
215 string attack1ExcpectedName = "Plasma Fist";
-
216 Type attack1ExcpectedType = Type.Electric;
+
216 Type attack1ExcpectedType = Type.Electric;
217 double attack1ExcpectedAccuracy = 1;
218 int attack1ExcpectedPower = 65;
219 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
@@ -311,8 +310,6 @@
223 }
224}
-
-
Test de la clase Zeraora
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
@@ -323,37 +320,37 @@
void TestFindAttackByName()
Test del método FindAttackByName.
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Zeraora.
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Zeraora.
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
int Power
Potencia del ataque.
Definition Attack.cs:25
-
string Name
Nombre del ataque.
Definition Attack.cs:10
-
Type Type
Tipo del ataque.
Definition Attack.cs:15
-
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
-
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:38
-
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:129
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
-
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:138
-
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:28
-
string Name
Nombre del Pokemon.
Definition Pokemon.cs:13
-
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:83
-
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:120
-
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:160
-
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:33
-
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:111
-
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:98
-
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:147
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
-
Esta clase representa el Pokemon Zeraora. Al ser un Pokemon hereda de la clase Pokemon.
Definition Zeraora.cs:8
- - -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
Esta clase representa el Pokemon Zeraora. Al ser un Pokemon hereda de la clase Pokemon.
Definition Zeraora.cs:8
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/resize.js b/docs/html/resize.js index 7d8cdc7..178d03b 100644 --- a/docs/html/resize.js +++ b/docs/html/resize.js @@ -139,7 +139,9 @@ function initResizable(treeview) { { $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); $(".ui-resizable-handle").dblclick(collapseExpand); + // workaround for firefox + $("body").css({overflow: "hidden"}); } - $(window).on('load',resizeHeight); + $(window).on('load',function() { resizeHeight(treeview); }); } /* @license-end */ diff --git a/docs/html/search/all_0.js b/docs/html/search/all_0.js index 926fffe..2626c4e 100644 --- a/docs/html/search/all_0.js +++ b/docs/html/search/all_0.js @@ -1,16 +1,22 @@ var searchData= [ - ['accuracy_0',['Accuracy',['../classLibrary_1_1Attack.html#aefe240aacb24aeab6efc70e74b4d6ce2',1,'Library.Attack.Accuracy'],['../interfaceLibrary_1_1IAttack.html#a7c8bcc9fdd7b238e5b016369c773cc51',1,'Library.IAttack.Accuracy']]], - ['activeplayer_1',['ActivePlayer',['../classLibrary_1_1Game.html#a10e4e7852bdf3a3f81c8bcb8e77fc6ef',1,'Library::Game']]], - ['activepokemon_2',['ActivePokemon',['../classLibrary_1_1Player.html#a030387e896acdeb9cdd7ed9ee5193599',1,'Library::Player']]], - ['addattack_3',['AddAttack',['../classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33',1,'Library::Pokemon']]], - ['addgame_4',['AddGame',['../classLibrary_1_1GameList.html#acbab8e4b66af16b4ee5cd7b3669a5f82',1,'Library::GameList']]], - ['addplayer_5',['AddPlayer',['../classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252',1,'Library::WaitingList']]], - ['addtoteam_6',['AddToTeam',['../classLibrary_1_1Player.html#aca63ec3547f91e79f9f5c22e366dec9f',1,'Library::Player']]], - ['al_20compilar_7',['al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], - ['analyzer_8',['Analyzer',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md4',1,'Roslyn Analyzer'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md5',1,'StyleCop Analyzer']]], - ['asleepturns_9',['AsleepTurns',['../classLibrary_1_1Pokemon.html#ad5e9d2602c802c7d1ce03ae7bca09508',1,'Library::Pokemon']]], - ['attack_10',['Attack',['../classLibrary_1_1Attack.html',1,'Library.Attack'],['../classLibrary_1_1Attack.html#ab9d514e0369d223cd133d62f9c7422a1',1,'Library.Attack.Attack()']]], - ['attacktest_11',['AttackTest',['../classLibraryTests_1_1AttackTest.html',1,'LibraryTests']]], - ['avisos_20al_20compilar_12',['avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar']]] + ['accuracy_0',['Accuracy',['../classLibrary_1_1Attack.html#a354e021b557445ba374de502bb8680b0',1,'Library.Attack.Accuracy'],['../interfaceLibrary_1_1IAttack.html#a786331e11744072d9d4e6b34962b05cd',1,'Library.IAttack.Accuracy']]], + ['activeplayer_1',['ActivePlayer',['../classLibrary_1_1Game.html#acb30d499afc6078b378f885abb1dac52',1,'Library::Game']]], + ['activepokemon_2',['ActivePokemon',['../classLibrary_1_1Player.html#ab3b3dd787c5ecfd18931263e12e25c47',1,'Library::Player']]], + ['addattack_3',['AddAttack',['../classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33',1,'Library.Pokemon.AddAttack(IAttack attack)'],['../classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33',1,'Library.Pokemon.AddAttack(IAttack attack)']]], + ['addgame_4',['AddGame',['../classLibrary_1_1GameList.html#acbab8e4b66af16b4ee5cd7b3669a5f82',1,'Library.GameList.AddGame(Player player1, Player player2)'],['../classLibrary_1_1GameList.html#a45c0f28f038e39c006b22a98de193244',1,'Library.GameList.AddGame(Player player1, Player player2, IStrategyStartingPlayer strategyStartingPlayer)']]], + ['addplayer_5',['AddPlayer',['../classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252',1,'Library.WaitingList.AddPlayer(string playerName)'],['../classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252',1,'Library.WaitingList.AddPlayer(string playerName)']]], + ['addplayertowaitinglist_6',['AddPlayerToWaitingList',['../classLibrary_1_1Facade.html#ab8784ba49bab75ab95697412f7154c37',1,'Library.Facade.AddPlayerToWaitingList(string playerName)'],['../classLibrary_1_1Facade.html#a28c360b7b080e1dc99a7bab8aacea2d8',1,'Library.Facade.AddPlayerToWaitingList(string playerName)']]], + ['addtoteam_7',['AddToTeam',['../classLibrary_1_1Player.html#aca63ec3547f91e79f9f5c22e366dec9f',1,'Library.Player.AddToTeam(Pokemon pokemon)'],['../classLibrary_1_1Player.html#a89c81a80f17cad301cb264164f8e6490',1,'Library.Player.AddToTeam(Pokemon pokemon)']]], + ['al_20compilar_8',['al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md9',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md8',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], + ['analyzer_9',['Analyzer',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md4',1,'Roslyn Analyzer'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md10',1,'Roslyn Analyzer'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md5',1,'StyleCop Analyzer'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md11',1,'StyleCop Analyzer']]], + ['asleep_10',['Asleep',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a56a8ddcbbee153b7f751514c8b607b3e',1,'Library.Asleep'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a56a8ddcbbee153b7f751514c8b607b3e',1,'Library.Asleep']]], + ['asleepeffectdecreasesturnsandreturnstrue_11',['AsleepEffectDecreasesTurnsAndReturnsTrue',['../classLibraryTests_1_1StateLogicTest.html#ae05e3983460603c7cd9af708e5be1c7c',1,'LibraryTests::StateLogicTest']]], + ['asleepeffectisnotset_12',['AsleepEffectIsNotSet',['../classLibraryTests_1_1StateLogicTest.html#a77a74306f33c1cef3f1b2ce075e8837d',1,'LibraryTests::StateLogicTest']]], + ['asleepeffectwakespokemonandreturnsfalse_13',['AsleepEffectWakesPokemonAndReturnsFalse',['../classLibraryTests_1_1StateLogicTest.html#a2d056ee95b21771e97c6130591cad345',1,'LibraryTests::StateLogicTest']]], + ['asleepturns_14',['AsleepTurns',['../classLibrary_1_1Pokemon.html#a30f476961dbe02e597895c06a6c2a001',1,'Library::Pokemon']]], + ['attack_15',['Attack',['../classLibrary_1_1Attack.html',1,'Library.Attack'],['../classLibrary_1_1Attack.html#ab9d514e0369d223cd133d62f9c7422a1',1,'Library.Attack.Attack(string name, Type type, double accuracy, int power)'],['../classLibrary_1_1Attack.html#ab9d514e0369d223cd133d62f9c7422a1',1,'Library.Attack.Attack(string name, Type type, double accuracy, int power)']]], + ['attackcommand_16',['AttackCommand',['../classLibrary_1_1Commands_1_1AttackCommand.html',1,'Library.Commands.AttackCommand'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html',1,'Ucu.Poo.DiscordBot.Commands.AttackCommand']]], + ['attacktest_17',['AttackTest',['../classLibraryTests_1_1AttackTest.html',1,'LibraryTests']]], + ['avisos_20al_20compilar_18',['avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md9',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md8',1,'Dónde encontrar información sobre los errores/avisos al compilar']]] ]; diff --git a/docs/html/search/all_1.js b/docs/html/search/all_1.js index aedd521..6cbc25c 100644 --- a/docs/html/search/all_1.js +++ b/docs/html/search/all_1.js @@ -1,4 +1,10 @@ var searchData= [ - ['baselife_0',['BaseLife',['../classLibrary_1_1Pokemon.html#a0aa5808b712ff4567d049347d22c0a80',1,'Library::Pokemon']]] + ['baselife_0',['BaseLife',['../classLibrary_1_1Pokemon.html#a5ecb375053588a59c4de7ffb6884e813',1,'Library::Pokemon']]], + ['battlecommand_1',['BattleCommand',['../classLibrary_1_1Commands_1_1BattleCommand.html',1,'Library::Commands']]], + ['bot_2',['Bot',['../classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot.html',1,'Ucu::Poo::DiscordBot::Services']]], + ['bothplayershavechosenteam_3',['BothPlayersHaveChosenTeam',['../classLibrary_1_1Game.html#a528d52cbb8d9637f8dd55cdf6c7ceea1',1,'Library::Game']]], + ['bug_4',['Bug',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609ac83640c604dd5e0eacbf3de0a1181101',1,'Library.Bug'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977dac83640c604dd5e0eacbf3de0a1181101',1,'Library.Bug']]], + ['burned_5',['Burned',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a26087341433e59614e8a48d71b91f72e',1,'Library.Burned'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a26087341433e59614e8a48d71b91f72e',1,'Library.Burned']]], + ['burnedeffectdecreaselife_6',['BurnedEffectDecreaseLife',['../classLibraryTests_1_1StateLogicTest.html#a1e4a543c6b756917e606fba6804c7f71',1,'LibraryTests::StateLogicTest']]] ]; diff --git a/docs/html/search/all_10.js b/docs/html/search/all_10.js index 28ae739..e3c62bd 100644 --- a/docs/html/search/all_10.js +++ b/docs/html/search/all_10.js @@ -1,36 +1,51 @@ var searchData= [ - ['takedamage_0',['TakeDamage',['../classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5',1,'Library::Pokemon']]], - ['temporalmente_20los_20avisos_20al_20compilar_1',['Cómo deshabilitar temporalmente los avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'']]], - ['testaccuracy0_2',['TestAccuracy0',['../classLibraryTests_1_1AttackTest.html#ae2b01a44fc5c603c760eeeedbcbd7207',1,'LibraryTests::AttackTest']]], - ['testaddafifthattack_3',['TestAddAFifthAttack',['../classLibraryTests_1_1CaterpieTest.html#ac345214004dc7c0ab6303ecdfc663c6e',1,'LibraryTests.CaterpieTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1CharizardTest.html#a86c58745fa752bfb3a931687fdc077da',1,'LibraryTests.CharizardTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ChikoritaTest.html#abfbb286356c6decc46a40fa3a8e1c036',1,'LibraryTests.ChikoritaTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254',1,'LibraryTests.GengarTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05',1,'LibraryTests.HaxorusTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155',1,'LibraryTests.MewtwoTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825',1,'LibraryTests.ZeraoraTest.TestAddAFifthAttack()']]], - ['testasleepturns_4',['TestAsleepTurns',['../classLibraryTests_1_1CaterpieTest.html#ab6f5df63fe31338491c34218228274fa',1,'LibraryTests.CaterpieTest.TestAsleepTurns()'],['../classLibraryTests_1_1CharizardTest.html#af494dec2a89b393df43223c6f90ac32f',1,'LibraryTests.CharizardTest.TestAsleepTurns()'],['../classLibraryTests_1_1ChikoritaTest.html#a14a17fa1d6c906bfe1c1b55bd35c91ef',1,'LibraryTests.ChikoritaTest.TestAsleepTurns()'],['../classLibraryTests_1_1GengarTest.html#a21d30a241f089afbdc6d4d07e9384a84',1,'LibraryTests.GengarTest.TestAsleepTurns()'],['../classLibraryTests_1_1HaxorusTest.html#a1407cc5aee1c1af88fe54cd2d1918515',1,'LibraryTests.HaxorusTest.TestAsleepTurns()'],['../classLibraryTests_1_1MewtwoTest.html#abb0d4c92483b8a3d57a6dfced08b2f11',1,'LibraryTests.MewtwoTest.TestAsleepTurns()'],['../classLibraryTests_1_1ZeraoraTest.html#a674aaaed2a9ef15ca5ec425215c797d0',1,'LibraryTests.ZeraoraTest.TestAsleepTurns()']]], - ['testattacks_5',['TestAttacks',['../classLibraryTests_1_1CaterpieTest.html#ae3a39dc20bfd73d5795037ff846b9dd8',1,'LibraryTests.CaterpieTest.TestAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a9057848ebde0cc2f7d59de764897b0e9',1,'LibraryTests.CharizardTest.TestAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#a44e2efc460aadb737ecf28f41468d5f4',1,'LibraryTests.ChikoritaTest.TestAttacks()'],['../classLibraryTests_1_1GengarTest.html#a08d3c6ef6a8e07196ac116b81387dcc4',1,'LibraryTests.GengarTest.TestAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#a6c6774992316d17c0766a7f94fdba107',1,'LibraryTests.HaxorusTest.TestAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#a91a6d02cac5887e1eae62165e70f9cc7',1,'LibraryTests.MewtwoTest.TestAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#a795661d38e354292a5af622212e144de',1,'LibraryTests.ZeraoraTest.TestAttacks()']]], - ['testcurrentstateandeditstate_6',['TestCurrentStateAndEditState',['../classLibraryTests_1_1CaterpieTest.html#a611bdba831427668f0a3a31d5247563e',1,'LibraryTests.CaterpieTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1CharizardTest.html#ab39a552ec8014a61ea8e539f2639d7de',1,'LibraryTests.CharizardTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ChikoritaTest.html#a70ab22541afde74368b6a17125382a70',1,'LibraryTests.ChikoritaTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1GengarTest.html#a31dd1a7be28f9435eee912af68f8fb5c',1,'LibraryTests.GengarTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1HaxorusTest.html#a2e99bec64ca83898555c877f74902b26',1,'LibraryTests.HaxorusTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1MewtwoTest.html#a22dff77c9f73538d9f290a414165a1bc',1,'LibraryTests.MewtwoTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ZeraoraTest.html#a3e93f78d80c10921224626418b374686',1,'LibraryTests.ZeraoraTest.TestCurrentStateAndEditState()']]], - ['testfindattackbyname_7',['TestFindAttackByName',['../classLibraryTests_1_1CaterpieTest.html#acbd1c374073ecdf652b15d496f000b32',1,'LibraryTests.CaterpieTest.TestFindAttackByName()'],['../classLibraryTests_1_1CharizardTest.html#a1063b391228e714452f3117fd9d4d8d8',1,'LibraryTests.CharizardTest.TestFindAttackByName()'],['../classLibraryTests_1_1ChikoritaTest.html#a2a4ae1aec5f16073485dfc944ff918b2',1,'LibraryTests.ChikoritaTest.TestFindAttackByName()'],['../classLibraryTests_1_1GengarTest.html#a0d017a884cbe408d8aa10036c52221a7',1,'LibraryTests.GengarTest.TestFindAttackByName()'],['../classLibraryTests_1_1HaxorusTest.html#a90943c2e7008575ccbab9d08dd616f33',1,'LibraryTests.HaxorusTest.TestFindAttackByName()'],['../classLibraryTests_1_1MewtwoTest.html#a4333dfbf8559385b8a2fe6880d182b77',1,'LibraryTests.MewtwoTest.TestFindAttackByName()'],['../classLibraryTests_1_1ZeraoraTest.html#a80e159271af4cc546ee2712561b67392',1,'LibraryTests.ZeraoraTest.TestFindAttackByName()']]], - ['testifithasfourattacks_8',['TestIfItHasFourAttacks',['../classLibraryTests_1_1CaterpieTest.html#aec8b91165973d59361fec4f9526e067e',1,'LibraryTests.CaterpieTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a038f5e6d36efefe0f5bf7e61ef1567c5',1,'LibraryTests.CharizardTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#aaa714a81ea1e7b6f9fa63e44b1ef6a50',1,'LibraryTests.ChikoritaTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1GengarTest.html#ab7f1d19b871f4487857193b35d89ec71',1,'LibraryTests.GengarTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#aaf2da21da69856ccb2f60eeb3324f93e',1,'LibraryTests.HaxorusTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#ac8458736796b288ba65e4c34d2061bab',1,'LibraryTests.MewtwoTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#ac8f35530178a4ba6be4099881680420e',1,'LibraryTests.ZeraoraTest.TestIfItHasFourAttacks()']]], - ['testinvalidaccuracy_9',['TestInvalidAccuracy',['../classLibraryTests_1_1AttackTest.html#ac46ab2972608220d015d9cc829f33296',1,'LibraryTests::AttackTest']]], - ['testinvalidpower_10',['TestInvalidPower',['../classLibraryTests_1_1AttackTest.html#a10196ec900c49f602215757178d9e5fd',1,'LibraryTests::AttackTest']]], - ['testlifeandcurrentlife_11',['TestLifeAndCurrentLife',['../classLibraryTests_1_1CaterpieTest.html#aa18fa9e11b12e0dade2839c4f28b5498',1,'LibraryTests.CaterpieTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1CharizardTest.html#ac019d201962221acf413c5886d1e65a7',1,'LibraryTests.CharizardTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ChikoritaTest.html#a498eeca59ab941ff2950055a72a07952',1,'LibraryTests.ChikoritaTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1GengarTest.html#ae0f4254d586aba1e86623590761bd324',1,'LibraryTests.GengarTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1HaxorusTest.html#a584d7ca8190839e7246d92d271719eb1',1,'LibraryTests.HaxorusTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1MewtwoTest.html#a66c9be0af6db0dad0a0ade63ffa40905',1,'LibraryTests.MewtwoTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0732e7f35761031c87072667475f03a5',1,'LibraryTests.ZeraoraTest.TestLifeAndCurrentLife()']]], - ['testname_12',['TestName',['../classLibraryTests_1_1CaterpieTest.html#a0aa5f21bb145d462a33dd35fe306bf16',1,'LibraryTests.CaterpieTest.TestName()'],['../classLibraryTests_1_1CharizardTest.html#a0d37c28328723fca353b58356cf18833',1,'LibraryTests.CharizardTest.TestName()'],['../classLibraryTests_1_1ChikoritaTest.html#a98efe9ea8c4a2947294cfc081b740789',1,'LibraryTests.ChikoritaTest.TestName()'],['../classLibraryTests_1_1GengarTest.html#a9cfc9ee0d5748984c33d77dc04b1c3be',1,'LibraryTests.GengarTest.TestName()'],['../classLibraryTests_1_1HaxorusTest.html#a4dc74a1f15206614d597b5cfc2886e7e',1,'LibraryTests.HaxorusTest.TestName()'],['../classLibraryTests_1_1MewtwoTest.html#a4cd7b9897b81bca8814b97dcaed00ca1',1,'LibraryTests.MewtwoTest.TestName()'],['../classLibraryTests_1_1ZeraoraTest.html#a46a60a8c001fd6e79e18d33a10268991',1,'LibraryTests.ZeraoraTest.TestName()']]], - ['testnullname_13',['TestNullName',['../classLibraryTests_1_1AttackTest.html#af9e96d60b4350702eeff21e93e90df39',1,'LibraryTests::AttackTest']]], - ['testpower0_14',['TestPower0',['../classLibraryTests_1_1AttackTest.html#a0418233661dd028c7ae3b1bf8fef16dc',1,'LibraryTests::AttackTest']]], - ['testrestorebaselifetakedamageandgetlife_15',['TestRestoreBaseLifeTakeDamageAndGetLife',['../classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b',1,'LibraryTests.CaterpieTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334',1,'LibraryTests.CharizardTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453',1,'LibraryTests.ChikoritaTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913',1,'LibraryTests.GengarTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e',1,'LibraryTests.HaxorusTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7',1,'LibraryTests.MewtwoTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249',1,'LibraryTests.ZeraoraTest.TestRestoreBaseLifeTakeDamageAndGetLife()']]], - ['tests_16',['Tests',['../namespaceTests.html',1,'']]], - ['testspecialattack_17',['TestSpecialAttack',['../classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8',1,'LibraryTests::SpecialAttackTest']]], - ['testtype_18',['TestType',['../classLibraryTests_1_1CaterpieTest.html#a7b4ee7a345f79da04d1ffff31e966ca7',1,'LibraryTests.CaterpieTest.TestType()'],['../classLibraryTests_1_1CharizardTest.html#a35f39e1f8d1c9522045f654382cea043',1,'LibraryTests.CharizardTest.TestType()'],['../classLibraryTests_1_1ChikoritaTest.html#aa9cef46fe3c120f2075431e01d7cc975',1,'LibraryTests.ChikoritaTest.TestType()'],['../classLibraryTests_1_1GengarTest.html#aa529cc291b6d57cc9baa88aae3c3b001',1,'LibraryTests.GengarTest.TestType()'],['../classLibraryTests_1_1HaxorusTest.html#ab68e5de12f32b74f431e12338d436b3f',1,'LibraryTests.HaxorusTest.TestType()'],['../classLibraryTests_1_1MewtwoTest.html#ab434507bebaeadad75fab7332f5cc7a8',1,'LibraryTests.MewtwoTest.TestType()'],['../classLibraryTests_1_1ZeraoraTest.html#a59fca7f6820c24b8c61f7e2e5aeca317',1,'LibraryTests.ZeraoraTest.TestType()']]], - ['testuserstory1_19',['TestUserStory1',['../classLibraryTests_1_1FacadeTest.html#a0c532a87220e7aa87b92a92e99c193c0',1,'LibraryTests::FacadeTest']]], - ['testuserstory10_20',['TestUserStory10',['../classLibraryTests_1_1FacadeTest.html#a37b9657e8da7c1732b914ff3ff5a5ac0',1,'LibraryTests::FacadeTest']]], - ['testuserstory11_21',['TestUserStory11',['../classLibraryTests_1_1FacadeTest.html#ab3570deef98f9efd32b87177c43f9e25',1,'LibraryTests::FacadeTest']]], - ['testuserstory2_22',['TestUserStory2',['../classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6',1,'LibraryTests::FacadeTest']]], - ['testuserstory3_23',['TestUserStory3',['../classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817',1,'LibraryTests::FacadeTest']]], - ['testuserstory4_24',['TestUserStory4',['../classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73',1,'LibraryTests::FacadeTest']]], - ['testuserstory5_25',['TestUserStory5',['../classLibraryTests_1_1FacadeTest.html#aba6d127eb4dbc71cbd758dc3e41ecb5d',1,'LibraryTests::FacadeTest']]], - ['testuserstory6_26',['TestUserStory6',['../classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a',1,'LibraryTests::FacadeTest']]], - ['testuserstory7_27',['TestUserStory7',['../classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c',1,'LibraryTests::FacadeTest']]], - ['testuserstory8_28',['TestUserStory8',['../classLibraryTests_1_1FacadeTest.html#afbd379e47a09ca21177b0d80591ab6f9',1,'LibraryTests::FacadeTest']]], - ['testuserstory9_29',['TestUserStory9',['../classLibraryTests_1_1FacadeTest.html#a600ac1d267ea06534f36a83cee7bc829',1,'LibraryTests::FacadeTest']]], - ['traintests_30',['TrainTests',['../classTests_1_1TrainTests.html',1,'Tests']]], - ['turncount_31',['TurnCount',['../classLibrary_1_1Game.html#a18e1b6c392787417ba7f144517c8ef70',1,'Library::Game']]], - ['type_32',['Type',['../classLibrary_1_1Attack.html#ade564367491c11401658679092006aa4',1,'Library.Attack.Type'],['../interfaceLibrary_1_1IAttack.html#a4996d147243c5f812ea19aded6b0df49',1,'Library.IAttack.Type'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977d',1,'Library.Type']]] + ['scyther_0',['Scyther',['../classLibrary_1_1Scyther.html',1,'Library.Scyther'],['../classLibrary_1_1Scyther.html#a3be06ea43e2279e166aff624adbccb31',1,'Library.Scyther.Scyther()']]], + ['setactivepokemon_1',['SetActivePokemon',['../classLibrary_1_1Player.html#a1dc483f61f95351bd3266c5f9663bfb1',1,'Library.Player.SetActivePokemon(Pokemon pokemon)'],['../classLibrary_1_1Player.html#ae680d1fee380e2eee7462ea418b82651',1,'Library.Player.SetActivePokemon(Pokemon? pokemon=null)']]], + ['setasleepturns_2',['SetAsleepTurns',['../classLibrary_1_1Pokemon.html#a1f220939df23a443793d4ba26e39ee2f',1,'Library::Pokemon']]], + ['setcatalogue_3',['SetCatalogue',['../classLibrary_1_1PokemonCatalogue.html#a89deea710474bec8e34f3853fa26663f',1,'Library::PokemonCatalogue']]], + ['setcooldown_4',['SetCooldown',['../classLibrary_1_1SpecialAttack.html#a69f6d5407485cc67a2b04ea75e81c601',1,'Library.SpecialAttack.SetCooldown()'],['../classLibrary_1_1SpecialAttack.html#a69f6d5407485cc67a2b04ea75e81c601',1,'Library.SpecialAttack.SetCooldown()']]], + ['setcritcheckstategy_5',['SetCritCheckStategy',['../classLibrary_1_1DamageCalculator.html#af28970536542db6f844927c0518e0eb5',1,'Library::DamageCalculator']]], + ['setdamagecalculatorstrategy_6',['SetDamageCalculatorStrategy',['../classLibrary_1_1Game.html#a77f6da1303c22a2e9318018ae687da41',1,'Library::Game']]], + ['setup_7',['Setup',['../classTests_1_1TrainTests.html#aa51119f2894ac4ce8617c8c8972c67d1',1,'Tests.TrainTests.Setup()'],['../classTests_1_1TrainTests.html#aa51119f2894ac4ce8617c8c8972c67d1',1,'Tests.TrainTests.Setup()']]], + ['showatacks_8',['ShowAtacks',['../classLibrary_1_1Facade.html#a6734f40108ad2d62679d48933a14aefc',1,'Library.Facade.ShowAtacks(string playerName)'],['../classLibrary_1_1Facade.html#a88bb33e0550842c0d34b763eca260ce3',1,'Library.Facade.ShowAtacks(string playerName)']]], + ['showattackscommand_9',['ShowAttacksCommand',['../classLibrary_1_1Commands_1_1ShowAttacksCommand.html',1,'Library::Commands']]], + ['showcatalogue_10',['ShowCatalogue',['../classLibrary_1_1Facade.html#aba404c6c1cd684fcc79efa9fcddc2a8c',1,'Library.Facade.ShowCatalogue()'],['../classLibrary_1_1PokemonCatalogue.html#a530df71a10356bea3a56e1e46ee40f48',1,'Library.PokemonCatalogue.ShowCatalogue()'],['../classLibrary_1_1Facade.html#ab8c86f0413ac804373d0748af67d8136',1,'Library.Facade.ShowCatalogue()'],['../classLibrary_1_1PokemonCatalogue.html#abe27e89579d22adab03245a7ea5b4a15',1,'Library.PokemonCatalogue.ShowCatalogue()']]], + ['showitems_11',['ShowItems',['../classLibrary_1_1Facade.html#ad549661271bb9a21203fac96721c0fa2',1,'Library::Facade']]], + ['showitemscommand_12',['ShowItemsCommand',['../classLibrary_1_1Commands_1_1ShowItemsCommand.html',1,'Library::Commands']]], + ['showpokemonshp_13',['ShowPokemonsHp',['../classLibrary_1_1Facade.html#a021e3e6d485a0cb0599f1821b49ef30c',1,'Library.Facade.ShowPokemonsHp(string playerName, string playerToCheckName=null)'],['../classLibrary_1_1Facade.html#a1ab4cd6b1641209fac55991c17754b66',1,'Library.Facade.ShowPokemonsHp(string playerName, string? playerToCheckName=null)']]], + ['sobre_20los_20errores_20avisos_20al_20compilar_14',['sobre los errores avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md8',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], + ['specialattack_15',['SpecialAttack',['../classLibrary_1_1SpecialAttack.html',1,'Library.SpecialAttack'],['../classLibrary_1_1SpecialAttack.html#a6c5f588df2953fda7cc037a66f6f3fea',1,'Library.SpecialAttack.SpecialAttack(string name, Type type, double accuracy, int power, State specialEffect)'],['../classLibrary_1_1SpecialAttack.html#a6c5f588df2953fda7cc037a66f6f3fea',1,'Library.SpecialAttack.SpecialAttack(string name, Type type, double accuracy, int power, State specialEffect)']]], + ['specialattacktest_16',['SpecialAttackTest',['../classLibraryTests_1_1SpecialAttackTest.html',1,'LibraryTests']]], + ['specialcheck_17',['SpecialCheck',['../classLibrary_1_1DamageCalculator.html#a3ac5d47b8a7ebd067ef03b81c8907802',1,'Library.DamageCalculator.SpecialCheck(Pokemon attackedPokemon, Attack attack)'],['../classLibrary_1_1DamageCalculator.html#a5685a1add3420618f3b27f1e2f5ff622',1,'Library.DamageCalculator.SpecialCheck(Pokemon attackedPokemon, Attack attack)']]], + ['specialeffect_18',['SpecialEffect',['../classLibrary_1_1SpecialAttack.html#a75d48548b13cad1231418f82f4b163cf',1,'Library::SpecialAttack']]], + ['specialeffectexecute_19',['SpecialEffectExecute',['../classLibrary_1_1Game.html#a1fdbbd02b0369e33eb6a90f10f7077f3',1,'Library::Game']]], + ['startgame_20',['StartGame',['../classLibrary_1_1Facade.html#a254fa741693ebc4342764475104d3733',1,'Library.Facade.StartGame(string playerName, string opponentName)'],['../classLibrary_1_1Facade.html#a3faab158ef85b4fb9dc994f427022ad0',1,'Library.Facade.StartGame(string playerName, string opponentName, IStrategyStartingPlayer strategyStartingPlayer)']]], + ['startingplayer_21',['StartingPlayer',['../classLibrary_1_1Game.html#abd80e606fec7d88f0cd70a89cb29b6b4',1,'Library.Game.StartingPlayer()'],['../interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html#a522b2c296c6aa06cb8daf5db4472c5ab',1,'Library.Strategies.IStrategyStartingPlayer.StartingPlayer()'],['../classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html#ae03f51ce26d1dcf7e0c2dd140e5d7c08',1,'Library.Strategies.StrategyPlayerOneStart.StartingPlayer()'],['../classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html#ae34b8c8463695bbd8e76f1fc287ce6ef',1,'Library.Strategies.StrategyPlayerTwoStart.StartingPlayer()'],['../classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html#a28d880527eb6cb516c38135613c6cddf',1,'Library.Strategies.StrategyRandomStartingPlayer.StartingPlayer()']]], + ['starttraintest_22',['StartTrainTest',['../classTests_1_1TrainTests.html#a3126fe749f840d7c002d920b796136cf',1,'Tests.TrainTests.StartTrainTest()'],['../classTests_1_1TrainTests.html#a3126fe749f840d7c002d920b796136cf',1,'Tests.TrainTests.StartTrainTest()']]], + ['state_23',['State',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808',1,'Library.State'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808',1,'Library.State']]], + ['statelogictest_24',['StateLogicTest',['../classLibraryTests_1_1StateLogicTest.html',1,'LibraryTests']]], + ['stoptraintest_25',['StopTrainTest',['../classTests_1_1TrainTests.html#a5da3dc68423a30afe2460f9831054e90',1,'Tests.TrainTests.StopTrainTest()'],['../classTests_1_1TrainTests.html#a5da3dc68423a30afe2460f9831054e90',1,'Tests.TrainTests.StopTrainTest()']]], + ['strategyalwayscrit_26',['StrategyAlwaysCrit',['../classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html',1,'Library::Strategies']]], + ['strategyalwayscrittest_27',['StrategyAlwaysCritTest',['../classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest.html',1,'LibraryTests::Strategies']]], + ['strategynoncrit_28',['StrategyNonCrit',['../classLibrary_1_1Strategies_1_1StrategyNonCrit.html',1,'Library::Strategies']]], + ['strategynoncrittest_29',['StrategyNonCritTest',['../classLibraryTests_1_1Strategies_1_1StrategyNonCritTest.html',1,'LibraryTests::Strategies']]], + ['strategyplayeronestart_30',['StrategyPlayerOneStart',['../classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html',1,'Library::Strategies']]], + ['strategyplayeronestarttest_31',['StrategyPlayerOneStartTest',['../classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest.html',1,'LibraryTests::Strategies']]], + ['strategyplayertwostart_32',['StrategyPlayerTwoStart',['../classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html',1,'Library::Strategies']]], + ['strategyplayertwostarttest_33',['StrategyPlayerTwoStartTest',['../classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest.html',1,'LibraryTests::Strategies']]], + ['strategyrandomcrit_34',['StrategyRandomCrit',['../classLibrary_1_1Strategies_1_1StrategyRandomCrit.html',1,'Library::Strategies']]], + ['strategyrandomcrittest_35',['StrategyRandomCritTest',['../classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest.html',1,'LibraryTests::Strategies']]], + ['strategyrandomstartingplayer_36',['StrategyRandomStartingPlayer',['../classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html',1,'Library::Strategies']]], + ['strategyrandomstartingplayertest_37',['StrategyRandomStartingPlayerTest',['../classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest.html',1,'LibraryTests::Strategies']]], + ['strategystartingplayer_38',['StrategyStartingPlayer',['../classLibrary_1_1Game.html#aa4efe3d427ebeb49bbff3e93f253009d',1,'Library::Game']]], + ['stylecop_20analyzer_39',['StyleCop Analyzer',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md5',1,'StyleCop Analyzer'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md11',1,'StyleCop Analyzer']]], + ['superpotion_40',['SuperPotion',['../classLibrary_1_1SuperPotion.html',1,'Library.SuperPotion'],['../classLibrary_1_1SuperPotion.html#a7e6bb21563c87bdaaaf4e426fa961e63',1,'Library.SuperPotion.SuperPotion()'],['../classLibrary_1_1SuperPotion.html#a7e6bb21563c87bdaaaf4e426fa961e63',1,'Library.SuperPotion.SuperPotion()']]], + ['superpotioncorrectuse_41',['SuperPotionCorrectUse',['../classLibraryTests_1_1SuperPotionTest.html#a82b27fac16f96b33ccffd3df5567d001',1,'LibraryTests::SuperPotionTest']]], + ['superpotioncorrectuse1_42',['SuperPotionCorrectUse1',['../classLibraryTests_1_1SuperPotionTest.html#a385213d9479541c22d0a314aff5169d2',1,'LibraryTests::SuperPotionTest']]], + ['superpotioncorrectuse2_43',['SuperPotionCorrectUse2',['../classLibraryTests_1_1SuperPotionTest.html#a275ba27a5e3c499e582ec2bf7ee2c07c',1,'LibraryTests::SuperPotionTest']]], + ['superpotionhealthypokemonuse_44',['SuperPotionHealthyPokemonUse',['../classLibraryTests_1_1SuperPotionTest.html#afef0568233cc83fc53b45b75effb4180',1,'LibraryTests::SuperPotionTest']]], + ['superpotiontest_45',['SuperPotionTest',['../classLibraryTests_1_1SuperPotionTest.html',1,'LibraryTests']]], + ['surrender_46',['Surrender',['../classLibrary_1_1Facade.html#a4da326581139b7ba8ec08003e30b7b14',1,'Library::Facade']]], + ['surrendercommand_47',['SurrenderCommand',['../classLibrary_1_1Commands_1_1SurrenderCommand.html',1,'Library::Commands']]] ]; diff --git a/docs/html/search/all_11.js b/docs/html/search/all_11.js index 11292e9..ed8240e 100644 --- a/docs/html/search/all_11.js +++ b/docs/html/search/all_11.js @@ -1,5 +1,80 @@ var searchData= [ - ['use_0',['Use',['../classLibrary_1_1FullHealth.html#a29002d67a7ba064d8d8d9e8330f4eb8f',1,'Library.FullHealth.Use()'],['../interfaceLibrary_1_1IItem.html#a4329d015044ee4837cb2ebd63727f272',1,'Library.IItem.Use()'],['../classLibrary_1_1Revive.html#a0346e9117c28441709084b54e2e6ac70',1,'Library.Revive.Use()'],['../classLibrary_1_1SuperPotion.html#a8cd462889e7028c7d0132023256380dc',1,'Library.SuperPotion.Use()']]], - ['useitem_1',['UseItem',['../classLibrary_1_1Game.html#a35db53b070d4c81bbc40b9a10ffdeede',1,'Library::Game']]] + ['takedamage_0',['TakeDamage',['../classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5',1,'Library.Pokemon.TakeDamage(double damage)'],['../classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5',1,'Library.Pokemon.TakeDamage(double damage)']]], + ['teamcount_1',['TeamCount',['../classLibrary_1_1Player.html#a9a974785bc047d4ae13c42942f846666',1,'Library::Player']]], + ['temporalmente_20los_20avisos_20al_20compilar_2',['temporalmente los avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md9',1,'Cómo deshabilitar temporalmente los avisos al compilar']]], + ['testaccuracy0_3',['TestAccuracy0',['../classLibraryTests_1_1AttackTest.html#ae2b01a44fc5c603c760eeeedbcbd7207',1,'LibraryTests.AttackTest.TestAccuracy0()'],['../classLibraryTests_1_1AttackTest.html#ae2b01a44fc5c603c760eeeedbcbd7207',1,'LibraryTests.AttackTest.TestAccuracy0()']]], + ['testaddafifthattack_4',['TestAddAFifthAttack',['../classLibraryTests_1_1CaterpieTest.html#ac345214004dc7c0ab6303ecdfc663c6e',1,'LibraryTests.CaterpieTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1CharizardTest.html#a86c58745fa752bfb3a931687fdc077da',1,'LibraryTests.CharizardTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ChikoritaTest.html#abfbb286356c6decc46a40fa3a8e1c036',1,'LibraryTests.ChikoritaTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254',1,'LibraryTests.GengarTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05',1,'LibraryTests.HaxorusTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155',1,'LibraryTests.MewtwoTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825',1,'LibraryTests.ZeraoraTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1CaterpieTest.html#ac345214004dc7c0ab6303ecdfc663c6e',1,'LibraryTests.CaterpieTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1CharizardTest.html#a86c58745fa752bfb3a931687fdc077da',1,'LibraryTests.CharizardTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ChikoritaTest.html#abfbb286356c6decc46a40fa3a8e1c036',1,'LibraryTests.ChikoritaTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1DragoniteTest.html#a4a278dc6b1cded4cbc74e201f2903b8f',1,'LibraryTests.DragoniteTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1EnteiTest.html#a4c96874da4fff4aa6007982ccebfccd2',1,'LibraryTests.EnteiTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1GastrodonTest.html#a3a61683d426fa53bea4d97cee82966ee',1,'LibraryTests.GastrodonTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254',1,'LibraryTests.GengarTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05',1,'LibraryTests.HaxorusTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1HydreigonTest.html#afe9e3eafb2d7fb8faa44f91e44f85eb6',1,'LibraryTests.HydreigonTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155',1,'LibraryTests.MewtwoTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825',1,'LibraryTests.ZeraoraTest.TestAddAFifthAttack()']]], + ['testaddgame_5',['TestAddGame',['../classLibraryTests_1_1GameListTest.html#accc3ecb4dc04d2d6a37279b45ad29a8d',1,'LibraryTests::GameListTest']]], + ['testaddplayer_6',['TestAddPlayer',['../classLibraryTests_1_1WaitingListTest.html#a4d0f3b6a1e4c4289dfcbaaeefcb50940',1,'LibraryTests::WaitingListTest']]], + ['testasleepturns_7',['TestAsleepTurns',['../classLibraryTests_1_1CaterpieTest.html#ab6f5df63fe31338491c34218228274fa',1,'LibraryTests.CaterpieTest.TestAsleepTurns()'],['../classLibraryTests_1_1CharizardTest.html#af494dec2a89b393df43223c6f90ac32f',1,'LibraryTests.CharizardTest.TestAsleepTurns()'],['../classLibraryTests_1_1ChikoritaTest.html#a14a17fa1d6c906bfe1c1b55bd35c91ef',1,'LibraryTests.ChikoritaTest.TestAsleepTurns()'],['../classLibraryTests_1_1GengarTest.html#a21d30a241f089afbdc6d4d07e9384a84',1,'LibraryTests.GengarTest.TestAsleepTurns()'],['../classLibraryTests_1_1HaxorusTest.html#a1407cc5aee1c1af88fe54cd2d1918515',1,'LibraryTests.HaxorusTest.TestAsleepTurns()'],['../classLibraryTests_1_1MewtwoTest.html#abb0d4c92483b8a3d57a6dfced08b2f11',1,'LibraryTests.MewtwoTest.TestAsleepTurns()'],['../classLibraryTests_1_1ZeraoraTest.html#a674aaaed2a9ef15ca5ec425215c797d0',1,'LibraryTests.ZeraoraTest.TestAsleepTurns()'],['../classLibraryTests_1_1CaterpieTest.html#ab6f5df63fe31338491c34218228274fa',1,'LibraryTests.CaterpieTest.TestAsleepTurns()'],['../classLibraryTests_1_1CharizardTest.html#af494dec2a89b393df43223c6f90ac32f',1,'LibraryTests.CharizardTest.TestAsleepTurns()'],['../classLibraryTests_1_1ChikoritaTest.html#a14a17fa1d6c906bfe1c1b55bd35c91ef',1,'LibraryTests.ChikoritaTest.TestAsleepTurns()'],['../classLibraryTests_1_1DragoniteTest.html#a353baa5507b5d28f17534dc36565da9e',1,'LibraryTests.DragoniteTest.TestAsleepTurns()'],['../classLibraryTests_1_1EnteiTest.html#a2c92a70770242e77bee57b35842cd964',1,'LibraryTests.EnteiTest.TestAsleepTurns()'],['../classLibraryTests_1_1GastrodonTest.html#a43b1770fc8bcce0a758edc74a4f6efb2',1,'LibraryTests.GastrodonTest.TestAsleepTurns()'],['../classLibraryTests_1_1GengarTest.html#a21d30a241f089afbdc6d4d07e9384a84',1,'LibraryTests.GengarTest.TestAsleepTurns()'],['../classLibraryTests_1_1HaxorusTest.html#a1407cc5aee1c1af88fe54cd2d1918515',1,'LibraryTests.HaxorusTest.TestAsleepTurns()'],['../classLibraryTests_1_1HydreigonTest.html#ad8da61b34ae092f3a857cf0a806821bc',1,'LibraryTests.HydreigonTest.TestAsleepTurns()'],['../classLibraryTests_1_1MewtwoTest.html#abb0d4c92483b8a3d57a6dfced08b2f11',1,'LibraryTests.MewtwoTest.TestAsleepTurns()'],['../classLibraryTests_1_1ZeraoraTest.html#a674aaaed2a9ef15ca5ec425215c797d0',1,'LibraryTests.ZeraoraTest.TestAsleepTurns()']]], + ['testattacks_8',['TestAttacks',['../classLibraryTests_1_1CaterpieTest.html#ae3a39dc20bfd73d5795037ff846b9dd8',1,'LibraryTests.CaterpieTest.TestAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a9057848ebde0cc2f7d59de764897b0e9',1,'LibraryTests.CharizardTest.TestAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#a44e2efc460aadb737ecf28f41468d5f4',1,'LibraryTests.ChikoritaTest.TestAttacks()'],['../classLibraryTests_1_1GengarTest.html#a08d3c6ef6a8e07196ac116b81387dcc4',1,'LibraryTests.GengarTest.TestAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#a6c6774992316d17c0766a7f94fdba107',1,'LibraryTests.HaxorusTest.TestAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#a91a6d02cac5887e1eae62165e70f9cc7',1,'LibraryTests.MewtwoTest.TestAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#a795661d38e354292a5af622212e144de',1,'LibraryTests.ZeraoraTest.TestAttacks()'],['../classLibraryTests_1_1CaterpieTest.html#ae3a39dc20bfd73d5795037ff846b9dd8',1,'LibraryTests.CaterpieTest.TestAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a9057848ebde0cc2f7d59de764897b0e9',1,'LibraryTests.CharizardTest.TestAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#a44e2efc460aadb737ecf28f41468d5f4',1,'LibraryTests.ChikoritaTest.TestAttacks()'],['../classLibraryTests_1_1DragoniteTest.html#af8ab9b69eb28d8f16b9bff9acf66c6a8',1,'LibraryTests.DragoniteTest.TestAttacks()'],['../classLibraryTests_1_1EnteiTest.html#affe8fa995b39ba759099a3ed98c8862f',1,'LibraryTests.EnteiTest.TestAttacks()'],['../classLibraryTests_1_1GastrodonTest.html#aea1500daa3d27cbb44c13fb7c3bb7728',1,'LibraryTests.GastrodonTest.TestAttacks()'],['../classLibraryTests_1_1GengarTest.html#a08d3c6ef6a8e07196ac116b81387dcc4',1,'LibraryTests.GengarTest.TestAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#a6c6774992316d17c0766a7f94fdba107',1,'LibraryTests.HaxorusTest.TestAttacks()'],['../classLibraryTests_1_1HydreigonTest.html#afbfc3df59f9b286a92be233c4808cd72',1,'LibraryTests.HydreigonTest.TestAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#a91a6d02cac5887e1eae62165e70f9cc7',1,'LibraryTests.MewtwoTest.TestAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#a795661d38e354292a5af622212e144de',1,'LibraryTests.ZeraoraTest.TestAttacks()']]], + ['testchangepokemon_9',['TestChangePokemon',['../classLibraryTests_1_1GameTest.html#a4d3981741bd395aabe69ebca419058c4',1,'LibraryTests::GameTest']]], + ['testconstructor_10',['TestConstructor',['../classLibraryTests_1_1SpecialAttackTest.html#a20e588c54f1972e19a42110d4f64589b',1,'LibraryTests::SpecialAttackTest']]], + ['testcurrentstateandeditstate_11',['TestCurrentStateAndEditState',['../classLibraryTests_1_1CaterpieTest.html#a611bdba831427668f0a3a31d5247563e',1,'LibraryTests.CaterpieTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1CharizardTest.html#ab39a552ec8014a61ea8e539f2639d7de',1,'LibraryTests.CharizardTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ChikoritaTest.html#a70ab22541afde74368b6a17125382a70',1,'LibraryTests.ChikoritaTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1GengarTest.html#a31dd1a7be28f9435eee912af68f8fb5c',1,'LibraryTests.GengarTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1HaxorusTest.html#a2e99bec64ca83898555c877f74902b26',1,'LibraryTests.HaxorusTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1MewtwoTest.html#a22dff77c9f73538d9f290a414165a1bc',1,'LibraryTests.MewtwoTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ZeraoraTest.html#a3e93f78d80c10921224626418b374686',1,'LibraryTests.ZeraoraTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1CaterpieTest.html#a611bdba831427668f0a3a31d5247563e',1,'LibraryTests.CaterpieTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1CharizardTest.html#ab39a552ec8014a61ea8e539f2639d7de',1,'LibraryTests.CharizardTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ChikoritaTest.html#a70ab22541afde74368b6a17125382a70',1,'LibraryTests.ChikoritaTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1DragoniteTest.html#a57ceef29e42e17f60469a82d727f965d',1,'LibraryTests.DragoniteTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1EnteiTest.html#ad8dbdc27468358184b3ccb430d7a2fda',1,'LibraryTests.EnteiTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1GastrodonTest.html#a19a70acfa68c0fc126d13dfbcb88535f',1,'LibraryTests.GastrodonTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1GengarTest.html#a31dd1a7be28f9435eee912af68f8fb5c',1,'LibraryTests.GengarTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1HaxorusTest.html#a2e99bec64ca83898555c877f74902b26',1,'LibraryTests.HaxorusTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1HydreigonTest.html#ae8764629f4f30763ab06fd2a1af60059',1,'LibraryTests.HydreigonTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1MewtwoTest.html#a22dff77c9f73538d9f290a414165a1bc',1,'LibraryTests.MewtwoTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ZeraoraTest.html#a3e93f78d80c10921224626418b374686',1,'LibraryTests.ZeraoraTest.TestCurrentStateAndEditState()']]], + ['testfindattackbyname_12',['TestFindAttackByName',['../classLibraryTests_1_1CaterpieTest.html#acbd1c374073ecdf652b15d496f000b32',1,'LibraryTests.CaterpieTest.TestFindAttackByName()'],['../classLibraryTests_1_1CharizardTest.html#a1063b391228e714452f3117fd9d4d8d8',1,'LibraryTests.CharizardTest.TestFindAttackByName()'],['../classLibraryTests_1_1ChikoritaTest.html#a2a4ae1aec5f16073485dfc944ff918b2',1,'LibraryTests.ChikoritaTest.TestFindAttackByName()'],['../classLibraryTests_1_1GengarTest.html#a0d017a884cbe408d8aa10036c52221a7',1,'LibraryTests.GengarTest.TestFindAttackByName()'],['../classLibraryTests_1_1HaxorusTest.html#a90943c2e7008575ccbab9d08dd616f33',1,'LibraryTests.HaxorusTest.TestFindAttackByName()'],['../classLibraryTests_1_1MewtwoTest.html#a4333dfbf8559385b8a2fe6880d182b77',1,'LibraryTests.MewtwoTest.TestFindAttackByName()'],['../classLibraryTests_1_1ZeraoraTest.html#a80e159271af4cc546ee2712561b67392',1,'LibraryTests.ZeraoraTest.TestFindAttackByName()']]], + ['testfindgamebyplayer_13',['TestFindGameByPlayer',['../classLibraryTests_1_1GameListTest.html#a0643e68476104275fa37144d368b185f',1,'LibraryTests::GameListTest']]], + ['testfindplayerbyname_14',['TestFindPlayerByName',['../classLibraryTests_1_1GameListTest.html#a2b03d00401332e0e5be0af38ae416b2d',1,'LibraryTests.GameListTest.TestFindPlayerByName()'],['../classLibraryTests_1_1WaitingListTest.html#ab5c373347f4922a64f20c838358b8ac3',1,'LibraryTests.WaitingListTest.TestFindPlayerByName()']]], + ['testgetgamelist_15',['TestGetGameList',['../classLibraryTests_1_1GameListTest.html#ab6c41e1195e83338035604ac75bea430',1,'LibraryTests::GameListTest']]], + ['testgetsomeone_16',['TestGetSomeone',['../classLibraryTests_1_1WaitingListTest.html#a244b48901624c5eb50756897296538ef',1,'LibraryTests::WaitingListTest']]], + ['testgetwaitinglist_17',['TestGetWaitingList',['../classLibraryTests_1_1WaitingListTest.html#a34b2c0844e2d7634326a82afa0b4f7b1',1,'LibraryTests::WaitingListTest']]], + ['testifithasfourattacks_18',['TestIfItHasFourAttacks',['../classLibraryTests_1_1CaterpieTest.html#aec8b91165973d59361fec4f9526e067e',1,'LibraryTests.CaterpieTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a038f5e6d36efefe0f5bf7e61ef1567c5',1,'LibraryTests.CharizardTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#aaa714a81ea1e7b6f9fa63e44b1ef6a50',1,'LibraryTests.ChikoritaTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1GengarTest.html#ab7f1d19b871f4487857193b35d89ec71',1,'LibraryTests.GengarTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#aaf2da21da69856ccb2f60eeb3324f93e',1,'LibraryTests.HaxorusTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#ac8458736796b288ba65e4c34d2061bab',1,'LibraryTests.MewtwoTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#ac8f35530178a4ba6be4099881680420e',1,'LibraryTests.ZeraoraTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1CaterpieTest.html#aec8b91165973d59361fec4f9526e067e',1,'LibraryTests.CaterpieTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a038f5e6d36efefe0f5bf7e61ef1567c5',1,'LibraryTests.CharizardTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#aaa714a81ea1e7b6f9fa63e44b1ef6a50',1,'LibraryTests.ChikoritaTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1DragoniteTest.html#ae6cddc0b7f6ad7a52c8c0d739ae10a3f',1,'LibraryTests.DragoniteTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1EnteiTest.html#a1a3b7af7512c576dab6c84231d7d8e53',1,'LibraryTests.EnteiTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1GastrodonTest.html#ad25439bfc3837d20e7fb4c5bec6cec72',1,'LibraryTests.GastrodonTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1GengarTest.html#ab7f1d19b871f4487857193b35d89ec71',1,'LibraryTests.GengarTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#aaf2da21da69856ccb2f60eeb3324f93e',1,'LibraryTests.HaxorusTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1HydreigonTest.html#ae1c0ff6486acdde68ccf532b2bb6d018',1,'LibraryTests.HydreigonTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#ac8458736796b288ba65e4c34d2061bab',1,'LibraryTests.MewtwoTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#ac8f35530178a4ba6be4099881680420e',1,'LibraryTests.ZeraoraTest.TestIfItHasFourAttacks()']]], + ['testinfoattack_19',['TestInfoAttack',['../classLibraryTests_1_1SpecialAttackTest.html#a217284da634f9358b4a6e01d84fc0c21',1,'LibraryTests::SpecialAttackTest']]], + ['testinstance_20',['TestInstance',['../classLibraryTests_1_1CaterpieTest.html#aa85eea6e3fc154559eb11bf7e0a10e10',1,'LibraryTests.CaterpieTest.TestInstance()'],['../classLibraryTests_1_1CharizardTest.html#aa888a6ea2d90ea216a2d2058bed4c116',1,'LibraryTests.CharizardTest.TestInstance()'],['../classLibraryTests_1_1ChikoritaTest.html#ac8ae5e64ce1303ffa6cc0c7decbdae20',1,'LibraryTests.ChikoritaTest.TestInstance()'],['../classLibraryTests_1_1DragoniteTest.html#ad9a94713c51f4b5469d43f9ff9300926',1,'LibraryTests.DragoniteTest.TestInstance()'],['../classLibraryTests_1_1EnteiTest.html#aea94e25bfe7c570bf322ffc9a7490dce',1,'LibraryTests.EnteiTest.TestInstance()'],['../classLibraryTests_1_1GastrodonTest.html#a9cf25ff93083193976a92ccced56dcf8',1,'LibraryTests.GastrodonTest.TestInstance()'],['../classLibraryTests_1_1GengarTest.html#a0a626eb3aa509788704e9ffc8c714f7b',1,'LibraryTests.GengarTest.TestInstance()'],['../classLibraryTests_1_1HaxorusTest.html#a706ea98c8a7dab6aae6b39cee15418a1',1,'LibraryTests.HaxorusTest.TestInstance()'],['../classLibraryTests_1_1HydreigonTest.html#a10a8cf632328d3901689035d4139190e',1,'LibraryTests.HydreigonTest.TestInstance()'],['../classLibraryTests_1_1MewtwoTest.html#a090e67d35b8084afeb2cbde7e5e50d8d',1,'LibraryTests.MewtwoTest.TestInstance()'],['../classLibraryTests_1_1ZeraoraTest.html#a8de69ecf207ac88161093c9da555274a',1,'LibraryTests.ZeraoraTest.TestInstance()']]], + ['testinvalidaccuracy_21',['TestInvalidAccuracy',['../classLibraryTests_1_1AttackTest.html#ac46ab2972608220d015d9cc829f33296',1,'LibraryTests.AttackTest.TestInvalidAccuracy()'],['../classLibraryTests_1_1AttackTest.html#ac46ab2972608220d015d9cc829f33296',1,'LibraryTests.AttackTest.TestInvalidAccuracy()']]], + ['testinvalidpower_22',['TestInvalidPower',['../classLibraryTests_1_1AttackTest.html#a10196ec900c49f602215757178d9e5fd',1,'LibraryTests.AttackTest.TestInvalidPower()'],['../classLibraryTests_1_1AttackTest.html#a10196ec900c49f602215757178d9e5fd',1,'LibraryTests.AttackTest.TestInvalidPower()']]], + ['testlifeandcurrentlife_23',['TestLifeAndCurrentLife',['../classLibraryTests_1_1CaterpieTest.html#aa18fa9e11b12e0dade2839c4f28b5498',1,'LibraryTests.CaterpieTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1CharizardTest.html#ac019d201962221acf413c5886d1e65a7',1,'LibraryTests.CharizardTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ChikoritaTest.html#a498eeca59ab941ff2950055a72a07952',1,'LibraryTests.ChikoritaTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1GengarTest.html#ae0f4254d586aba1e86623590761bd324',1,'LibraryTests.GengarTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1HaxorusTest.html#a584d7ca8190839e7246d92d271719eb1',1,'LibraryTests.HaxorusTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1MewtwoTest.html#a66c9be0af6db0dad0a0ade63ffa40905',1,'LibraryTests.MewtwoTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0732e7f35761031c87072667475f03a5',1,'LibraryTests.ZeraoraTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1CaterpieTest.html#aa18fa9e11b12e0dade2839c4f28b5498',1,'LibraryTests.CaterpieTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1CharizardTest.html#ac019d201962221acf413c5886d1e65a7',1,'LibraryTests.CharizardTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ChikoritaTest.html#a498eeca59ab941ff2950055a72a07952',1,'LibraryTests.ChikoritaTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1DragoniteTest.html#a6dba4678b27047a8d98a484789f83e08',1,'LibraryTests.DragoniteTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1EnteiTest.html#a7056b2e8fbddedc6ace167371b1289fe',1,'LibraryTests.EnteiTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1GastrodonTest.html#aefd44c65a353c5fddc4fd457425f3f42',1,'LibraryTests.GastrodonTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1GengarTest.html#ae0f4254d586aba1e86623590761bd324',1,'LibraryTests.GengarTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1HaxorusTest.html#a584d7ca8190839e7246d92d271719eb1',1,'LibraryTests.HaxorusTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1HydreigonTest.html#a0127c490d902e6f7c97785f3305b70c8',1,'LibraryTests.HydreigonTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1MewtwoTest.html#a66c9be0af6db0dad0a0ade63ffa40905',1,'LibraryTests.MewtwoTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0732e7f35761031c87072667475f03a5',1,'LibraryTests.ZeraoraTest.TestLifeAndCurrentLife()']]], + ['testlowercooldown_24',['TestLowerCooldown',['../classLibraryTests_1_1SpecialAttackTest.html#a4d46e47a7c4e6d83eafa3b86e4c00747',1,'LibraryTests::SpecialAttackTest']]], + ['testname_25',['TestName',['../classLibraryTests_1_1CaterpieTest.html#a0aa5f21bb145d462a33dd35fe306bf16',1,'LibraryTests.CaterpieTest.TestName()'],['../classLibraryTests_1_1CharizardTest.html#a0d37c28328723fca353b58356cf18833',1,'LibraryTests.CharizardTest.TestName()'],['../classLibraryTests_1_1ChikoritaTest.html#a98efe9ea8c4a2947294cfc081b740789',1,'LibraryTests.ChikoritaTest.TestName()'],['../classLibraryTests_1_1GengarTest.html#a9cfc9ee0d5748984c33d77dc04b1c3be',1,'LibraryTests.GengarTest.TestName()'],['../classLibraryTests_1_1HaxorusTest.html#a4dc74a1f15206614d597b5cfc2886e7e',1,'LibraryTests.HaxorusTest.TestName()'],['../classLibraryTests_1_1MewtwoTest.html#a4cd7b9897b81bca8814b97dcaed00ca1',1,'LibraryTests.MewtwoTest.TestName()'],['../classLibraryTests_1_1ZeraoraTest.html#a46a60a8c001fd6e79e18d33a10268991',1,'LibraryTests.ZeraoraTest.TestName()'],['../classLibraryTests_1_1CaterpieTest.html#a0aa5f21bb145d462a33dd35fe306bf16',1,'LibraryTests.CaterpieTest.TestName()'],['../classLibraryTests_1_1CharizardTest.html#a0d37c28328723fca353b58356cf18833',1,'LibraryTests.CharizardTest.TestName()'],['../classLibraryTests_1_1ChikoritaTest.html#a98efe9ea8c4a2947294cfc081b740789',1,'LibraryTests.ChikoritaTest.TestName()'],['../classLibraryTests_1_1DragoniteTest.html#af4bcbd2f3b86b754047c63b0e37cefba',1,'LibraryTests.DragoniteTest.TestName()'],['../classLibraryTests_1_1EnteiTest.html#a4268e39f3396eee8de7753fc6feb5858',1,'LibraryTests.EnteiTest.TestName()'],['../classLibraryTests_1_1GastrodonTest.html#ac02bc60df432c284e2bcdf2299ae1263',1,'LibraryTests.GastrodonTest.TestName()'],['../classLibraryTests_1_1GengarTest.html#a9cfc9ee0d5748984c33d77dc04b1c3be',1,'LibraryTests.GengarTest.TestName()'],['../classLibraryTests_1_1HaxorusTest.html#a4dc74a1f15206614d597b5cfc2886e7e',1,'LibraryTests.HaxorusTest.TestName()'],['../classLibraryTests_1_1HydreigonTest.html#a39c4d7450b299fc91401628bda72b611',1,'LibraryTests.HydreigonTest.TestName()'],['../classLibraryTests_1_1MewtwoTest.html#a4cd7b9897b81bca8814b97dcaed00ca1',1,'LibraryTests.MewtwoTest.TestName()'],['../classLibraryTests_1_1ZeraoraTest.html#a46a60a8c001fd6e79e18d33a10268991',1,'LibraryTests.ZeraoraTest.TestName()']]], + ['testnullname_26',['TestNullName',['../classLibraryTests_1_1AttackTest.html#af9e96d60b4350702eeff21e93e90df39',1,'LibraryTests.AttackTest.TestNullName()'],['../classLibraryTests_1_1AttackTest.html#af9e96d60b4350702eeff21e93e90df39',1,'LibraryTests.AttackTest.TestNullName()']]], + ['testpower0_27',['TestPower0',['../classLibraryTests_1_1AttackTest.html#a0418233661dd028c7ae3b1bf8fef16dc',1,'LibraryTests.AttackTest.TestPower0()'],['../classLibraryTests_1_1AttackTest.html#a0418233661dd028c7ae3b1bf8fef16dc',1,'LibraryTests.AttackTest.TestPower0()']]], + ['testremovegame_28',['TestRemoveGame',['../classLibraryTests_1_1GameListTest.html#ab3b3b6784694918a7c1f24da80ecc85f',1,'LibraryTests::GameListTest']]], + ['testremoveplayer_29',['TestRemovePlayer',['../classLibraryTests_1_1WaitingListTest.html#a050f533da395bae1689d73811427ab5a',1,'LibraryTests::WaitingListTest']]], + ['testrestorebaselifetakedamageandgetlife_30',['TestRestoreBaseLifeTakeDamageAndGetLife',['../classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b',1,'LibraryTests.CaterpieTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334',1,'LibraryTests.CharizardTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453',1,'LibraryTests.ChikoritaTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913',1,'LibraryTests.GengarTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e',1,'LibraryTests.HaxorusTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7',1,'LibraryTests.MewtwoTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249',1,'LibraryTests.ZeraoraTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b',1,'LibraryTests.CaterpieTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334',1,'LibraryTests.CharizardTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453',1,'LibraryTests.ChikoritaTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1DragoniteTest.html#a1dde17c1aea64ebdb75a983bf5f12b60',1,'LibraryTests.DragoniteTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1EnteiTest.html#aa82a9c1b79b43ba188af744e543a4a50',1,'LibraryTests.EnteiTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1GastrodonTest.html#a0c42f999522d5ccee0f79c9bfc8c3fdf',1,'LibraryTests.GastrodonTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913',1,'LibraryTests.GengarTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e',1,'LibraryTests.HaxorusTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1HydreigonTest.html#a81eea89f8585fd3ee470a8c9fb192596',1,'LibraryTests.HydreigonTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7',1,'LibraryTests.MewtwoTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249',1,'LibraryTests.ZeraoraTest.TestRestoreBaseLifeTakeDamageAndGetLife()']]], + ['tests_31',['Tests',['../namespaceTests.html',1,'']]], + ['testsetcooldown_32',['TestSetCooldown',['../classLibraryTests_1_1SpecialAttackTest.html#a5204d99b5179e0810fb67da909e9ac0d',1,'LibraryTests::SpecialAttackTest']]], + ['testshowitems_33',['TestShowItems',['../classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd',1,'LibraryTests::FacadeTest']]], + ['testspecialattack_34',['TestSpecialAttack',['../classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8',1,'LibraryTests.SpecialAttackTest.TestSpecialAttack()'],['../classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8',1,'LibraryTests.SpecialAttackTest.TestSpecialAttack()']]], + ['testsurrender_35',['TestSurrender',['../classLibraryTests_1_1FacadeTest.html#a59409b12f5f11ca59b1722c05da89de0',1,'LibraryTests::FacadeTest']]], + ['testtype_36',['TestType',['../classLibraryTests_1_1CaterpieTest.html#a7b4ee7a345f79da04d1ffff31e966ca7',1,'LibraryTests.CaterpieTest.TestType()'],['../classLibraryTests_1_1CharizardTest.html#a35f39e1f8d1c9522045f654382cea043',1,'LibraryTests.CharizardTest.TestType()'],['../classLibraryTests_1_1ChikoritaTest.html#aa9cef46fe3c120f2075431e01d7cc975',1,'LibraryTests.ChikoritaTest.TestType()'],['../classLibraryTests_1_1GengarTest.html#aa529cc291b6d57cc9baa88aae3c3b001',1,'LibraryTests.GengarTest.TestType()'],['../classLibraryTests_1_1HaxorusTest.html#ab68e5de12f32b74f431e12338d436b3f',1,'LibraryTests.HaxorusTest.TestType()'],['../classLibraryTests_1_1MewtwoTest.html#ab434507bebaeadad75fab7332f5cc7a8',1,'LibraryTests.MewtwoTest.TestType()'],['../classLibraryTests_1_1ZeraoraTest.html#a59fca7f6820c24b8c61f7e2e5aeca317',1,'LibraryTests.ZeraoraTest.TestType()'],['../classLibraryTests_1_1CaterpieTest.html#a7b4ee7a345f79da04d1ffff31e966ca7',1,'LibraryTests.CaterpieTest.TestType()'],['../classLibraryTests_1_1CharizardTest.html#a35f39e1f8d1c9522045f654382cea043',1,'LibraryTests.CharizardTest.TestType()'],['../classLibraryTests_1_1ChikoritaTest.html#aa9cef46fe3c120f2075431e01d7cc975',1,'LibraryTests.ChikoritaTest.TestType()'],['../classLibraryTests_1_1DragoniteTest.html#a4289f2b0e451139309fe3a49c3828285',1,'LibraryTests.DragoniteTest.TestType()'],['../classLibraryTests_1_1EnteiTest.html#a3b519999367a76775a4e0dee5a3f004c',1,'LibraryTests.EnteiTest.TestType()'],['../classLibraryTests_1_1GastrodonTest.html#ad5ca8b4fc25e70ec24cf1cedc10e83d4',1,'LibraryTests.GastrodonTest.TestType()'],['../classLibraryTests_1_1GengarTest.html#aa529cc291b6d57cc9baa88aae3c3b001',1,'LibraryTests.GengarTest.TestType()'],['../classLibraryTests_1_1HaxorusTest.html#ab68e5de12f32b74f431e12338d436b3f',1,'LibraryTests.HaxorusTest.TestType()'],['../classLibraryTests_1_1HydreigonTest.html#a80f3ed3b1f9b05baa8e75fc3fb3d66d0',1,'LibraryTests.HydreigonTest.TestType()'],['../classLibraryTests_1_1MewtwoTest.html#ab434507bebaeadad75fab7332f5cc7a8',1,'LibraryTests.MewtwoTest.TestType()'],['../classLibraryTests_1_1ZeraoraTest.html#a59fca7f6820c24b8c61f7e2e5aeca317',1,'LibraryTests.ZeraoraTest.TestType()']]], + ['testuserstory1_37',['TestUserStory1',['../classLibraryTests_1_1FacadeTest.html#a0c532a87220e7aa87b92a92e99c193c0',1,'LibraryTests::FacadeTest']]], + ['testuserstory10_38',['TestUserStory10',['../classLibraryTests_1_1FacadeTest.html#a37b9657e8da7c1732b914ff3ff5a5ac0',1,'LibraryTests.FacadeTest.TestUserStory10()'],['../classLibraryTests_1_1FacadeTest.html#a37b9657e8da7c1732b914ff3ff5a5ac0',1,'LibraryTests.FacadeTest.TestUserStory10()']]], + ['testuserstory11_39',['TestUserStory11',['../classLibraryTests_1_1FacadeTest.html#ab3570deef98f9efd32b87177c43f9e25',1,'LibraryTests.FacadeTest.TestUserStory11()'],['../classLibraryTests_1_1FacadeTest.html#ab3570deef98f9efd32b87177c43f9e25',1,'LibraryTests.FacadeTest.TestUserStory11()']]], + ['testuserstory1add1pokemon_40',['TestUserStory1Add1Pokemon',['../classLibraryTests_1_1FacadeTest.html#a10bd8bf843aaa0239a2b9a75a1f01d55',1,'LibraryTests::FacadeTest']]], + ['testuserstory1fullteam_41',['TestUserStory1FullTeam',['../classLibraryTests_1_1FacadeTest.html#ac182763b9e55bee3ace5da415ab5f5b5',1,'LibraryTests::FacadeTest']]], + ['testuserstory1lastpokemon_42',['TestUserStory1LastPokemon',['../classLibraryTests_1_1FacadeTest.html#a538b13d1b3f8d861bf5a4ab1525cf9c0',1,'LibraryTests::FacadeTest']]], + ['testuserstory1playernotingame_43',['TestUserStory1PlayerNotInGame',['../classLibraryTests_1_1FacadeTest.html#a7364d08447ab4746282162e85f0b0ea6',1,'LibraryTests::FacadeTest']]], + ['testuserstory1repeatedpokemon_44',['TestUserStory1RepeatedPokemon',['../classLibraryTests_1_1FacadeTest.html#a5db4ed9186bb93b71c48c0284fa6209e',1,'LibraryTests::FacadeTest']]], + ['testuserstory1unknownpokemon_45',['TestUserStory1UnknownPokemon',['../classLibraryTests_1_1FacadeTest.html#abbba8e9f24b1b2d8b74bb5c23165eac6',1,'LibraryTests::FacadeTest']]], + ['testuserstory2_46',['TestUserStory2',['../classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6',1,'LibraryTests.FacadeTest.TestUserStory2()'],['../classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6',1,'LibraryTests.FacadeTest.TestUserStory2()']]], + ['testuserstory3_47',['TestUserStory3',['../classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817',1,'LibraryTests::FacadeTest']]], + ['testuserstory31pokemon_48',['TestUserStory31Pokemon',['../classLibraryTests_1_1FacadeTest.html#ad457dd01813745d9531ce7f619201084',1,'LibraryTests::FacadeTest']]], + ['testuserstory3fullteams_49',['TestUserStory3FullTeams',['../classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b',1,'LibraryTests::FacadeTest']]], + ['testuserstory3nullplayer_50',['TestUserStory3NullPlayer',['../classLibraryTests_1_1FacadeTest.html#ac97c5863dec4cad34b9571fc6f9fbec2',1,'LibraryTests::FacadeTest']]], + ['testuserstory4_51',['TestUserStory4',['../classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73',1,'LibraryTests::FacadeTest']]], + ['testuserstory4fullteams_52',['TestUserStory4FullTeams',['../classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940',1,'LibraryTests::FacadeTest']]], + ['testuserstory4incompleteteams_53',['TestUserStory4IncompleteTeams',['../classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107',1,'LibraryTests::FacadeTest']]], + ['testuserstory4inmune_54',['TestUserStory4Inmune',['../classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452',1,'LibraryTests::FacadeTest']]], + ['testuserstory4notveryeffective_55',['TestUserStory4NotVeryEffective',['../classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca',1,'LibraryTests::FacadeTest']]], + ['testuserstory4nullplayer_56',['TestUserStory4NullPlayer',['../classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e',1,'LibraryTests::FacadeTest']]], + ['testuserstory4supereffectiveattack_57',['TestUserStory4SuperEffectiveAttack',['../classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8',1,'LibraryTests::FacadeTest']]], + ['testuserstory5_58',['TestUserStory5',['../classLibraryTests_1_1FacadeTest.html#aba6d127eb4dbc71cbd758dc3e41ecb5d',1,'LibraryTests.FacadeTest.TestUserStory5()'],['../classLibraryTests_1_1FacadeTest.html#aba6d127eb4dbc71cbd758dc3e41ecb5d',1,'LibraryTests.FacadeTest.TestUserStory5()']]], + ['testuserstory5unknownplayer_59',['TestUserStory5UnknownPlayer',['../classLibraryTests_1_1FacadeTest.html#a6d83b0ec9d372f3f9d019ae3ac6158b3',1,'LibraryTests::FacadeTest']]], + ['testuserstory6_60',['TestUserStory6',['../classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a',1,'LibraryTests.FacadeTest.TestUserStory6()'],['../classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a',1,'LibraryTests.FacadeTest.TestUserStory6()']]], + ['testuserstory6nullgame_61',['TestUserStory6NullGame',['../classLibraryTests_1_1FacadeTest.html#a449e40612f3960914c79b6196b20196c',1,'LibraryTests::FacadeTest']]], + ['testuserstory6winnertest_62',['TestUserStory6WinnerTest',['../classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb',1,'LibraryTests::FacadeTest']]], + ['testuserstory7_63',['TestUserStory7',['../classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c',1,'LibraryTests.FacadeTest.TestUserStory7()'],['../classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c',1,'LibraryTests.FacadeTest.TestUserStory7()']]], + ['testuserstory7notingame_64',['TestUserStory7NotInGame',['../classLibraryTests_1_1FacadeTest.html#add57cb11e369fb7a1488cb5a855a0dda',1,'LibraryTests::FacadeTest']]], + ['testuserstory8_65',['TestUserStory8',['../classLibraryTests_1_1FacadeTest.html#afbd379e47a09ca21177b0d80591ab6f9',1,'LibraryTests::FacadeTest']]], + ['testuserstory8expecteduse_66',['TestUserStory8ExpectedUse',['../classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1',1,'LibraryTests::FacadeTest']]], + ['testuserstory8inactiveplayer_67',['TestUserStory8InactivePlayer',['../classLibraryTests_1_1FacadeTest.html#a36324ef55159b9fda15f8af4ffed2867',1,'LibraryTests::FacadeTest']]], + ['testuserstory8nullplayer_68',['TestUserStory8NullPlayer',['../classLibraryTests_1_1FacadeTest.html#a6b45fc35666be45766e90987788d3842',1,'LibraryTests::FacadeTest']]], + ['testuserstory8playersnotready_69',['TestUserStory8PlayersNotReady',['../classLibraryTests_1_1FacadeTest.html#a6cbb0df5960d492889cbe914ff9786f4',1,'LibraryTests::FacadeTest']]], + ['testuserstory9_70',['TestUserStory9',['../classLibraryTests_1_1FacadeTest.html#a600ac1d267ea06534f36a83cee7bc829',1,'LibraryTests.FacadeTest.TestUserStory9()'],['../classLibraryTests_1_1FacadeTest.html#a600ac1d267ea06534f36a83cee7bc829',1,'LibraryTests.FacadeTest.TestUserStory9()']]], + ['testuserstory9_5f1_71',['TestUserStory9_1',['../classLibraryTests_1_1FacadeTest.html#af138d4012ab860533759da2839dcde10',1,'LibraryTests::FacadeTest']]], + ['testwinnerplayer1_72',['TestWinnerPlayer1',['../classLibraryTests_1_1GameTest.html#a57bf287b4709e4ead91451a31c009692',1,'LibraryTests::GameTest']]], + ['testwinnerplayer2_73',['TestWinnerPlayer2',['../classLibraryTests_1_1GameTest.html#aa81b288826686b2b502032d0973b517f',1,'LibraryTests::GameTest']]], + ['traintests_74',['TrainTests',['../classTests_1_1TrainTests.html',1,'Tests']]], + ['turncount_75',['TurnCount',['../classLibrary_1_1Game.html#ae0504c37107702ca94be1ce077030d49',1,'Library::Game']]], + ['type_76',['Type',['../classLibrary_1_1Attack.html#a76376f8b7b4f12e07b6f1833c4cc97dc',1,'Library.Attack.Type'],['../interfaceLibrary_1_1IAttack.html#a41e4a57f84f7121b9c7e55b56510bd6b',1,'Library.IAttack.Type'],['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609',1,'Library.Type'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977d',1,'Library.Type']]] ]; diff --git a/docs/html/search/all_12.js b/docs/html/search/all_12.js index ed49f78..cc74f8c 100644 --- a/docs/html/search/all_12.js +++ b/docs/html/search/all_12.js @@ -1,5 +1,14 @@ var searchData= [ - ['waitinglist_0',['WaitingList',['../classLibrary_1_1WaitingList.html',1,'Library']]], - ['winner_1',['Winner',['../classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01',1,'Library::Game']]] + ['ucu_0',['Ucu',['../namespaceUcu.html',1,'']]], + ['ucu_3a_3apoo_1',['Poo',['../namespaceUcu_1_1Poo.html',1,'Ucu']]], + ['ucu_3a_3apoo_3a_3adiscordbot_2',['DiscordBot',['../namespaceUcu_1_1Poo_1_1DiscordBot.html',1,'Ucu::Poo']]], + ['ucu_3a_3apoo_3a_3adiscordbot_3a_3acommands_3',['Commands',['../namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands.html',1,'Ucu::Poo::DiscordBot']]], + ['ucu_3a_3apoo_3a_3adiscordbot_3a_3aservices_4',['Services',['../namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services.html',1,'Ucu::Poo::DiscordBot']]], + ['use_5',['Use',['../classLibrary_1_1FullHealth.html#a29002d67a7ba064d8d8d9e8330f4eb8f',1,'Library.FullHealth.Use()'],['../interfaceLibrary_1_1IItem.html#a4329d015044ee4837cb2ebd63727f272',1,'Library.IItem.Use()'],['../classLibrary_1_1Revive.html#a0346e9117c28441709084b54e2e6ac70',1,'Library.Revive.Use()'],['../classLibrary_1_1SuperPotion.html#a8cd462889e7028c7d0132023256380dc',1,'Library.SuperPotion.Use()'],['../classLibrary_1_1FullHealth.html#aef4385c929df1a68fb6eb20e32460094',1,'Library.FullHealth.Use()'],['../interfaceLibrary_1_1IItem.html#a4329d015044ee4837cb2ebd63727f272',1,'Library.IItem.Use()'],['../classLibrary_1_1Revive.html#a0346e9117c28441709084b54e2e6ac70',1,'Library.Revive.Use()'],['../classLibrary_1_1SuperPotion.html#aae3ac88e1fc61191e70f6b9c54ec8588',1,'Library.SuperPotion.Use()']]], + ['useanitem_6',['UseAnItem',['../classLibrary_1_1Facade.html#a95c0e8427585bfbc9cdd72b9accb92aa',1,'Library.Facade.UseAnItem(string playerName, string item, string pokemon)'],['../classLibrary_1_1Facade.html#ac824fa926ae85650e174fad4cd2a738d',1,'Library.Facade.UseAnItem(string playerName, string item, string pokemon)']]], + ['usecommand_7',['UseCommand',['../classLibrary_1_1Commands_1_1UseCommand.html',1,'Library::Commands']]], + ['useitem_8',['UseItem',['../classLibrary_1_1Game.html#a35db53b070d4c81bbc40b9a10ffdeede',1,'Library.Game.UseItem(IItem item, Pokemon pokemon)'],['../classLibrary_1_1Game.html#ab7db3ee6536d824f47d94c629f78678b',1,'Library.Game.UseItem(IItem? item, Pokemon? pokemon)']]], + ['useitemcommand_9',['UseItemCommand',['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html',1,'Ucu::Poo::DiscordBot::Commands']]], + ['userinfocommand_10',['UserInfoCommand',['../classLibrary_1_1Commands_1_1UserInfoCommand.html',1,'Library::Commands']]] ]; diff --git a/docs/html/search/all_13.js b/docs/html/search/all_13.js index 314e22c..d05c48f 100644 --- a/docs/html/search/all_13.js +++ b/docs/html/search/all_13.js @@ -1,5 +1,8 @@ var searchData= [ - ['zeraora_0',['Zeraora',['../classLibrary_1_1Zeraora.html',1,'Library.Zeraora'],['../classLibrary_1_1Zeraora.html#af4878849f3aea6f91f6207cd79394856',1,'Library.Zeraora.Zeraora()']]], - ['zeraoratest_1',['ZeraoraTest',['../classLibraryTests_1_1ZeraoraTest.html',1,'LibraryTests']]] + ['waitingcommand_0',['WaitingCommand',['../classLibrary_1_1Commands_1_1WaitingCommand.html',1,'Library::Commands']]], + ['waitinglist_1',['WaitingList',['../classLibrary_1_1WaitingList.html',1,'Library']]], + ['waitinglisttest_2',['WaitingListTest',['../classLibraryTests_1_1WaitingListTest.html',1,'LibraryTests']]], + ['water_3',['Water',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a27634ff8002b12e75d98e07ccd005d18',1,'Library.Water'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da27634ff8002b12e75d98e07ccd005d18',1,'Library.Water']]], + ['winner_4',['Winner',['../classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01',1,'Library.Game.Winner()'],['../classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01',1,'Library.Game.Winner()']]] ]; diff --git a/docs/html/search/all_14.js b/docs/html/search/all_14.js new file mode 100644 index 0000000..a48268d --- /dev/null +++ b/docs/html/search/all_14.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['zeraora_0',['Zeraora',['../classLibrary_1_1Zeraora.html',1,'Library.Zeraora'],['../classLibrary_1_1Zeraora.html#af4878849f3aea6f91f6207cd79394856',1,'Library.Zeraora.Zeraora()'],['../classLibrary_1_1Zeraora.html#af4878849f3aea6f91f6207cd79394856',1,'Library.Zeraora.Zeraora()']]], + ['zeraoratest_1',['ZeraoraTest',['../classLibraryTests_1_1ZeraoraTest.html',1,'LibraryTests']]] +]; diff --git a/docs/html/search/all_2.js b/docs/html/search/all_2.js index 7d9724a..d59a5c2 100644 --- a/docs/html/search/all_2.js +++ b/docs/html/search/all_2.js @@ -1,21 +1,33 @@ var searchData= [ - ['cómo_20deshabilitar_20temporalmente_20los_20avisos_20al_20compilar_0',['Cómo deshabilitar temporalmente los avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'']]], - ['caterpie_1',['Caterpie',['../classLibrary_1_1Caterpie.html',1,'Library.Caterpie'],['../classLibrary_1_1Caterpie.html#ae2d6f0acc15e9eeb563954e5ef074376',1,'Library.Caterpie.Caterpie()']]], - ['caterpietest_2',['CaterpieTest',['../classLibraryTests_1_1CaterpieTest.html',1,'LibraryTests']]], - ['changepokemon_3',['ChangePokemon',['../classLibrary_1_1Game.html#a9dd5a455b44cc24f7f9a6e9bcdc37b69',1,'Library::Game']]], - ['charizard_4',['Charizard',['../classLibrary_1_1Charizard.html',1,'Library.Charizard'],['../classLibrary_1_1Charizard.html#a267dc6497037441ff055455e4200a8cc',1,'Library.Charizard.Charizard()']]], - ['charizardtest_5',['CharizardTest',['../classLibraryTests_1_1CharizardTest.html',1,'LibraryTests']]], - ['checkplayeringame_6',['CheckPlayerInGame',['../classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce',1,'Library::Game']]], - ['chikorita_7',['Chikorita',['../classLibrary_1_1Chikorita.html',1,'Library.Chikorita'],['../classLibrary_1_1Chikorita.html#abd7e98874044dbf7460be88ef436413d',1,'Library.Chikorita.Chikorita()']]], - ['chikoritatest_8',['ChikoritaTest',['../classLibraryTests_1_1ChikoritaTest.html',1,'LibraryTests']]], - ['compilar_9',['compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], - ['configurado_20en_20esta_20plantilla_10',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]], - ['consoleapplication_11',['ConsoleApplication',['../namespaceConsoleApplication.html',1,'']]], - ['convenciones_12',['Convenciones',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md1',1,'']]], - ['cooldown_13',['Cooldown',['../classLibrary_1_1SpecialAttack.html#a58f4b6ae4896cab5e715a04a2e4fcc01',1,'Library::SpecialAttack']]], - ['cooldowncheck_14',['CooldownCheck',['../classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825',1,'Library::Game']]], - ['count_15',['Count',['../classLibrary_1_1WaitingList.html#a8f9daa717e847b045e7993eca2a9ffc6',1,'Library::WaitingList']]], - ['currentlife_16',['CurrentLife',['../classLibrary_1_1Pokemon.html#a22ca730a00fd8562770b3a8368897f25',1,'Library::Pokemon']]], - ['currentstate_17',['CurrentState',['../classLibrary_1_1Pokemon.html#a423956363e32e80834a204efcc9d9d45',1,'Library::Pokemon']]] + ['cómo_20deshabilitar_20temporalmente_20los_20avisos_20al_20compilar_0',['Cómo deshabilitar temporalmente los avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md9',1,'Cómo deshabilitar temporalmente los avisos al compilar']]], + ['calculatedamage_1',['CalculateDamage',['../classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d',1,'Library.DamageCalculator.CalculateDamage(Pokemon attackedPokemon, Attack attack)'],['../classLibrary_1_1DamageCalculator.html#a441bd820eda5da6d69edcc4e5b7d8752',1,'Library.DamageCalculator.CalculateDamage(Pokemon attackedPokemon, Attack attack, Player attackedPlayer)']]], + ['cataloguecommand_2',['CatalogueCommand',['../classLibrary_1_1Commands_1_1CatalogueCommand.html',1,'Library::Commands']]], + ['caterpie_3',['Caterpie',['../classLibrary_1_1Caterpie.html',1,'Library.Caterpie'],['../classLibrary_1_1Caterpie.html#ae2d6f0acc15e9eeb563954e5ef074376',1,'Library.Caterpie.Caterpie()'],['../classLibrary_1_1Caterpie.html#ae2d6f0acc15e9eeb563954e5ef074376',1,'Library.Caterpie.Caterpie()']]], + ['caterpietest_4',['CaterpieTest',['../classLibraryTests_1_1CaterpieTest.html',1,'LibraryTests']]], + ['changecommand_5',['ChangeCommand',['../classLibrary_1_1Commands_1_1ChangeCommand.html',1,'Library::Commands']]], + ['changepokemon_6',['ChangePokemon',['../classLibrary_1_1Facade.html#a8997a21e19d2a44cd060422768dfbddd',1,'Library.Facade.ChangePokemon()'],['../classLibrary_1_1Game.html#a9dd5a455b44cc24f7f9a6e9bcdc37b69',1,'Library.Game.ChangePokemon()'],['../classLibrary_1_1Facade.html#a1519c6b71e81f41a591e639f950cee76',1,'Library.Facade.ChangePokemon()'],['../classLibrary_1_1Game.html#a808107e5f5a88e6540524ba4829a8dc0',1,'Library.Game.ChangePokemon()']]], + ['changepokemoncommand_7',['ChangePokemonCommand',['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html',1,'Ucu::Poo::DiscordBot::Commands']]], + ['charizard_8',['Charizard',['../classLibrary_1_1Charizard.html',1,'Library.Charizard'],['../classLibrary_1_1Charizard.html#a267dc6497037441ff055455e4200a8cc',1,'Library.Charizard.Charizard()'],['../classLibrary_1_1Charizard.html#a267dc6497037441ff055455e4200a8cc',1,'Library.Charizard.Charizard()']]], + ['charizardtest_9',['CharizardTest',['../classLibraryTests_1_1CharizardTest.html',1,'LibraryTests']]], + ['checkgamestatus_10',['CheckGameStatus',['../classLibrary_1_1Facade.html#a26ddb0a7ae0b909f2ded88a249a58aaa',1,'Library.Facade.CheckGameStatus(Game game)'],['../classLibrary_1_1Facade.html#af9bbf1fdcb0970ec13c23d7bd93276ef',1,'Library.Facade.CheckGameStatus(Game game)']]], + ['checkplayeringame_11',['CheckPlayerInGame',['../classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce',1,'Library.Game.CheckPlayerInGame(Player checkPlayer)'],['../classLibrary_1_1Game.html#ab370b9b1542bb083d78f1708cc8ef07b',1,'Library.Game.CheckPlayerInGame(Player? checkPlayer)']]], + ['checkturn_12',['CheckTurn',['../classLibrary_1_1Facade.html#a99bd9042b777684a16c6d1977b9de625',1,'Library.Facade.CheckTurn(string playerName)'],['../classLibrary_1_1Facade.html#a976667038f4d0db5b62263a394504557',1,'Library.Facade.CheckTurn(string playerName)']]], + ['checkturncommand_13',['CheckTurnCommand',['../classLibrary_1_1Commands_1_1CheckTurnCommand.html',1,'Library::Commands']]], + ['chikorita_14',['Chikorita',['../classLibrary_1_1Chikorita.html',1,'Library.Chikorita'],['../classLibrary_1_1Chikorita.html#abd7e98874044dbf7460be88ef436413d',1,'Library.Chikorita.Chikorita()'],['../classLibrary_1_1Chikorita.html#abd7e98874044dbf7460be88ef436413d',1,'Library.Chikorita.Chikorita()']]], + ['chikoritatest_15',['ChikoritaTest',['../classLibraryTests_1_1ChikoritaTest.html',1,'LibraryTests']]], + ['chooseattack_16',['ChooseAttack',['../classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84',1,'Library.Facade.ChooseAttack(string playerName, string attackName)'],['../classLibrary_1_1Facade.html#a1f5339c8342daf1f8ae3cd6aacf7fab8',1,'Library.Facade.ChooseAttack(string playerName, string attackName)']]], + ['choosecommand_17',['ChooseCommand',['../classLibrary_1_1Commands_1_1ChooseCommand.html',1,'Library.Commands.ChooseCommand'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html',1,'Ucu.Poo.DiscordBot.Commands.ChooseCommand']]], + ['chooserandom_18',['ChooseRandom',['../classLibrary_1_1Facade.html#a61547f8ddbb1a86128d810e18d1891fe',1,'Library::Facade']]], + ['chooserandomcommand_19',['ChooseRandomCommand',['../classLibrary_1_1Commands_1_1ChooseRandomCommand.html',1,'Library::Commands']]], + ['chooseteam_20',['ChooseTeam',['../classLibrary_1_1Facade.html#a542c335b954dab9971c87d83de9ccc97',1,'Library.Facade.ChooseTeam(string playerName, string cPokemon)'],['../classLibrary_1_1Facade.html#a1b275983d998bde8b135c652e3c48a93',1,'Library.Facade.ChooseTeam(string playerName, string pokemonName)']]], + ['compilar_21',['compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md9',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md8',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], + ['configurado_20en_20esta_20plantilla_22',['configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]], + ['convenciones_23',['Convenciones',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md1',1,'Convenciones'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md7',1,'Convenciones']]], + ['cooldown_24',['Cooldown',['../classLibrary_1_1SpecialAttack.html#af68e37d318a2b43b12644859262eb22d',1,'Library::SpecialAttack']]], + ['cooldowncheck_25',['CooldownCheck',['../classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825',1,'Library.Game.CooldownCheck()'],['../classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825',1,'Library.Game.CooldownCheck()']]], + ['count_26',['Count',['../classLibrary_1_1WaitingList.html#a706d5e046a93ae0243416005baed5491',1,'Library::WaitingList']]], + ['criticalcheck_27',['CriticalCheck',['../classLibrary_1_1DamageCalculator.html#a3a2f89d68ff61105914612a5c1fdcae3',1,'Library.DamageCalculator.CriticalCheck()'],['../classLibrary_1_1DamageCalculator.html#a89e81852f3b95bd2aadc9644c50b7364',1,'Library.DamageCalculator.CriticalCheck()'],['../interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html#aff67cf04282f5bb52593bd366ae6d2a2',1,'Library.Strategies.IStrategyCritCheck.CriticalCheck()'],['../classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html#a94a0f129345faf61790a674ffc3a6dcc',1,'Library.Strategies.StrategyAlwaysCrit.CriticalCheck()'],['../classLibrary_1_1Strategies_1_1StrategyNonCrit.html#a0084cc3ea0685b6a93186a61014e0f28',1,'Library.Strategies.StrategyNonCrit.CriticalCheck()'],['../classLibrary_1_1Strategies_1_1StrategyRandomCrit.html#a1b7bca323f6a35eea849b8724a3b7515',1,'Library.Strategies.StrategyRandomCrit.CriticalCheck()']]], + ['currentlife_28',['CurrentLife',['../classLibrary_1_1Pokemon.html#a4f7482fcbe850721ce4e6d5f65d20c6f',1,'Library::Pokemon']]], + ['currentstate_29',['CurrentState',['../classLibrary_1_1Pokemon.html#a7deed35f1ad0dbe47c887de2f8b39d8e',1,'Library::Pokemon']]] ]; diff --git a/docs/html/search/all_3.js b/docs/html/search/all_3.js index 8d45205..fbad44e 100644 --- a/docs/html/search/all_3.js +++ b/docs/html/search/all_3.js @@ -1,5 +1,9 @@ var searchData= [ - ['dónde_20encontrar_20información_20sobre_20los_20errores_20avisos_20al_20compilar_0',['Dónde encontrar información sobre los errores/avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'']]], - ['deshabilitar_20temporalmente_20los_20avisos_20al_20compilar_1',['Cómo deshabilitar temporalmente los avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'']]] + ['dónde_20encontrar_20información_20sobre_20los_20errores_20avisos_20al_20compilar_0',['Dónde encontrar información sobre los errores avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md8',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], + ['damagecalculator_1',['DamageCalculator',['../classLibrary_1_1DamageCalculator.html',1,'Library.DamageCalculator'],['../classLibrary_1_1DamageCalculator.html#af66d9c27e30f3129ec3a32aab9482df8',1,'Library.DamageCalculator.DamageCalculator()']]], + ['deshabilitar_20temporalmente_20los_20avisos_20al_20compilar_2',['deshabilitar temporalmente los avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md9',1,'Cómo deshabilitar temporalmente los avisos al compilar']]], + ['dragon_3',['Dragon',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a583f4be146b6127f9e4f3f036ce7df43',1,'Library.Dragon'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da583f4be146b6127f9e4f3f036ce7df43',1,'Library.Dragon']]], + ['dragonite_4',['Dragonite',['../classLibrary_1_1Dragonite.html',1,'Library.Dragonite'],['../classLibrary_1_1Dragonite.html#a1a4ed66e4fb896604d351fe6f13fc63a',1,'Library.Dragonite.Dragonite()']]], + ['dragonitetest_5',['DragoniteTest',['../classLibraryTests_1_1DragoniteTest.html',1,'LibraryTests']]] ]; diff --git a/docs/html/search/all_4.js b/docs/html/search/all_4.js index 758fa63..767936f 100644 --- a/docs/html/search/all_4.js +++ b/docs/html/search/all_4.js @@ -1,9 +1,14 @@ var searchData= [ - ['editstate_0',['EditState',['../classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53',1,'Library::Pokemon']]], - ['en_20esta_20plantilla_1',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]], - ['encontrar_20información_20sobre_20los_20errores_20avisos_20al_20compilar_2',['Dónde encontrar información sobre los errores/avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'']]], - ['errores_20avisos_20al_20compilar_3',['Dónde encontrar información sobre los errores/avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'']]], - ['esta_20plantilla_4',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]], - ['executeattack_5',['ExecuteAttack',['../classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693',1,'Library::Game']]] + ['editdamagecalculatorstrategy_0',['EditDamageCalculatorStrategy',['../classLibrary_1_1Facade.html#a9809b5935c0b49409da62958cd65b597',1,'Library::Facade']]], + ['editstate_1',['EditState',['../classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53',1,'Library.Pokemon.EditState(State? state)'],['../classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53',1,'Library.Pokemon.EditState(State? state)']]], + ['electric_2',['Electric',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609aa74711a0a27d5306d53f17771c2161cb',1,'Library.Electric'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977daa74711a0a27d5306d53f17771c2161cb',1,'Library.Electric']]], + ['en_20esta_20plantilla_3',['en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]], + ['encontrar_20información_20sobre_20los_20errores_20avisos_20al_20compilar_4',['encontrar información sobre los errores avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md8',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], + ['entei_5',['Entei',['../classLibrary_1_1Entei.html',1,'Library.Entei'],['../classLibrary_1_1Entei.html#a3556d1367901660b9907370d436307ae',1,'Library.Entei.Entei()']]], + ['enteitest_6',['EnteiTest',['../classLibraryTests_1_1EnteiTest.html',1,'LibraryTests']]], + ['errores_20avisos_20al_20compilar_7',['errores avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md8',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], + ['esta_20plantilla_8',['esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]], + ['executeasync_9',['ExecuteAsync',['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html#a0a4ded439ee334ff738f97e4b68ea500',1,'Ucu.Poo.DiscordBot.Commands.AttackCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1BattleCommand.html#a0d1cbd516d13618e333208a01ea7f347',1,'Library.Commands.BattleCommand.ExecuteAsync()'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html#a7e00c706885ff77c8df5aff590167e0b',1,'Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand.ExecuteAsync()'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html#ae2f67cf292af546f13a4de3e5a33a52d',1,'Ucu.Poo.DiscordBot.Commands.ChooseCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1JoinCommand.html#aa20b376619f55db3b80d51c603787598',1,'Library.Commands.JoinCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1LeaveCommand.html#a7f1bf0c5e2d80619aba43d8e27ca3575',1,'Library.Commands.LeaveCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1PokemonNameCommand.html#acd205142adf45da4aa1d1c6d69574793',1,'Library.Commands.PokemonNameCommand.ExecuteAsync()'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html#ae11cbb51ad472f3af0c7683766928390',1,'Ucu.Poo.DiscordBot.Commands.UseItemCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1UserInfoCommand.html#a4b273671d6b580cd309f6ded8384f7bc',1,'Library.Commands.UserInfoCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1WaitingCommand.html#a4222829d8068ad03a5b349c87ec34860',1,'Library.Commands.WaitingCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee',1,'Library.Commands.AttackCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1BattleCommand.html#a0d1cbd516d13618e333208a01ea7f347',1,'Library.Commands.BattleCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1CatalogueCommand.html#ad95d287be16f5266dfb90ffab6c073bb',1,'Library.Commands.CatalogueCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ChangeCommand.html#a7fa738b2d7cc6f9c0aac78740e7be862',1,'Library.Commands.ChangeCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1CheckTurnCommand.html#ab39a32a33c419397d2980f57aa5123cb',1,'Library.Commands.CheckTurnCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ChooseCommand.html#ae57410f3488ac491c3540e5f4dd58093',1,'Library.Commands.ChooseCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ChooseRandomCommand.html#a3055f5c70847dce83acb728aef6749a5',1,'Library.Commands.ChooseRandomCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1HelpCommand.html#ab8bb2c66377771a77e9167b4ea1feac9',1,'Library.Commands.HelpCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1HpCommand.html#af1980a2d6d596e48a2c7bdf5d25e5d9b',1,'Library.Commands.HpCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1JoinCommand.html#aa20b376619f55db3b80d51c603787598',1,'Library.Commands.JoinCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1LeaveCommand.html#a7f1bf0c5e2d80619aba43d8e27ca3575',1,'Library.Commands.LeaveCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1PokemonNameCommand.html#acd205142adf45da4aa1d1c6d69574793',1,'Library.Commands.PokemonNameCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ShowAttacksCommand.html#a6466a9979baa930d14799d06cf2eb72a',1,'Library.Commands.ShowAttacksCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ShowItemsCommand.html#a6756f4952cbc7fb519b1ab6eeb202425',1,'Library.Commands.ShowItemsCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1SurrenderCommand.html#a0c2a380d2d4324b1ae2b0994094c948a',1,'Library.Commands.SurrenderCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1UseCommand.html#adbca94b51c1373b97987dda45869481b',1,'Library.Commands.UseCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1UserInfoCommand.html#a4b273671d6b580cd309f6ded8384f7bc',1,'Library.Commands.UserInfoCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1WaitingCommand.html#a4222829d8068ad03a5b349c87ec34860',1,'Library.Commands.WaitingCommand.ExecuteAsync()']]], + ['executeattack_10',['ExecuteAttack',['../classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693',1,'Library.Game.ExecuteAttack(Attack attack)'],['../classLibrary_1_1Game.html#a25142733833a36fd79da48c53e80f225',1,'Library.Game.ExecuteAttack(Attack? attack)']]] ]; diff --git a/docs/html/search/all_5.js b/docs/html/search/all_5.js index 227ab16..3f348d0 100644 --- a/docs/html/search/all_5.js +++ b/docs/html/search/all_5.js @@ -1,13 +1,20 @@ var searchData= [ - ['facadetest_0',['FacadeTest',['../classLibraryTests_1_1FacadeTest.html',1,'LibraryTests']]], - ['findattack_1',['FindAttack',['../classLibrary_1_1Player.html#ae71c6dd4e6de83f82e3b6629a2511248',1,'Library::Player']]], - ['findattackbyname_2',['FindAttackByName',['../classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c',1,'Library::Pokemon']]], - ['findgamebyplayer_3',['FindGameByPlayer',['../classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a',1,'Library::GameList']]], - ['finditem_4',['FindItem',['../classLibrary_1_1Player.html#a16305aed363ffcf597644f27c1d6f76e',1,'Library::Player']]], - ['findplayerbyname_5',['FindPlayerByName',['../classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff',1,'Library.GameList.FindPlayerByName()'],['../classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8',1,'Library.WaitingList.FindPlayerByName()']]], - ['findpokemon_6',['FindPokemon',['../classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4',1,'Library::Player']]], - ['fullhealth_7',['FullHealth',['../classLibrary_1_1FullHealth.html',1,'Library.FullHealth'],['../classLibrary_1_1FullHealth.html#aed15c19feb8d5ce18726fcec9fa64eb5',1,'Library.FullHealth.FullHealth()']]], - ['fullhealthcorrectuse_8',['FullHealthCorrectUse',['../classLibraryTests_1_1FullHealthTest.html#a9647b8d51d0e1d9a61ee17feb8bc2ea4',1,'LibraryTests::FullHealthTest']]], - ['fullhealthtest_9',['FullHealthTest',['../classLibraryTests_1_1FullHealthTest.html',1,'LibraryTests']]] + ['facade_0',['Facade',['../classLibrary_1_1Facade.html',1,'Library']]], + ['facadetest_1',['FacadeTest',['../classLibraryTests_1_1FacadeTest.html',1,'LibraryTests']]], + ['fighting_2',['Fighting',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609aef492f571a74192b637adada68fdd94a',1,'Library.Fighting'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977daef492f571a74192b637adada68fdd94a',1,'Library.Fighting']]], + ['findattack_3',['FindAttack',['../classLibrary_1_1Player.html#ae71c6dd4e6de83f82e3b6629a2511248',1,'Library.Player.FindAttack(string strAttack)'],['../classLibrary_1_1Player.html#acd1502e4a8b9b30dbc25fa80f55bf66f',1,'Library.Player.FindAttack(string strAttack)']]], + ['findattackbyname_4',['FindAttackByName',['../classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c',1,'Library.Pokemon.FindAttackByName(string attackString)'],['../classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c',1,'Library.Pokemon.FindAttackByName(string attackString)']]], + ['findgamebyplayer_5',['FindGameByPlayer',['../classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a',1,'Library.GameList.FindGameByPlayer(Player player)'],['../classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a',1,'Library.GameList.FindGameByPlayer(Player player)']]], + ['finditem_6',['FindItem',['../classLibrary_1_1Player.html#a16305aed363ffcf597644f27c1d6f76e',1,'Library.Player.FindItem(string strItem)'],['../classLibrary_1_1Player.html#a6498115dc4e2b48c5a16699e0a01ac2f',1,'Library.Player.FindItem(string strItem)']]], + ['findplayerbyname_7',['FindPlayerByName',['../classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff',1,'Library.GameList.FindPlayerByName()'],['../classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8',1,'Library.WaitingList.FindPlayerByName()'],['../classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff',1,'Library.GameList.FindPlayerByName()'],['../classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8',1,'Library.WaitingList.FindPlayerByName()']]], + ['findpokemon_8',['FindPokemon',['../classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4',1,'Library.Player.FindPokemon(string strPokemon)'],['../classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4',1,'Library.Player.FindPokemon(string strPokemon)']]], + ['findpokemonbyname_9',['FindPokemonByName',['../classLibrary_1_1Player.html#a5014994bf275f49a548e7621badd2415',1,'Library::Player']]], + ['fire_10',['Fire',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609abd2b7e5f85a6ea65065c4ebc6d7c95bb',1,'Library.Fire'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977dabd2b7e5f85a6ea65065c4ebc6d7c95bb',1,'Library.Fire']]], + ['flying_11',['Flying',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a444733081a578880ba8a563d3c59d22d',1,'Library.Flying'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da444733081a578880ba8a563d3c59d22d',1,'Library.Flying']]], + ['fullhealth_12',['FullHealth',['../classLibrary_1_1FullHealth.html',1,'Library.FullHealth'],['../classLibrary_1_1FullHealth.html#aed15c19feb8d5ce18726fcec9fa64eb5',1,'Library.FullHealth.FullHealth()'],['../classLibrary_1_1FullHealth.html#aed15c19feb8d5ce18726fcec9fa64eb5',1,'Library.FullHealth.FullHealth()']]], + ['fullhealthcorrectuse_13',['FullHealthCorrectUse',['../classLibraryTests_1_1FullHealthTest.html#a9647b8d51d0e1d9a61ee17feb8bc2ea4',1,'LibraryTests.FullHealthTest.FullHealthCorrectUse()'],['../classLibraryTests_1_1FullHealthTest.html#a9647b8d51d0e1d9a61ee17feb8bc2ea4',1,'LibraryTests.FullHealthTest.FullHealthCorrectUse()']]], + ['fullhealthnullpokemon_14',['FullHealthNullPokemon',['../classLibraryTests_1_1FullHealthTest.html#a7012c7dc01031149d86ebdeed3bc690a',1,'LibraryTests::FullHealthTest']]], + ['fullhealthtest_15',['FullHealthTest',['../classLibraryTests_1_1FullHealthTest.html',1,'LibraryTests']]], + ['fullhealthuseonhealthypokemon_16',['FullHealthUseOnHealthyPokemon',['../classLibraryTests_1_1FullHealthTest.html#aea1efa1626c5fb3235041b34a82e56b5',1,'LibraryTests::FullHealthTest']]] ]; diff --git a/docs/html/search/all_6.js b/docs/html/search/all_6.js index 6ba96e6..199b82d 100644 --- a/docs/html/search/all_6.js +++ b/docs/html/search/all_6.js @@ -1,20 +1,28 @@ var searchData= [ - ['gainlife_0',['GainLife',['../classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985',1,'Library::Pokemon']]], - ['game_1',['Game',['../classLibrary_1_1Game.html',1,'Library.Game'],['../classLibrary_1_1Game.html#a00d54c50696a36cd8b1e0fc25062a5a3',1,'Library.Game.Game()']]], + ['gainlife_0',['GainLife',['../classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985',1,'Library.Pokemon.GainLife(double hp)'],['../classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985',1,'Library.Pokemon.GainLife(double hp)']]], + ['game_1',['Game',['../classLibrary_1_1Game.html',1,'Library.Game'],['../classLibrary_1_1Game.html#a00d54c50696a36cd8b1e0fc25062a5a3',1,'Library.Game.Game(Player player1, Player player2)'],['../classLibrary_1_1Game.html#a1bfa0da42bdc4ef2423723d25ccf679f',1,'Library.Game.Game(Player player1, Player player2, IStrategyStartingPlayer strategyStartingPlayer)']]], ['gamelist_2',['GameList',['../classLibrary_1_1GameList.html',1,'Library']]], - ['gamestatus_3',['GameStatus',['../classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c',1,'Library::Game']]], - ['gametest_4',['GameTest',['../classLibraryTests_1_1GameTest.html',1,'LibraryTests']]], - ['gengar_5',['Gengar',['../classLibrary_1_1Gengar.html',1,'Library.Gengar'],['../classLibrary_1_1Gengar.html#ac8f9e0787e9044bd5a16b3f240047bdc',1,'Library.Gengar.Gengar()']]], - ['gengartest_6',['GengarTest',['../classLibraryTests_1_1GengarTest.html',1,'LibraryTests']]], - ['getanyonewaiting_7',['GetAnyoneWaiting',['../classLibrary_1_1WaitingList.html#a85f823a9cd9ffc89de620d837c6484a4',1,'Library::WaitingList']]], - ['getattacks_8',['GetAttacks',['../classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4',1,'Library::Pokemon']]], - ['getgamelist_9',['GetGameList',['../classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc',1,'Library::GameList']]], - ['getitemlist_10',['GetItemList',['../classLibrary_1_1Player.html#a2150b3552c081b27d259d0928de09668',1,'Library::Player']]], - ['getlife_11',['GetLife',['../classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6',1,'Library::Pokemon']]], - ['getplayers_12',['GetPlayers',['../classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4',1,'Library::Game']]], - ['getpokemonattacks_13',['GetPokemonAttacks',['../classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded',1,'Library::Player']]], - ['getpokemonteam_14',['GetPokemonTeam',['../classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3',1,'Library::Player']]], - ['gettypes_15',['GetTypes',['../classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789',1,'Library::Pokemon']]], - ['getwaitinglist_16',['GetWaitingList',['../classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027',1,'Library::WaitingList']]] + ['gamelisttest_3',['GameListTest',['../classLibraryTests_1_1GameListTest.html',1,'LibraryTests']]], + ['gamestatus_4',['GameStatus',['../classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c',1,'Library.Game.GameStatus()'],['../classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c',1,'Library.Game.GameStatus()']]], + ['gametest_5',['GameTest',['../classLibraryTests_1_1GameTest.html',1,'LibraryTests']]], + ['gastrodon_6',['Gastrodon',['../classLibrary_1_1Gastrodon.html',1,'Library.Gastrodon'],['../classLibrary_1_1Gastrodon.html#a1ce2cde7358ec9df01c5b8b433e2b20b',1,'Library.Gastrodon.Gastrodon()']]], + ['gastrodontest_7',['GastrodonTest',['../classLibraryTests_1_1GastrodonTest.html',1,'LibraryTests']]], + ['gengar_8',['Gengar',['../classLibrary_1_1Gengar.html',1,'Library.Gengar'],['../classLibrary_1_1Gengar.html#ac8f9e0787e9044bd5a16b3f240047bdc',1,'Library.Gengar.Gengar()'],['../classLibrary_1_1Gengar.html#ac8f9e0787e9044bd5a16b3f240047bdc',1,'Library.Gengar.Gengar()']]], + ['gengartest_9',['GengarTest',['../classLibraryTests_1_1GengarTest.html',1,'LibraryTests']]], + ['getallplayerswaiting_10',['GetAllPlayersWaiting',['../classLibrary_1_1Facade.html#a5d257ae6bf3f4c69a6d1c7a78adcd48c',1,'Library.Facade.GetAllPlayersWaiting()'],['../classLibrary_1_1Facade.html#a463911202200e59df38d6710bf55ee2c',1,'Library.Facade.GetAllPlayersWaiting()']]], + ['getattacks_11',['GetAttacks',['../classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4',1,'Library.Pokemon.GetAttacks()'],['../classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4',1,'Library.Pokemon.GetAttacks()']]], + ['geteffectivness_12',['GetEffectivness',['../classLibrary_1_1DamageCalculator.html#a984d17ac844873844f080b61bd9d93be',1,'Library.DamageCalculator.GetEffectivness(Type type, List< Type > types)'],['../classLibrary_1_1DamageCalculator.html#a8a2ef5388c2d37d86a3f37c6bb02f6c0',1,'Library.DamageCalculator.GetEffectivness(Type type, List< Type > types)']]], + ['getgamelist_13',['GetGameList',['../classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc',1,'Library.GameList.GetGameList()'],['../classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc',1,'Library.GameList.GetGameList()']]], + ['getitemlist_14',['GetItemList',['../classLibrary_1_1Player.html#a2150b3552c081b27d259d0928de09668',1,'Library.Player.GetItemList()'],['../classLibrary_1_1Player.html#a2150b3552c081b27d259d0928de09668',1,'Library.Player.GetItemList()']]], + ['getlife_15',['GetLife',['../classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6',1,'Library.Pokemon.GetLife()'],['../classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6',1,'Library.Pokemon.GetLife()']]], + ['getplayers_16',['GetPlayers',['../classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4',1,'Library.Game.GetPlayers()'],['../classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4',1,'Library.Game.GetPlayers()']]], + ['getpokemonattacks_17',['GetPokemonAttacks',['../classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded',1,'Library.Player.GetPokemonAttacks()'],['../classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded',1,'Library.Player.GetPokemonAttacks()']]], + ['getpokemonteam_18',['GetPokemonTeam',['../classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3',1,'Library.Player.GetPokemonTeam()'],['../classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3',1,'Library.Player.GetPokemonTeam()']]], + ['getsomeone_19',['GetSomeone',['../classLibrary_1_1WaitingList.html#a27fe90fdd4bad1838be5be2719a63d70',1,'Library.WaitingList.GetSomeone(string playerName)'],['../classLibrary_1_1WaitingList.html#a27fe90fdd4bad1838be5be2719a63d70',1,'Library.WaitingList.GetSomeone(string playerName)']]], + ['gettypes_20',['GetTypes',['../classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789',1,'Library.Pokemon.GetTypes()'],['../classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789',1,'Library.Pokemon.GetTypes()']]], + ['getwaitinglist_21',['GetWaitingList',['../classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027',1,'Library.WaitingList.GetWaitingList()'],['../classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027',1,'Library.WaitingList.GetWaitingList()']]], + ['ghost_22',['Ghost',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a401357e57c765967393ba391a338e89b',1,'Library.Ghost'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da401357e57c765967393ba391a338e89b',1,'Library.Ghost']]], + ['grass_23',['Grass',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609aaac9a63596f76a62bb9f61a5dd7c0d25',1,'Library.Grass'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977daaac9a63596f76a62bb9f61a5dd7c0d25',1,'Library.Grass']]], + ['ground_24',['Ground',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a3519d51443d41746a097cd54cd5c11cf',1,'Library.Ground'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da3519d51443d41746a097cd54cd5c11cf',1,'Library.Ground']]] ]; diff --git a/docs/html/search/all_7.js b/docs/html/search/all_7.js index 2ff5844..00ef82e 100644 --- a/docs/html/search/all_7.js +++ b/docs/html/search/all_7.js @@ -1,6 +1,10 @@ var searchData= [ - ['haxorus_0',['Haxorus',['../classLibrary_1_1Haxorus.html',1,'Library.Haxorus'],['../classLibrary_1_1Haxorus.html#acd9cfcf92701e815deb2b8a9d6a8234c',1,'Library.Haxorus.Haxorus()']]], + ['haxorus_0',['Haxorus',['../classLibrary_1_1Haxorus.html',1,'Library.Haxorus'],['../classLibrary_1_1Haxorus.html#acd9cfcf92701e815deb2b8a9d6a8234c',1,'Library.Haxorus.Haxorus()'],['../classLibrary_1_1Haxorus.html#acd9cfcf92701e815deb2b8a9d6a8234c',1,'Library.Haxorus.Haxorus()']]], ['haxorustest_1',['HaxorusTest',['../classLibraryTests_1_1HaxorusTest.html',1,'LibraryTests']]], - ['hay_20configurado_20en_20esta_20plantilla_2',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]] + ['hay_20configurado_20en_20esta_20plantilla_2',['hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]], + ['helpcommand_3',['HelpCommand',['../classLibrary_1_1Commands_1_1HelpCommand.html',1,'Library::Commands']]], + ['hpcommand_4',['HpCommand',['../classLibrary_1_1Commands_1_1HpCommand.html',1,'Library::Commands']]], + ['hydreigon_5',['Hydreigon',['../classLibrary_1_1Hydreigon.html',1,'Library.Hydreigon'],['../classLibrary_1_1Hydreigon.html#a7194f60f410e3eaf57a52d8796c6a6a9',1,'Library.Hydreigon.Hydreigon()']]], + ['hydreigontest_6',['HydreigonTest',['../classLibraryTests_1_1HydreigonTest.html',1,'LibraryTests']]] ]; diff --git a/docs/html/search/all_8.js b/docs/html/search/all_8.js index 948475b..f526724 100644 --- a/docs/html/search/all_8.js +++ b/docs/html/search/all_8.js @@ -1,6 +1,13 @@ var searchData= [ ['iattack_0',['IAttack',['../interfaceLibrary_1_1IAttack.html',1,'Library']]], - ['iitem_1',['IItem',['../interfaceLibrary_1_1IItem.html',1,'Library']]], - ['información_20sobre_20los_20errores_20avisos_20al_20compilar_2',['Dónde encontrar información sobre los errores/avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'']]] + ['ibot_1',['IBot',['../interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot.html',1,'Ucu::Poo::DiscordBot::Services']]], + ['ice_2',['Ice',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a583d6a9fe10d672474e2cdca476113b7',1,'Library.Ice'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da583d6a9fe10d672474e2cdca476113b7',1,'Library.Ice']]], + ['iitem_3',['IItem',['../interfaceLibrary_1_1IItem.html',1,'Library']]], + ['infoattack_4',['InfoAttack',['../classLibrary_1_1Attack.html#a3a110f75e12a5fb2249e9c6769c7eeb1',1,'Library.Attack.InfoAttack()'],['../interfaceLibrary_1_1IAttack.html#ae1d9f015158d56aae38b051a6b0d9299',1,'Library.IAttack.InfoAttack()'],['../classLibrary_1_1SpecialAttack.html#afe2398bc3ff065a8ea4ab1ced7700fc5',1,'Library.SpecialAttack.InfoAttack()']]], + ['información_20sobre_20los_20errores_20avisos_20al_20compilar_5',['información sobre los errores avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md8',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], + ['instance_6',['Instance',['../classLibrary_1_1Facade.html#adea0b2f657f9d794cd01634ce317b4b7',1,'Library.Facade.Instance'],['../classLibrary_1_1PokemonCatalogue.html#a8f3b78d19e6ba993d83dccd3ae665828',1,'Library.PokemonCatalogue.Instance'],['../classLibrary_1_1Caterpie.html#a9790064aa4ed488db968b1393c17b878',1,'Library.Caterpie.Instance()'],['../classLibrary_1_1Charizard.html#aa4a469d089472f7d71ae3591eb50400d',1,'Library.Charizard.Instance()'],['../classLibrary_1_1Chikorita.html#aa7cd0699459bf51c4c1b44b05699a404',1,'Library.Chikorita.Instance()'],['../classLibrary_1_1Dragonite.html#a97c847a6f0007baa4e8e55b8271bb0ac',1,'Library.Dragonite.Instance()'],['../classLibrary_1_1Entei.html#a8bdaa25d06a7918e9a73bceafbcfe6ca',1,'Library.Entei.Instance()'],['../classLibrary_1_1Gastrodon.html#a4eea68f8853432a820fc58924b37d3bf',1,'Library.Gastrodon.Instance()'],['../classLibrary_1_1Gengar.html#a212ea5f4c8a5909e165c6d30223db2a5',1,'Library.Gengar.Instance()'],['../classLibrary_1_1Haxorus.html#a2736834f14a2c17987db20cdaf7bb686',1,'Library.Haxorus.Instance()'],['../classLibrary_1_1Hydreigon.html#aa9a2af73692029374d059e2a2fa8f7af',1,'Library.Hydreigon.Instance()'],['../classLibrary_1_1Jigglypuff.html#a8a98225d627b83557be92675c67abd08',1,'Library.Jigglypuff.Instance()'],['../classLibrary_1_1Mewtwo.html#ac48fe1554358d9754c81718adfccc427',1,'Library.Mewtwo.Instance()'],['../classLibrary_1_1Pikachu.html#a5bf9176a732e929f9978a5b662a76b21',1,'Library.Pikachu.Instance()'],['../classLibrary_1_1Pokemon.html#a4b7198233960f707729a1c8bedc7a7a4',1,'Library.Pokemon.Instance()'],['../classLibrary_1_1Scyther.html#afff42f2e0ec7d5f39d177e5b1312099a',1,'Library.Scyther.Instance()'],['../classLibrary_1_1Zeraora.html#a3e5fb4389a5a3565d233883dda6bd198',1,'Library.Zeraora.Instance()']]], + ['istrategycritcheck_7',['IStrategyCritCheck',['../interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html',1,'Library::Strategies']]], + ['istrategystartingplayer_8',['IStrategyStartingPlayer',['../interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html',1,'Library::Strategies']]], + ['itemcount_9',['ItemCount',['../classLibrary_1_1Player.html#ad1de9088eb192fd7951de1bcc3327213',1,'Library::Player']]] ]; diff --git a/docs/html/search/all_9.js b/docs/html/search/all_9.js index d276ae6..f6ebe6a 100644 --- a/docs/html/search/all_9.js +++ b/docs/html/search/all_9.js @@ -1,8 +1,5 @@ var searchData= [ - ['library_0',['Library',['../namespaceLibrary.html',1,'']]], - ['librarytests_1',['LibraryTests',['../namespaceLibraryTests.html',1,'']]], - ['los_20avisos_20al_20compilar_2',['Cómo deshabilitar temporalmente los avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'']]], - ['los_20errores_20avisos_20al_20compilar_3',['Dónde encontrar información sobre los errores/avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'']]], - ['lowercooldown_4',['LowerCooldown',['../classLibrary_1_1SpecialAttack.html#a4c7b382fb1f3e12b9c12dff5bc5a74bc',1,'Library::SpecialAttack']]] + ['jigglypuff_0',['Jigglypuff',['../classLibrary_1_1Jigglypuff.html',1,'Library.Jigglypuff'],['../classLibrary_1_1Jigglypuff.html#a9dd2dcd1a61e74b8d736b8ee1433ce68',1,'Library.Jigglypuff.Jigglypuff()']]], + ['joincommand_1',['JoinCommand',['../classLibrary_1_1Commands_1_1JoinCommand.html',1,'Library::Commands']]] ]; diff --git a/docs/html/search/all_a.js b/docs/html/search/all_a.js index b4ea758..c9ae6aa 100644 --- a/docs/html/search/all_a.js +++ b/docs/html/search/all_a.js @@ -1,5 +1,12 @@ var searchData= [ - ['mewtwo_0',['Mewtwo',['../classLibrary_1_1Mewtwo.html',1,'Library.Mewtwo'],['../classLibrary_1_1Mewtwo.html#a843cdebf7353807162934d8c2d4b8a42',1,'Library.Mewtwo.Mewtwo()']]], - ['mewtwotest_1',['MewtwoTest',['../classLibraryTests_1_1MewtwoTest.html',1,'LibraryTests']]] + ['leavecommand_0',['LeaveCommand',['../classLibrary_1_1Commands_1_1LeaveCommand.html',1,'Library::Commands']]], + ['library_1',['Library',['../namespaceLibrary.html',1,'']]], + ['library_3a_3acommands_2',['Commands',['../namespaceLibrary_1_1Commands.html',1,'Library']]], + ['library_3a_3astrategies_3',['Strategies',['../namespaceLibrary_1_1Strategies.html',1,'Library']]], + ['librarytests_4',['LibraryTests',['../namespaceLibraryTests.html',1,'']]], + ['librarytests_3a_3astrategies_5',['Strategies',['../namespaceLibraryTests_1_1Strategies.html',1,'LibraryTests']]], + ['los_20avisos_20al_20compilar_6',['los avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md3',1,'Cómo deshabilitar temporalmente los avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md9',1,'Cómo deshabilitar temporalmente los avisos al compilar']]], + ['los_20errores_20avisos_20al_20compilar_7',['los errores avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'Dónde encontrar información sobre los errores/avisos al compilar'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md8',1,'Dónde encontrar información sobre los errores/avisos al compilar']]], + ['lowercooldown_8',['LowerCooldown',['../classLibrary_1_1SpecialAttack.html#a4c7b382fb1f3e12b9c12dff5bc5a74bc',1,'Library.SpecialAttack.LowerCooldown()'],['../classLibrary_1_1SpecialAttack.html#a4c7b382fb1f3e12b9c12dff5bc5a74bc',1,'Library.SpecialAttack.LowerCooldown()']]] ]; diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js index 49495a3..9951eba 100644 --- a/docs/html/search/all_b.js +++ b/docs/html/search/all_b.js @@ -1,5 +1,6 @@ var searchData= [ - ['name_0',['Name',['../classLibrary_1_1Attack.html#ac7218a2b5728ef1b1f371cb42d5d7ad5',1,'Library.Attack.Name'],['../classLibrary_1_1FullHealth.html#a536b79ebe2a2a463218e9702a6da9065',1,'Library.FullHealth.Name'],['../interfaceLibrary_1_1IAttack.html#ac67b0c8c58809acc94b0cd1edd9dfe95',1,'Library.IAttack.Name'],['../interfaceLibrary_1_1IItem.html#a0745171e6b0c278a18577cf3be1363af',1,'Library.IItem.Name'],['../classLibrary_1_1Player.html#aecafe46b465d7340dbcd7a4c31f44f88',1,'Library.Player.Name'],['../classLibrary_1_1Pokemon.html#a68c19b133602cf71110cb160e443aa15',1,'Library.Pokemon.Name'],['../classLibrary_1_1Revive.html#a8f64129a406a72d7ee08c3d8fa5c8219',1,'Library.Revive.Name'],['../classLibrary_1_1SuperPotion.html#ae38aa1764c4ef347bedbb273e3b4d9e5',1,'Library.SuperPotion.Name']]], - ['nextturn_1',['NextTurn',['../classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7',1,'Library::Game']]] + ['mewtwo_0',['Mewtwo',['../classLibrary_1_1Mewtwo.html',1,'Library.Mewtwo'],['../classLibrary_1_1Mewtwo.html#a843cdebf7353807162934d8c2d4b8a42',1,'Library.Mewtwo.Mewtwo()'],['../classLibrary_1_1Mewtwo.html#a843cdebf7353807162934d8c2d4b8a42',1,'Library.Mewtwo.Mewtwo()']]], + ['mewtwotest_1',['MewtwoTest',['../classLibraryTests_1_1MewtwoTest.html',1,'LibraryTests']]], + ['modulebase_2',['ModuleBase',['../classModuleBase.html',1,'']]] ]; diff --git a/docs/html/search/all_c.js b/docs/html/search/all_c.js index 5e2d063..4c41cd2 100644 --- a/docs/html/search/all_c.js +++ b/docs/html/search/all_c.js @@ -1,7 +1,7 @@ var searchData= [ - ['plantilla_0',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]], - ['player_1',['Player',['../classLibrary_1_1Player.html',1,'Library.Player'],['../classLibrary_1_1Player.html#a52100c57bcecb1bf8044a0489dcc6575',1,'Library.Player.Player()']]], - ['pokemon_2',['Pokemon',['../classLibrary_1_1Pokemon.html',1,'Library.Pokemon'],['../classLibrary_1_1Pokemon.html#a2d63fcf1c1fc96d572fc20996a8a755f',1,'Library.Pokemon.Pokemon()']]], - ['power_3',['Power',['../classLibrary_1_1Attack.html#a415d3f2ab9e38d5def9c43ca901557d1',1,'Library::Attack']]] + ['name_0',['Name',['../classLibrary_1_1Attack.html#aaf1bf878f7e6827955ba95c05e73bf69',1,'Library.Attack.Name'],['../classLibrary_1_1FullHealth.html#a178ebe71fc3230e3de63fb15f20d4218',1,'Library.FullHealth.Name'],['../interfaceLibrary_1_1IAttack.html#a98f2c518cc7fc3042b19f84686467863',1,'Library.IAttack.Name'],['../interfaceLibrary_1_1IItem.html#ad20045382e11b86966a8d9e0d1d48934',1,'Library.IItem.Name'],['../classLibrary_1_1Player.html#ad38909add16eeffa279286032bd6d868',1,'Library.Player.Name'],['../classLibrary_1_1Pokemon.html#a8c423e4cf937eb89619ede98029a0735',1,'Library.Pokemon.Name'],['../classLibrary_1_1Revive.html#a7beb483b7a45d1a93868a575ed9d171f',1,'Library.Revive.Name'],['../classLibrary_1_1SuperPotion.html#a8ca740ecb19937e2da3ba93670bc7cc8',1,'Library.SuperPotion.Name']]], + ['nextturn_1',['NextTurn',['../classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7',1,'Library.Game.NextTurn()'],['../classLibrary_1_1Game.html#a71cc44489b1dc016e9be39903a1e38d2',1,'Library.Game.NextTurn()']]], + ['normal_2',['Normal',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a960b44c579bc2f6818d2daaf9e4c16f0',1,'Library.Normal'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da960b44c579bc2f6818d2daaf9e4c16f0',1,'Library.Normal']]], + ['nullpokemontest_3',['NullPokemonTest',['../classLibraryTests_1_1SuperPotionTest.html#a526d5063ee58a185692f71924f5254bf',1,'LibraryTests::SuperPotionTest']]] ]; diff --git a/docs/html/search/all_d.js b/docs/html/search/all_d.js index 7d6e9a2..9add372 100644 --- a/docs/html/search/all_d.js +++ b/docs/html/search/all_d.js @@ -1,4 +1,19 @@ var searchData= [ - ['qué_20hay_20configurado_20en_20esta_20plantilla_0',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]] + ['paralized_0',['Paralized',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a827a0360b271e4dda9b1d9523d6adedb',1,'Library.Paralized'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a827a0360b271e4dda9b1d9523d6adedb',1,'Library.Paralized']]], + ['paralizedeffectrandomness_1',['ParalizedEffectRandomness',['../classLibraryTests_1_1StateLogicTest.html#a370e76e16de0123189fb9c8f7c0ecacd',1,'LibraryTests::StateLogicTest']]], + ['pikachu_2',['Pikachu',['../classLibrary_1_1Pikachu.html',1,'Library.Pikachu'],['../classLibrary_1_1Pikachu.html#a117bb2efeed20182beec21dfa177c36a',1,'Library.Pikachu.Pikachu()']]], + ['plantilla_3',['plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]], + ['player_4',['Player',['../classLibrary_1_1Player.html',1,'Library.Player'],['../classLibrary_1_1Player.html#a52100c57bcecb1bf8044a0489dcc6575',1,'Library.Player.Player(string name)'],['../classLibrary_1_1Player.html#a52100c57bcecb1bf8044a0489dcc6575',1,'Library.Player.Player(string name)']]], + ['poison_5',['Poison',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a3a9d1818d0d7f5646e63465baf7d366f',1,'Library.Poison'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da3a9d1818d0d7f5646e63465baf7d366f',1,'Library.Poison']]], + ['poisoned_6',['Poisoned',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808aa3bdbf2434870a6548df06309bb536b1',1,'Library.Poisoned'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808aa3bdbf2434870a6548df06309bb536b1',1,'Library.Poisoned']]], + ['poisonedeffectdecreaseslife_7',['PoisonedEffectDecreasesLife',['../classLibraryTests_1_1StateLogicTest.html#a725200b2c34c810b25e6e9203252d1ee',1,'LibraryTests::StateLogicTest']]], + ['pokemon_8',['Pokemon',['../classLibrary_1_1Pokemon.html',1,'Library.Pokemon'],['../classLibrary_1_1Pokemon.html#a2d63fcf1c1fc96d572fc20996a8a755f',1,'Library.Pokemon.Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)'],['../classLibrary_1_1Pokemon.html#a2d63fcf1c1fc96d572fc20996a8a755f',1,'Library.Pokemon.Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)']]], + ['pokemoncatalogue_9',['PokemonCatalogue',['../classLibrary_1_1PokemonCatalogue.html',1,'Library']]], + ['pokemoncount_10',['PokemonCount',['../classLibrary_1_1PokemonCatalogue.html#a4ef64b1a3cc57870fe56adc1093197db',1,'Library::PokemonCatalogue']]], + ['pokemonlist_11',['PokemonList',['../classLibrary_1_1PokemonCatalogue.html#a4aad2ce3698451e72427cc57c3142336',1,'Library::PokemonCatalogue']]], + ['pokemonnamecommand_12',['PokemonNameCommand',['../classLibrary_1_1Commands_1_1PokemonNameCommand.html',1,'Library.Commands.PokemonNameCommand'],['../classLibrary_1_1Commands_1_1PokemonNameCommand.html#aa7e4f79fe0a06e94fcbe255dab87c347',1,'Library.Commands.PokemonNameCommand.PokemonNameCommand(ILogger< PokemonNameCommand > logger)'],['../classLibrary_1_1Commands_1_1PokemonNameCommand.html#aa7e4f79fe0a06e94fcbe255dab87c347',1,'Library.Commands.PokemonNameCommand.PokemonNameCommand(ILogger< PokemonNameCommand > logger)']]], + ['power_13',['Power',['../classLibrary_1_1Attack.html#ae0d82da3fd6143fbc028c7d4e4f39978',1,'Library::Attack']]], + ['program_14',['Program',['../namespaceProgram.html',1,'']]], + ['psychic_15',['Psychic',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a1a0d4dfdb97302cb8ac802fd459ea37a',1,'Library.Psychic'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da1a0d4dfdb97302cb8ac802fd459ea37a',1,'Library.Psychic']]] ]; diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js index c2a2613..39fa088 100644 --- a/docs/html/search/all_e.js +++ b/docs/html/search/all_e.js @@ -1,10 +1,4 @@ var searchData= [ - ['random0or1_0',['Random0or1',['../classLibrary_1_1Game.html#a22ba715120446cdf89e169233cad6867',1,'Library::Game']]], - ['removegame_1',['RemoveGame',['../classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96',1,'Library::GameList']]], - ['removeplayer_2',['RemovePlayer',['../classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993',1,'Library::WaitingList']]], - ['revive_3',['Revive',['../classLibrary_1_1Revive.html',1,'Library.Revive'],['../classLibrary_1_1Revive.html#a8f5313b4c36663c106fc423882cb26f4',1,'Library.Revive.Revive()']]], - ['revivecorrectuse_4',['ReviveCorrectUse',['../classLibraryTests_1_1ReviveTest.html#a8f3b3809f2f233cc9c617445031a1e5a',1,'LibraryTests::ReviveTest']]], - ['revivetest_5',['ReviveTest',['../classLibraryTests_1_1ReviveTest.html',1,'LibraryTests']]], - ['roslyn_20analyzer_6',['Roslyn Analyzer',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md4',1,'']]] + ['qué_20hay_20configurado_20en_20esta_20plantilla_0',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]] ]; diff --git a/docs/html/search/all_f.js b/docs/html/search/all_f.js index cc0c2c0..a43ea79 100644 --- a/docs/html/search/all_f.js +++ b/docs/html/search/all_f.js @@ -1,17 +1,14 @@ var searchData= [ - ['setactivepokemon_0',['SetActivePokemon',['../classLibrary_1_1Player.html#a1dc483f61f95351bd3266c5f9663bfb1',1,'Library::Player']]], - ['setcooldown_1',['SetCooldown',['../classLibrary_1_1SpecialAttack.html#a69f6d5407485cc67a2b04ea75e81c601',1,'Library::SpecialAttack']]], - ['setup_2',['Setup',['../classTests_1_1TrainTests.html#aa51119f2894ac4ce8617c8c8972c67d1',1,'Tests::TrainTests']]], - ['sobre_20los_20errores_20avisos_20al_20compilar_3',['Dónde encontrar información sobre los errores/avisos al compilar',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md2',1,'']]], - ['specialattack_4',['SpecialAttack',['../classLibrary_1_1SpecialAttack.html',1,'Library.SpecialAttack'],['../classLibrary_1_1SpecialAttack.html#a6c5f588df2953fda7cc037a66f6f3fea',1,'Library.SpecialAttack.SpecialAttack()']]], - ['specialattacktest_5',['SpecialAttackTest',['../classLibraryTests_1_1SpecialAttackTest.html',1,'LibraryTests']]], - ['specialeffect_6',['SpecialEffect',['../classLibrary_1_1SpecialAttack.html#a9d65db441119cee5d6f01195cee52bb6',1,'Library::SpecialAttack']]], - ['starttraintest_7',['StartTrainTest',['../classTests_1_1TrainTests.html#a3126fe749f840d7c002d920b796136cf',1,'Tests::TrainTests']]], - ['state_8',['State',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808',1,'Library']]], - ['stoptraintest_9',['StopTrainTest',['../classTests_1_1TrainTests.html#a5da3dc68423a30afe2460f9831054e90',1,'Tests::TrainTests']]], - ['stylecop_20analyzer_10',['StyleCop Analyzer',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md5',1,'']]], - ['superpotion_11',['SuperPotion',['../classLibrary_1_1SuperPotion.html',1,'Library.SuperPotion'],['../classLibrary_1_1SuperPotion.html#a7e6bb21563c87bdaaaf4e426fa961e63',1,'Library.SuperPotion.SuperPotion()']]], - ['superpotioncorrectuse_12',['SuperPotionCorrectUse',['../classLibraryTests_1_1SuperPotionTest.html#a82b27fac16f96b33ccffd3df5567d001',1,'LibraryTests::SuperPotionTest']]], - ['superpotiontest_13',['SuperPotionTest',['../classLibraryTests_1_1SuperPotionTest.html',1,'LibraryTests']]] + ['random0or1_0',['Random0or1',['../classLibrary_1_1Game.html#a22ba715120446cdf89e169233cad6867',1,'Library::Game']]], + ['removegame_1',['RemoveGame',['../classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96',1,'Library.GameList.RemoveGame(Game game)'],['../classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96',1,'Library.GameList.RemoveGame(Game game)']]], + ['removeplayer_2',['RemovePlayer',['../classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993',1,'Library.WaitingList.RemovePlayer(string playerName)'],['../classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993',1,'Library.WaitingList.RemovePlayer(string playerName)']]], + ['removeplayerfromwaitinglist_3',['RemovePlayerFromWaitingList',['../classLibrary_1_1Facade.html#a722ee564dbd34c1e91462b7b69274ae4',1,'Library.Facade.RemovePlayerFromWaitingList(string playerName)'],['../classLibrary_1_1Facade.html#a34c5740597794ab66e59ab01ed1f4575',1,'Library.Facade.RemovePlayerFromWaitingList(string playerName)']]], + ['reset_4',['Reset',['../classLibrary_1_1Facade.html#a80ac355e00a0b2daacb5f171137cdc8e',1,'Library::Facade']]], + ['revive_5',['Revive',['../classLibrary_1_1Revive.html',1,'Library.Revive'],['../classLibrary_1_1Revive.html#a8f5313b4c36663c106fc423882cb26f4',1,'Library.Revive.Revive()'],['../classLibrary_1_1Revive.html#a8f5313b4c36663c106fc423882cb26f4',1,'Library.Revive.Revive()']]], + ['revivecorrectuse_6',['ReviveCorrectUse',['../classLibraryTests_1_1ReviveTest.html#a8f3b3809f2f233cc9c617445031a1e5a',1,'LibraryTests.ReviveTest.ReviveCorrectUse()'],['../classLibraryTests_1_1ReviveTest.html#a8f3b3809f2f233cc9c617445031a1e5a',1,'LibraryTests.ReviveTest.ReviveCorrectUse()']]], + ['revivetest_7',['ReviveTest',['../classLibraryTests_1_1ReviveTest.html',1,'LibraryTests']]], + ['revivewronguse_8',['ReviveWrongUse',['../classLibraryTests_1_1ReviveTest.html#a46c8445b11dbfedc1e09ffd6c912618c',1,'LibraryTests::ReviveTest']]], + ['rock_9',['Rock',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a4cfbb125e9878528bab91d12421134d8',1,'Library.Rock'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da4cfbb125e9878528bab91d12421134d8',1,'Library.Rock']]], + ['roslyn_20analyzer_10',['Roslyn Analyzer',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html#autotoc_md4',1,'Roslyn Analyzer'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html#autotoc_md10',1,'Roslyn Analyzer']]] ]; diff --git a/docs/html/search/classes_0.js b/docs/html/search/classes_0.js index d1e15ac..1917d8e 100644 --- a/docs/html/search/classes_0.js +++ b/docs/html/search/classes_0.js @@ -1,5 +1,6 @@ var searchData= [ ['attack_0',['Attack',['../classLibrary_1_1Attack.html',1,'Library']]], - ['attacktest_1',['AttackTest',['../classLibraryTests_1_1AttackTest.html',1,'LibraryTests']]] + ['attackcommand_1',['AttackCommand',['../classLibrary_1_1Commands_1_1AttackCommand.html',1,'Library.Commands.AttackCommand'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html',1,'Ucu.Poo.DiscordBot.Commands.AttackCommand']]], + ['attacktest_2',['AttackTest',['../classLibraryTests_1_1AttackTest.html',1,'LibraryTests']]] ]; diff --git a/docs/html/search/classes_1.js b/docs/html/search/classes_1.js index 989210f..2987611 100644 --- a/docs/html/search/classes_1.js +++ b/docs/html/search/classes_1.js @@ -1,9 +1,5 @@ var searchData= [ - ['caterpie_0',['Caterpie',['../classLibrary_1_1Caterpie.html',1,'Library']]], - ['caterpietest_1',['CaterpieTest',['../classLibraryTests_1_1CaterpieTest.html',1,'LibraryTests']]], - ['charizard_2',['Charizard',['../classLibrary_1_1Charizard.html',1,'Library']]], - ['charizardtest_3',['CharizardTest',['../classLibraryTests_1_1CharizardTest.html',1,'LibraryTests']]], - ['chikorita_4',['Chikorita',['../classLibrary_1_1Chikorita.html',1,'Library']]], - ['chikoritatest_5',['ChikoritaTest',['../classLibraryTests_1_1ChikoritaTest.html',1,'LibraryTests']]] + ['battlecommand_0',['BattleCommand',['../classLibrary_1_1Commands_1_1BattleCommand.html',1,'Library::Commands']]], + ['bot_1',['Bot',['../classUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1Bot.html',1,'Ucu::Poo::DiscordBot::Services']]] ]; diff --git a/docs/html/search/classes_10.js b/docs/html/search/classes_10.js new file mode 100644 index 0000000..ea4d0ae --- /dev/null +++ b/docs/html/search/classes_10.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['usecommand_0',['UseCommand',['../classLibrary_1_1Commands_1_1UseCommand.html',1,'Library::Commands']]], + ['useitemcommand_1',['UseItemCommand',['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html',1,'Ucu::Poo::DiscordBot::Commands']]], + ['userinfocommand_2',['UserInfoCommand',['../classLibrary_1_1Commands_1_1UserInfoCommand.html',1,'Library::Commands']]] +]; diff --git a/docs/html/search/classes_11.js b/docs/html/search/classes_11.js new file mode 100644 index 0000000..ce4f0d3 --- /dev/null +++ b/docs/html/search/classes_11.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['waitingcommand_0',['WaitingCommand',['../classLibrary_1_1Commands_1_1WaitingCommand.html',1,'Library::Commands']]], + ['waitinglist_1',['WaitingList',['../classLibrary_1_1WaitingList.html',1,'Library']]], + ['waitinglisttest_2',['WaitingListTest',['../classLibraryTests_1_1WaitingListTest.html',1,'LibraryTests']]] +]; diff --git a/docs/html/search/classes_12.js b/docs/html/search/classes_12.js new file mode 100644 index 0000000..d66e024 --- /dev/null +++ b/docs/html/search/classes_12.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['zeraora_0',['Zeraora',['../classLibrary_1_1Zeraora.html',1,'Library']]], + ['zeraoratest_1',['ZeraoraTest',['../classLibraryTests_1_1ZeraoraTest.html',1,'LibraryTests']]] +]; diff --git a/docs/html/search/classes_2.js b/docs/html/search/classes_2.js index a2e35fd..28f363a 100644 --- a/docs/html/search/classes_2.js +++ b/docs/html/search/classes_2.js @@ -1,6 +1,15 @@ var searchData= [ - ['facadetest_0',['FacadeTest',['../classLibraryTests_1_1FacadeTest.html',1,'LibraryTests']]], - ['fullhealth_1',['FullHealth',['../classLibrary_1_1FullHealth.html',1,'Library']]], - ['fullhealthtest_2',['FullHealthTest',['../classLibraryTests_1_1FullHealthTest.html',1,'LibraryTests']]] + ['cataloguecommand_0',['CatalogueCommand',['../classLibrary_1_1Commands_1_1CatalogueCommand.html',1,'Library::Commands']]], + ['caterpie_1',['Caterpie',['../classLibrary_1_1Caterpie.html',1,'Library']]], + ['caterpietest_2',['CaterpieTest',['../classLibraryTests_1_1CaterpieTest.html',1,'LibraryTests']]], + ['changecommand_3',['ChangeCommand',['../classLibrary_1_1Commands_1_1ChangeCommand.html',1,'Library::Commands']]], + ['changepokemoncommand_4',['ChangePokemonCommand',['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html',1,'Ucu::Poo::DiscordBot::Commands']]], + ['charizard_5',['Charizard',['../classLibrary_1_1Charizard.html',1,'Library']]], + ['charizardtest_6',['CharizardTest',['../classLibraryTests_1_1CharizardTest.html',1,'LibraryTests']]], + ['checkturncommand_7',['CheckTurnCommand',['../classLibrary_1_1Commands_1_1CheckTurnCommand.html',1,'Library::Commands']]], + ['chikorita_8',['Chikorita',['../classLibrary_1_1Chikorita.html',1,'Library']]], + ['chikoritatest_9',['ChikoritaTest',['../classLibraryTests_1_1ChikoritaTest.html',1,'LibraryTests']]], + ['choosecommand_10',['ChooseCommand',['../classLibrary_1_1Commands_1_1ChooseCommand.html',1,'Library.Commands.ChooseCommand'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html',1,'Ucu.Poo.DiscordBot.Commands.ChooseCommand']]], + ['chooserandomcommand_11',['ChooseRandomCommand',['../classLibrary_1_1Commands_1_1ChooseRandomCommand.html',1,'Library::Commands']]] ]; diff --git a/docs/html/search/classes_3.js b/docs/html/search/classes_3.js index 0e742d3..e23e401 100644 --- a/docs/html/search/classes_3.js +++ b/docs/html/search/classes_3.js @@ -1,8 +1,6 @@ var searchData= [ - ['game_0',['Game',['../classLibrary_1_1Game.html',1,'Library']]], - ['gamelist_1',['GameList',['../classLibrary_1_1GameList.html',1,'Library']]], - ['gametest_2',['GameTest',['../classLibraryTests_1_1GameTest.html',1,'LibraryTests']]], - ['gengar_3',['Gengar',['../classLibrary_1_1Gengar.html',1,'Library']]], - ['gengartest_4',['GengarTest',['../classLibraryTests_1_1GengarTest.html',1,'LibraryTests']]] + ['damagecalculator_0',['DamageCalculator',['../classLibrary_1_1DamageCalculator.html',1,'Library']]], + ['dragonite_1',['Dragonite',['../classLibrary_1_1Dragonite.html',1,'Library']]], + ['dragonitetest_2',['DragoniteTest',['../classLibraryTests_1_1DragoniteTest.html',1,'LibraryTests']]] ]; diff --git a/docs/html/search/classes_4.js b/docs/html/search/classes_4.js index edfc77d..c292a40 100644 --- a/docs/html/search/classes_4.js +++ b/docs/html/search/classes_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['haxorus_0',['Haxorus',['../classLibrary_1_1Haxorus.html',1,'Library']]], - ['haxorustest_1',['HaxorusTest',['../classLibraryTests_1_1HaxorusTest.html',1,'LibraryTests']]] + ['entei_0',['Entei',['../classLibrary_1_1Entei.html',1,'Library']]], + ['enteitest_1',['EnteiTest',['../classLibraryTests_1_1EnteiTest.html',1,'LibraryTests']]] ]; diff --git a/docs/html/search/classes_5.js b/docs/html/search/classes_5.js index 3757ad0..5432983 100644 --- a/docs/html/search/classes_5.js +++ b/docs/html/search/classes_5.js @@ -1,5 +1,7 @@ var searchData= [ - ['iattack_0',['IAttack',['../interfaceLibrary_1_1IAttack.html',1,'Library']]], - ['iitem_1',['IItem',['../interfaceLibrary_1_1IItem.html',1,'Library']]] + ['facade_0',['Facade',['../classLibrary_1_1Facade.html',1,'Library']]], + ['facadetest_1',['FacadeTest',['../classLibraryTests_1_1FacadeTest.html',1,'LibraryTests']]], + ['fullhealth_2',['FullHealth',['../classLibrary_1_1FullHealth.html',1,'Library']]], + ['fullhealthtest_3',['FullHealthTest',['../classLibraryTests_1_1FullHealthTest.html',1,'LibraryTests']]] ]; diff --git a/docs/html/search/classes_6.js b/docs/html/search/classes_6.js index e87a1a7..18374b0 100644 --- a/docs/html/search/classes_6.js +++ b/docs/html/search/classes_6.js @@ -1,5 +1,11 @@ var searchData= [ - ['mewtwo_0',['Mewtwo',['../classLibrary_1_1Mewtwo.html',1,'Library']]], - ['mewtwotest_1',['MewtwoTest',['../classLibraryTests_1_1MewtwoTest.html',1,'LibraryTests']]] + ['game_0',['Game',['../classLibrary_1_1Game.html',1,'Library']]], + ['gamelist_1',['GameList',['../classLibrary_1_1GameList.html',1,'Library']]], + ['gamelisttest_2',['GameListTest',['../classLibraryTests_1_1GameListTest.html',1,'LibraryTests']]], + ['gametest_3',['GameTest',['../classLibraryTests_1_1GameTest.html',1,'LibraryTests']]], + ['gastrodon_4',['Gastrodon',['../classLibrary_1_1Gastrodon.html',1,'Library']]], + ['gastrodontest_5',['GastrodonTest',['../classLibraryTests_1_1GastrodonTest.html',1,'LibraryTests']]], + ['gengar_6',['Gengar',['../classLibrary_1_1Gengar.html',1,'Library']]], + ['gengartest_7',['GengarTest',['../classLibraryTests_1_1GengarTest.html',1,'LibraryTests']]] ]; diff --git a/docs/html/search/classes_7.js b/docs/html/search/classes_7.js index 76936ae..0fd9e87 100644 --- a/docs/html/search/classes_7.js +++ b/docs/html/search/classes_7.js @@ -1,5 +1,9 @@ var searchData= [ - ['player_0',['Player',['../classLibrary_1_1Player.html',1,'Library']]], - ['pokemon_1',['Pokemon',['../classLibrary_1_1Pokemon.html',1,'Library']]] + ['haxorus_0',['Haxorus',['../classLibrary_1_1Haxorus.html',1,'Library']]], + ['haxorustest_1',['HaxorusTest',['../classLibraryTests_1_1HaxorusTest.html',1,'LibraryTests']]], + ['helpcommand_2',['HelpCommand',['../classLibrary_1_1Commands_1_1HelpCommand.html',1,'Library::Commands']]], + ['hpcommand_3',['HpCommand',['../classLibrary_1_1Commands_1_1HpCommand.html',1,'Library::Commands']]], + ['hydreigon_4',['Hydreigon',['../classLibrary_1_1Hydreigon.html',1,'Library']]], + ['hydreigontest_5',['HydreigonTest',['../classLibraryTests_1_1HydreigonTest.html',1,'LibraryTests']]] ]; diff --git a/docs/html/search/classes_8.js b/docs/html/search/classes_8.js index 8327434..5f7304b 100644 --- a/docs/html/search/classes_8.js +++ b/docs/html/search/classes_8.js @@ -1,5 +1,8 @@ var searchData= [ - ['revive_0',['Revive',['../classLibrary_1_1Revive.html',1,'Library']]], - ['revivetest_1',['ReviveTest',['../classLibraryTests_1_1ReviveTest.html',1,'LibraryTests']]] + ['iattack_0',['IAttack',['../interfaceLibrary_1_1IAttack.html',1,'Library']]], + ['ibot_1',['IBot',['../interfaceUcu_1_1Poo_1_1DiscordBot_1_1Services_1_1IBot.html',1,'Ucu::Poo::DiscordBot::Services']]], + ['iitem_2',['IItem',['../interfaceLibrary_1_1IItem.html',1,'Library']]], + ['istrategycritcheck_3',['IStrategyCritCheck',['../interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html',1,'Library::Strategies']]], + ['istrategystartingplayer_4',['IStrategyStartingPlayer',['../interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html',1,'Library::Strategies']]] ]; diff --git a/docs/html/search/classes_9.js b/docs/html/search/classes_9.js index cf9c426..3766b27 100644 --- a/docs/html/search/classes_9.js +++ b/docs/html/search/classes_9.js @@ -1,7 +1,5 @@ var searchData= [ - ['specialattack_0',['SpecialAttack',['../classLibrary_1_1SpecialAttack.html',1,'Library']]], - ['specialattacktest_1',['SpecialAttackTest',['../classLibraryTests_1_1SpecialAttackTest.html',1,'LibraryTests']]], - ['superpotion_2',['SuperPotion',['../classLibrary_1_1SuperPotion.html',1,'Library']]], - ['superpotiontest_3',['SuperPotionTest',['../classLibraryTests_1_1SuperPotionTest.html',1,'LibraryTests']]] + ['jigglypuff_0',['Jigglypuff',['../classLibrary_1_1Jigglypuff.html',1,'Library']]], + ['joincommand_1',['JoinCommand',['../classLibrary_1_1Commands_1_1JoinCommand.html',1,'Library::Commands']]] ]; diff --git a/docs/html/search/classes_a.js b/docs/html/search/classes_a.js index d1636ad..419963e 100644 --- a/docs/html/search/classes_a.js +++ b/docs/html/search/classes_a.js @@ -1,4 +1,4 @@ var searchData= [ - ['traintests_0',['TrainTests',['../classTests_1_1TrainTests.html',1,'Tests']]] + ['leavecommand_0',['LeaveCommand',['../classLibrary_1_1Commands_1_1LeaveCommand.html',1,'Library::Commands']]] ]; diff --git a/docs/html/search/classes_b.js b/docs/html/search/classes_b.js index 3162f7d..75ed5a6 100644 --- a/docs/html/search/classes_b.js +++ b/docs/html/search/classes_b.js @@ -1,4 +1,6 @@ var searchData= [ - ['waitinglist_0',['WaitingList',['../classLibrary_1_1WaitingList.html',1,'Library']]] + ['mewtwo_0',['Mewtwo',['../classLibrary_1_1Mewtwo.html',1,'Library']]], + ['mewtwotest_1',['MewtwoTest',['../classLibraryTests_1_1MewtwoTest.html',1,'LibraryTests']]], + ['modulebase_2',['ModuleBase',['../classModuleBase.html',1,'']]] ]; diff --git a/docs/html/search/classes_c.js b/docs/html/search/classes_c.js index d66e024..c9f1351 100644 --- a/docs/html/search/classes_c.js +++ b/docs/html/search/classes_c.js @@ -1,5 +1,8 @@ var searchData= [ - ['zeraora_0',['Zeraora',['../classLibrary_1_1Zeraora.html',1,'Library']]], - ['zeraoratest_1',['ZeraoraTest',['../classLibraryTests_1_1ZeraoraTest.html',1,'LibraryTests']]] + ['pikachu_0',['Pikachu',['../classLibrary_1_1Pikachu.html',1,'Library']]], + ['player_1',['Player',['../classLibrary_1_1Player.html',1,'Library']]], + ['pokemon_2',['Pokemon',['../classLibrary_1_1Pokemon.html',1,'Library']]], + ['pokemoncatalogue_3',['PokemonCatalogue',['../classLibrary_1_1PokemonCatalogue.html',1,'Library']]], + ['pokemonnamecommand_4',['PokemonNameCommand',['../classLibrary_1_1Commands_1_1PokemonNameCommand.html',1,'Library::Commands']]] ]; diff --git a/docs/html/search/classes_d.js b/docs/html/search/classes_d.js new file mode 100644 index 0000000..8327434 --- /dev/null +++ b/docs/html/search/classes_d.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['revive_0',['Revive',['../classLibrary_1_1Revive.html',1,'Library']]], + ['revivetest_1',['ReviveTest',['../classLibraryTests_1_1ReviveTest.html',1,'LibraryTests']]] +]; diff --git a/docs/html/search/classes_e.js b/docs/html/search/classes_e.js new file mode 100644 index 0000000..ff0e8fc --- /dev/null +++ b/docs/html/search/classes_e.js @@ -0,0 +1,24 @@ +var searchData= +[ + ['scyther_0',['Scyther',['../classLibrary_1_1Scyther.html',1,'Library']]], + ['showattackscommand_1',['ShowAttacksCommand',['../classLibrary_1_1Commands_1_1ShowAttacksCommand.html',1,'Library::Commands']]], + ['showitemscommand_2',['ShowItemsCommand',['../classLibrary_1_1Commands_1_1ShowItemsCommand.html',1,'Library::Commands']]], + ['specialattack_3',['SpecialAttack',['../classLibrary_1_1SpecialAttack.html',1,'Library']]], + ['specialattacktest_4',['SpecialAttackTest',['../classLibraryTests_1_1SpecialAttackTest.html',1,'LibraryTests']]], + ['statelogictest_5',['StateLogicTest',['../classLibraryTests_1_1StateLogicTest.html',1,'LibraryTests']]], + ['strategyalwayscrit_6',['StrategyAlwaysCrit',['../classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html',1,'Library::Strategies']]], + ['strategyalwayscrittest_7',['StrategyAlwaysCritTest',['../classLibraryTests_1_1Strategies_1_1StrategyAlwaysCritTest.html',1,'LibraryTests::Strategies']]], + ['strategynoncrit_8',['StrategyNonCrit',['../classLibrary_1_1Strategies_1_1StrategyNonCrit.html',1,'Library::Strategies']]], + ['strategynoncrittest_9',['StrategyNonCritTest',['../classLibraryTests_1_1Strategies_1_1StrategyNonCritTest.html',1,'LibraryTests::Strategies']]], + ['strategyplayeronestart_10',['StrategyPlayerOneStart',['../classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html',1,'Library::Strategies']]], + ['strategyplayeronestarttest_11',['StrategyPlayerOneStartTest',['../classLibraryTests_1_1Strategies_1_1StrategyPlayerOneStartTest.html',1,'LibraryTests::Strategies']]], + ['strategyplayertwostart_12',['StrategyPlayerTwoStart',['../classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html',1,'Library::Strategies']]], + ['strategyplayertwostarttest_13',['StrategyPlayerTwoStartTest',['../classLibraryTests_1_1Strategies_1_1StrategyPlayerTwoStartTest.html',1,'LibraryTests::Strategies']]], + ['strategyrandomcrit_14',['StrategyRandomCrit',['../classLibrary_1_1Strategies_1_1StrategyRandomCrit.html',1,'Library::Strategies']]], + ['strategyrandomcrittest_15',['StrategyRandomCritTest',['../classLibraryTests_1_1Strategies_1_1StrategyRandomCritTest.html',1,'LibraryTests::Strategies']]], + ['strategyrandomstartingplayer_16',['StrategyRandomStartingPlayer',['../classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html',1,'Library::Strategies']]], + ['strategyrandomstartingplayertest_17',['StrategyRandomStartingPlayerTest',['../classLibraryTests_1_1Strategies_1_1StrategyRandomStartingPlayerTest.html',1,'LibraryTests::Strategies']]], + ['superpotion_18',['SuperPotion',['../classLibrary_1_1SuperPotion.html',1,'Library']]], + ['superpotiontest_19',['SuperPotionTest',['../classLibraryTests_1_1SuperPotionTest.html',1,'LibraryTests']]], + ['surrendercommand_20',['SurrenderCommand',['../classLibrary_1_1Commands_1_1SurrenderCommand.html',1,'Library::Commands']]] +]; diff --git a/docs/html/search/classes_f.js b/docs/html/search/classes_f.js new file mode 100644 index 0000000..d1636ad --- /dev/null +++ b/docs/html/search/classes_f.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['traintests_0',['TrainTests',['../classTests_1_1TrainTests.html',1,'Tests']]] +]; diff --git a/docs/html/search/enums_0.js b/docs/html/search/enums_0.js index f8b58eb..2b15f7a 100644 --- a/docs/html/search/enums_0.js +++ b/docs/html/search/enums_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['state_0',['State',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808',1,'Library']]] + ['state_0',['State',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808',1,'Library.State'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808',1,'Library.State']]] ]; diff --git a/docs/html/search/enums_1.js b/docs/html/search/enums_1.js index a0fda35..84bdbc1 100644 --- a/docs/html/search/enums_1.js +++ b/docs/html/search/enums_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['type_0',['Type',['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977d',1,'Library']]] + ['type_0',['Type',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609',1,'Library.Type'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977d',1,'Library.Type']]] ]; diff --git a/docs/html/search/enumvalues_0.js b/docs/html/search/enumvalues_0.js new file mode 100644 index 0000000..9975503 --- /dev/null +++ b/docs/html/search/enumvalues_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['asleep_0',['Asleep',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a56a8ddcbbee153b7f751514c8b607b3e',1,'Library.Asleep'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a56a8ddcbbee153b7f751514c8b607b3e',1,'Library.Asleep']]] +]; diff --git a/docs/html/search/enumvalues_1.js b/docs/html/search/enumvalues_1.js new file mode 100644 index 0000000..65b96b9 --- /dev/null +++ b/docs/html/search/enumvalues_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['bug_0',['Bug',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609ac83640c604dd5e0eacbf3de0a1181101',1,'Library.Bug'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977dac83640c604dd5e0eacbf3de0a1181101',1,'Library.Bug']]], + ['burned_1',['Burned',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a26087341433e59614e8a48d71b91f72e',1,'Library.Burned'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a26087341433e59614e8a48d71b91f72e',1,'Library.Burned']]] +]; diff --git a/docs/html/search/enumvalues_2.js b/docs/html/search/enumvalues_2.js new file mode 100644 index 0000000..8118473 --- /dev/null +++ b/docs/html/search/enumvalues_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['dragon_0',['Dragon',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a583f4be146b6127f9e4f3f036ce7df43',1,'Library.Dragon'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da583f4be146b6127f9e4f3f036ce7df43',1,'Library.Dragon']]] +]; diff --git a/docs/html/search/enumvalues_3.js b/docs/html/search/enumvalues_3.js new file mode 100644 index 0000000..dff8927 --- /dev/null +++ b/docs/html/search/enumvalues_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['electric_0',['Electric',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609aa74711a0a27d5306d53f17771c2161cb',1,'Library.Electric'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977daa74711a0a27d5306d53f17771c2161cb',1,'Library.Electric']]] +]; diff --git a/docs/html/search/enumvalues_4.js b/docs/html/search/enumvalues_4.js new file mode 100644 index 0000000..409a4d5 --- /dev/null +++ b/docs/html/search/enumvalues_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['fighting_0',['Fighting',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609aef492f571a74192b637adada68fdd94a',1,'Library.Fighting'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977daef492f571a74192b637adada68fdd94a',1,'Library.Fighting']]], + ['fire_1',['Fire',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609abd2b7e5f85a6ea65065c4ebc6d7c95bb',1,'Library.Fire'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977dabd2b7e5f85a6ea65065c4ebc6d7c95bb',1,'Library.Fire']]], + ['flying_2',['Flying',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a444733081a578880ba8a563d3c59d22d',1,'Library.Flying'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da444733081a578880ba8a563d3c59d22d',1,'Library.Flying']]] +]; diff --git a/docs/html/search/enumvalues_5.js b/docs/html/search/enumvalues_5.js new file mode 100644 index 0000000..96cbd8d --- /dev/null +++ b/docs/html/search/enumvalues_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['ghost_0',['Ghost',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a401357e57c765967393ba391a338e89b',1,'Library.Ghost'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da401357e57c765967393ba391a338e89b',1,'Library.Ghost']]], + ['grass_1',['Grass',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609aaac9a63596f76a62bb9f61a5dd7c0d25',1,'Library.Grass'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977daaac9a63596f76a62bb9f61a5dd7c0d25',1,'Library.Grass']]], + ['ground_2',['Ground',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a3519d51443d41746a097cd54cd5c11cf',1,'Library.Ground'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da3519d51443d41746a097cd54cd5c11cf',1,'Library.Ground']]] +]; diff --git a/docs/html/search/enumvalues_6.js b/docs/html/search/enumvalues_6.js new file mode 100644 index 0000000..243a33f --- /dev/null +++ b/docs/html/search/enumvalues_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['ice_0',['Ice',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a583d6a9fe10d672474e2cdca476113b7',1,'Library.Ice'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da583d6a9fe10d672474e2cdca476113b7',1,'Library.Ice']]] +]; diff --git a/docs/html/search/enumvalues_7.js b/docs/html/search/enumvalues_7.js new file mode 100644 index 0000000..8fce5b7 --- /dev/null +++ b/docs/html/search/enumvalues_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['normal_0',['Normal',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a960b44c579bc2f6818d2daaf9e4c16f0',1,'Library.Normal'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da960b44c579bc2f6818d2daaf9e4c16f0',1,'Library.Normal']]] +]; diff --git a/docs/html/search/enumvalues_8.js b/docs/html/search/enumvalues_8.js new file mode 100644 index 0000000..b5f3201 --- /dev/null +++ b/docs/html/search/enumvalues_8.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['paralized_0',['Paralized',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a827a0360b271e4dda9b1d9523d6adedb',1,'Library.Paralized'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808a827a0360b271e4dda9b1d9523d6adedb',1,'Library.Paralized']]], + ['poison_1',['Poison',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a3a9d1818d0d7f5646e63465baf7d366f',1,'Library.Poison'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da3a9d1818d0d7f5646e63465baf7d366f',1,'Library.Poison']]], + ['poisoned_2',['Poisoned',['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808aa3bdbf2434870a6548df06309bb536b1',1,'Library.Poisoned'],['../namespaceLibrary.html#af3eb5737492f0402a68fa06f7f9df808aa3bdbf2434870a6548df06309bb536b1',1,'Library.Poisoned']]], + ['psychic_3',['Psychic',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a1a0d4dfdb97302cb8ac802fd459ea37a',1,'Library.Psychic'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da1a0d4dfdb97302cb8ac802fd459ea37a',1,'Library.Psychic']]] +]; diff --git a/docs/html/search/enumvalues_9.js b/docs/html/search/enumvalues_9.js new file mode 100644 index 0000000..d209579 --- /dev/null +++ b/docs/html/search/enumvalues_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['rock_0',['Rock',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a4cfbb125e9878528bab91d12421134d8',1,'Library.Rock'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da4cfbb125e9878528bab91d12421134d8',1,'Library.Rock']]] +]; diff --git a/docs/html/search/enumvalues_a.js b/docs/html/search/enumvalues_a.js new file mode 100644 index 0000000..d74738b --- /dev/null +++ b/docs/html/search/enumvalues_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['water_0',['Water',['../namespaceLibrary.html#a4957a30a7a794dd2546fd1082ad83609a27634ff8002b12e75d98e07ccd005d18',1,'Library.Water'],['../namespaceLibrary.html#aad57d9c84664c92603518b4b1265977da27634ff8002b12e75d98e07ccd005d18',1,'Library.Water']]] +]; diff --git a/docs/html/search/functions_0.js b/docs/html/search/functions_0.js index 6c0ee6b..c53a51f 100644 --- a/docs/html/search/functions_0.js +++ b/docs/html/search/functions_0.js @@ -1,8 +1,12 @@ var searchData= [ - ['addattack_0',['AddAttack',['../classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33',1,'Library::Pokemon']]], - ['addgame_1',['AddGame',['../classLibrary_1_1GameList.html#acbab8e4b66af16b4ee5cd7b3669a5f82',1,'Library::GameList']]], - ['addplayer_2',['AddPlayer',['../classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252',1,'Library::WaitingList']]], - ['addtoteam_3',['AddToTeam',['../classLibrary_1_1Player.html#aca63ec3547f91e79f9f5c22e366dec9f',1,'Library::Player']]], - ['attack_4',['Attack',['../classLibrary_1_1Attack.html#ab9d514e0369d223cd133d62f9c7422a1',1,'Library::Attack']]] + ['addattack_0',['AddAttack',['../classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33',1,'Library.Pokemon.AddAttack(IAttack attack)'],['../classLibrary_1_1Pokemon.html#afb6abd5fc8418d94dbcad9bdc8820e33',1,'Library.Pokemon.AddAttack(IAttack attack)']]], + ['addgame_1',['AddGame',['../classLibrary_1_1GameList.html#acbab8e4b66af16b4ee5cd7b3669a5f82',1,'Library.GameList.AddGame(Player player1, Player player2)'],['../classLibrary_1_1GameList.html#a45c0f28f038e39c006b22a98de193244',1,'Library.GameList.AddGame(Player player1, Player player2, IStrategyStartingPlayer strategyStartingPlayer)']]], + ['addplayer_2',['AddPlayer',['../classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252',1,'Library.WaitingList.AddPlayer(string playerName)'],['../classLibrary_1_1WaitingList.html#a47c96f30aa249140efbc4de70897c252',1,'Library.WaitingList.AddPlayer(string playerName)']]], + ['addplayertowaitinglist_3',['AddPlayerToWaitingList',['../classLibrary_1_1Facade.html#ab8784ba49bab75ab95697412f7154c37',1,'Library.Facade.AddPlayerToWaitingList(string playerName)'],['../classLibrary_1_1Facade.html#a28c360b7b080e1dc99a7bab8aacea2d8',1,'Library.Facade.AddPlayerToWaitingList(string playerName)']]], + ['addtoteam_4',['AddToTeam',['../classLibrary_1_1Player.html#aca63ec3547f91e79f9f5c22e366dec9f',1,'Library.Player.AddToTeam(Pokemon pokemon)'],['../classLibrary_1_1Player.html#a89c81a80f17cad301cb264164f8e6490',1,'Library.Player.AddToTeam(Pokemon pokemon)']]], + ['asleepeffectdecreasesturnsandreturnstrue_5',['AsleepEffectDecreasesTurnsAndReturnsTrue',['../classLibraryTests_1_1StateLogicTest.html#ae05e3983460603c7cd9af708e5be1c7c',1,'LibraryTests::StateLogicTest']]], + ['asleepeffectisnotset_6',['AsleepEffectIsNotSet',['../classLibraryTests_1_1StateLogicTest.html#a77a74306f33c1cef3f1b2ce075e8837d',1,'LibraryTests::StateLogicTest']]], + ['asleepeffectwakespokemonandreturnsfalse_7',['AsleepEffectWakesPokemonAndReturnsFalse',['../classLibraryTests_1_1StateLogicTest.html#a2d056ee95b21771e97c6130591cad345',1,'LibraryTests::StateLogicTest']]], + ['attack_8',['Attack',['../classLibrary_1_1Attack.html#ab9d514e0369d223cd133d62f9c7422a1',1,'Library.Attack.Attack(string name, Type type, double accuracy, int power)'],['../classLibrary_1_1Attack.html#ab9d514e0369d223cd133d62f9c7422a1',1,'Library.Attack.Attack(string name, Type type, double accuracy, int power)']]] ]; diff --git a/docs/html/search/functions_1.js b/docs/html/search/functions_1.js index 51f174f..86c409a 100644 --- a/docs/html/search/functions_1.js +++ b/docs/html/search/functions_1.js @@ -1,9 +1,5 @@ var searchData= [ - ['caterpie_0',['Caterpie',['../classLibrary_1_1Caterpie.html#ae2d6f0acc15e9eeb563954e5ef074376',1,'Library::Caterpie']]], - ['changepokemon_1',['ChangePokemon',['../classLibrary_1_1Game.html#a9dd5a455b44cc24f7f9a6e9bcdc37b69',1,'Library::Game']]], - ['charizard_2',['Charizard',['../classLibrary_1_1Charizard.html#a267dc6497037441ff055455e4200a8cc',1,'Library::Charizard']]], - ['checkplayeringame_3',['CheckPlayerInGame',['../classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce',1,'Library::Game']]], - ['chikorita_4',['Chikorita',['../classLibrary_1_1Chikorita.html#abd7e98874044dbf7460be88ef436413d',1,'Library::Chikorita']]], - ['cooldowncheck_5',['CooldownCheck',['../classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825',1,'Library::Game']]] + ['bothplayershavechosenteam_0',['BothPlayersHaveChosenTeam',['../classLibrary_1_1Game.html#a528d52cbb8d9637f8dd55cdf6c7ceea1',1,'Library::Game']]], + ['burnedeffectdecreaselife_1',['BurnedEffectDecreaseLife',['../classLibraryTests_1_1StateLogicTest.html#a1e4a543c6b756917e606fba6804c7f71',1,'LibraryTests::StateLogicTest']]] ]; diff --git a/docs/html/search/functions_10.js b/docs/html/search/functions_10.js new file mode 100644 index 0000000..951de77 --- /dev/null +++ b/docs/html/search/functions_10.js @@ -0,0 +1,74 @@ +var searchData= +[ + ['takedamage_0',['TakeDamage',['../classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5',1,'Library.Pokemon.TakeDamage(double damage)'],['../classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5',1,'Library.Pokemon.TakeDamage(double damage)']]], + ['testaccuracy0_1',['TestAccuracy0',['../classLibraryTests_1_1AttackTest.html#ae2b01a44fc5c603c760eeeedbcbd7207',1,'LibraryTests.AttackTest.TestAccuracy0()'],['../classLibraryTests_1_1AttackTest.html#ae2b01a44fc5c603c760eeeedbcbd7207',1,'LibraryTests.AttackTest.TestAccuracy0()']]], + ['testaddafifthattack_2',['TestAddAFifthAttack',['../classLibraryTests_1_1CaterpieTest.html#ac345214004dc7c0ab6303ecdfc663c6e',1,'LibraryTests.CaterpieTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1CharizardTest.html#a86c58745fa752bfb3a931687fdc077da',1,'LibraryTests.CharizardTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ChikoritaTest.html#abfbb286356c6decc46a40fa3a8e1c036',1,'LibraryTests.ChikoritaTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254',1,'LibraryTests.GengarTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05',1,'LibraryTests.HaxorusTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155',1,'LibraryTests.MewtwoTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825',1,'LibraryTests.ZeraoraTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1CaterpieTest.html#ac345214004dc7c0ab6303ecdfc663c6e',1,'LibraryTests.CaterpieTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1CharizardTest.html#a86c58745fa752bfb3a931687fdc077da',1,'LibraryTests.CharizardTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ChikoritaTest.html#abfbb286356c6decc46a40fa3a8e1c036',1,'LibraryTests.ChikoritaTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1DragoniteTest.html#a4a278dc6b1cded4cbc74e201f2903b8f',1,'LibraryTests.DragoniteTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1EnteiTest.html#a4c96874da4fff4aa6007982ccebfccd2',1,'LibraryTests.EnteiTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1GastrodonTest.html#a3a61683d426fa53bea4d97cee82966ee',1,'LibraryTests.GastrodonTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254',1,'LibraryTests.GengarTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05',1,'LibraryTests.HaxorusTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1HydreigonTest.html#afe9e3eafb2d7fb8faa44f91e44f85eb6',1,'LibraryTests.HydreigonTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155',1,'LibraryTests.MewtwoTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825',1,'LibraryTests.ZeraoraTest.TestAddAFifthAttack()']]], + ['testaddgame_3',['TestAddGame',['../classLibraryTests_1_1GameListTest.html#accc3ecb4dc04d2d6a37279b45ad29a8d',1,'LibraryTests::GameListTest']]], + ['testaddplayer_4',['TestAddPlayer',['../classLibraryTests_1_1WaitingListTest.html#a4d0f3b6a1e4c4289dfcbaaeefcb50940',1,'LibraryTests::WaitingListTest']]], + ['testasleepturns_5',['TestAsleepTurns',['../classLibraryTests_1_1CaterpieTest.html#ab6f5df63fe31338491c34218228274fa',1,'LibraryTests.CaterpieTest.TestAsleepTurns()'],['../classLibraryTests_1_1CharizardTest.html#af494dec2a89b393df43223c6f90ac32f',1,'LibraryTests.CharizardTest.TestAsleepTurns()'],['../classLibraryTests_1_1ChikoritaTest.html#a14a17fa1d6c906bfe1c1b55bd35c91ef',1,'LibraryTests.ChikoritaTest.TestAsleepTurns()'],['../classLibraryTests_1_1GengarTest.html#a21d30a241f089afbdc6d4d07e9384a84',1,'LibraryTests.GengarTest.TestAsleepTurns()'],['../classLibraryTests_1_1HaxorusTest.html#a1407cc5aee1c1af88fe54cd2d1918515',1,'LibraryTests.HaxorusTest.TestAsleepTurns()'],['../classLibraryTests_1_1MewtwoTest.html#abb0d4c92483b8a3d57a6dfced08b2f11',1,'LibraryTests.MewtwoTest.TestAsleepTurns()'],['../classLibraryTests_1_1ZeraoraTest.html#a674aaaed2a9ef15ca5ec425215c797d0',1,'LibraryTests.ZeraoraTest.TestAsleepTurns()'],['../classLibraryTests_1_1CaterpieTest.html#ab6f5df63fe31338491c34218228274fa',1,'LibraryTests.CaterpieTest.TestAsleepTurns()'],['../classLibraryTests_1_1CharizardTest.html#af494dec2a89b393df43223c6f90ac32f',1,'LibraryTests.CharizardTest.TestAsleepTurns()'],['../classLibraryTests_1_1ChikoritaTest.html#a14a17fa1d6c906bfe1c1b55bd35c91ef',1,'LibraryTests.ChikoritaTest.TestAsleepTurns()'],['../classLibraryTests_1_1DragoniteTest.html#a353baa5507b5d28f17534dc36565da9e',1,'LibraryTests.DragoniteTest.TestAsleepTurns()'],['../classLibraryTests_1_1EnteiTest.html#a2c92a70770242e77bee57b35842cd964',1,'LibraryTests.EnteiTest.TestAsleepTurns()'],['../classLibraryTests_1_1GastrodonTest.html#a43b1770fc8bcce0a758edc74a4f6efb2',1,'LibraryTests.GastrodonTest.TestAsleepTurns()'],['../classLibraryTests_1_1GengarTest.html#a21d30a241f089afbdc6d4d07e9384a84',1,'LibraryTests.GengarTest.TestAsleepTurns()'],['../classLibraryTests_1_1HaxorusTest.html#a1407cc5aee1c1af88fe54cd2d1918515',1,'LibraryTests.HaxorusTest.TestAsleepTurns()'],['../classLibraryTests_1_1HydreigonTest.html#ad8da61b34ae092f3a857cf0a806821bc',1,'LibraryTests.HydreigonTest.TestAsleepTurns()'],['../classLibraryTests_1_1MewtwoTest.html#abb0d4c92483b8a3d57a6dfced08b2f11',1,'LibraryTests.MewtwoTest.TestAsleepTurns()'],['../classLibraryTests_1_1ZeraoraTest.html#a674aaaed2a9ef15ca5ec425215c797d0',1,'LibraryTests.ZeraoraTest.TestAsleepTurns()']]], + ['testattacks_6',['TestAttacks',['../classLibraryTests_1_1CaterpieTest.html#ae3a39dc20bfd73d5795037ff846b9dd8',1,'LibraryTests.CaterpieTest.TestAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a9057848ebde0cc2f7d59de764897b0e9',1,'LibraryTests.CharizardTest.TestAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#a44e2efc460aadb737ecf28f41468d5f4',1,'LibraryTests.ChikoritaTest.TestAttacks()'],['../classLibraryTests_1_1GengarTest.html#a08d3c6ef6a8e07196ac116b81387dcc4',1,'LibraryTests.GengarTest.TestAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#a6c6774992316d17c0766a7f94fdba107',1,'LibraryTests.HaxorusTest.TestAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#a91a6d02cac5887e1eae62165e70f9cc7',1,'LibraryTests.MewtwoTest.TestAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#a795661d38e354292a5af622212e144de',1,'LibraryTests.ZeraoraTest.TestAttacks()'],['../classLibraryTests_1_1CaterpieTest.html#ae3a39dc20bfd73d5795037ff846b9dd8',1,'LibraryTests.CaterpieTest.TestAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a9057848ebde0cc2f7d59de764897b0e9',1,'LibraryTests.CharizardTest.TestAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#a44e2efc460aadb737ecf28f41468d5f4',1,'LibraryTests.ChikoritaTest.TestAttacks()'],['../classLibraryTests_1_1DragoniteTest.html#af8ab9b69eb28d8f16b9bff9acf66c6a8',1,'LibraryTests.DragoniteTest.TestAttacks()'],['../classLibraryTests_1_1EnteiTest.html#affe8fa995b39ba759099a3ed98c8862f',1,'LibraryTests.EnteiTest.TestAttacks()'],['../classLibraryTests_1_1GastrodonTest.html#aea1500daa3d27cbb44c13fb7c3bb7728',1,'LibraryTests.GastrodonTest.TestAttacks()'],['../classLibraryTests_1_1GengarTest.html#a08d3c6ef6a8e07196ac116b81387dcc4',1,'LibraryTests.GengarTest.TestAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#a6c6774992316d17c0766a7f94fdba107',1,'LibraryTests.HaxorusTest.TestAttacks()'],['../classLibraryTests_1_1HydreigonTest.html#afbfc3df59f9b286a92be233c4808cd72',1,'LibraryTests.HydreigonTest.TestAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#a91a6d02cac5887e1eae62165e70f9cc7',1,'LibraryTests.MewtwoTest.TestAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#a795661d38e354292a5af622212e144de',1,'LibraryTests.ZeraoraTest.TestAttacks()']]], + ['testchangepokemon_7',['TestChangePokemon',['../classLibraryTests_1_1GameTest.html#a4d3981741bd395aabe69ebca419058c4',1,'LibraryTests::GameTest']]], + ['testconstructor_8',['TestConstructor',['../classLibraryTests_1_1SpecialAttackTest.html#a20e588c54f1972e19a42110d4f64589b',1,'LibraryTests::SpecialAttackTest']]], + ['testcurrentstateandeditstate_9',['TestCurrentStateAndEditState',['../classLibraryTests_1_1CaterpieTest.html#a611bdba831427668f0a3a31d5247563e',1,'LibraryTests.CaterpieTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1CharizardTest.html#ab39a552ec8014a61ea8e539f2639d7de',1,'LibraryTests.CharizardTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ChikoritaTest.html#a70ab22541afde74368b6a17125382a70',1,'LibraryTests.ChikoritaTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1GengarTest.html#a31dd1a7be28f9435eee912af68f8fb5c',1,'LibraryTests.GengarTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1HaxorusTest.html#a2e99bec64ca83898555c877f74902b26',1,'LibraryTests.HaxorusTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1MewtwoTest.html#a22dff77c9f73538d9f290a414165a1bc',1,'LibraryTests.MewtwoTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ZeraoraTest.html#a3e93f78d80c10921224626418b374686',1,'LibraryTests.ZeraoraTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1CaterpieTest.html#a611bdba831427668f0a3a31d5247563e',1,'LibraryTests.CaterpieTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1CharizardTest.html#ab39a552ec8014a61ea8e539f2639d7de',1,'LibraryTests.CharizardTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ChikoritaTest.html#a70ab22541afde74368b6a17125382a70',1,'LibraryTests.ChikoritaTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1DragoniteTest.html#a57ceef29e42e17f60469a82d727f965d',1,'LibraryTests.DragoniteTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1EnteiTest.html#ad8dbdc27468358184b3ccb430d7a2fda',1,'LibraryTests.EnteiTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1GastrodonTest.html#a19a70acfa68c0fc126d13dfbcb88535f',1,'LibraryTests.GastrodonTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1GengarTest.html#a31dd1a7be28f9435eee912af68f8fb5c',1,'LibraryTests.GengarTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1HaxorusTest.html#a2e99bec64ca83898555c877f74902b26',1,'LibraryTests.HaxorusTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1HydreigonTest.html#ae8764629f4f30763ab06fd2a1af60059',1,'LibraryTests.HydreigonTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1MewtwoTest.html#a22dff77c9f73538d9f290a414165a1bc',1,'LibraryTests.MewtwoTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ZeraoraTest.html#a3e93f78d80c10921224626418b374686',1,'LibraryTests.ZeraoraTest.TestCurrentStateAndEditState()']]], + ['testfindattackbyname_10',['TestFindAttackByName',['../classLibraryTests_1_1CaterpieTest.html#acbd1c374073ecdf652b15d496f000b32',1,'LibraryTests.CaterpieTest.TestFindAttackByName()'],['../classLibraryTests_1_1CharizardTest.html#a1063b391228e714452f3117fd9d4d8d8',1,'LibraryTests.CharizardTest.TestFindAttackByName()'],['../classLibraryTests_1_1ChikoritaTest.html#a2a4ae1aec5f16073485dfc944ff918b2',1,'LibraryTests.ChikoritaTest.TestFindAttackByName()'],['../classLibraryTests_1_1GengarTest.html#a0d017a884cbe408d8aa10036c52221a7',1,'LibraryTests.GengarTest.TestFindAttackByName()'],['../classLibraryTests_1_1HaxorusTest.html#a90943c2e7008575ccbab9d08dd616f33',1,'LibraryTests.HaxorusTest.TestFindAttackByName()'],['../classLibraryTests_1_1MewtwoTest.html#a4333dfbf8559385b8a2fe6880d182b77',1,'LibraryTests.MewtwoTest.TestFindAttackByName()'],['../classLibraryTests_1_1ZeraoraTest.html#a80e159271af4cc546ee2712561b67392',1,'LibraryTests.ZeraoraTest.TestFindAttackByName()']]], + ['testfindgamebyplayer_11',['TestFindGameByPlayer',['../classLibraryTests_1_1GameListTest.html#a0643e68476104275fa37144d368b185f',1,'LibraryTests::GameListTest']]], + ['testfindplayerbyname_12',['TestFindPlayerByName',['../classLibraryTests_1_1GameListTest.html#a2b03d00401332e0e5be0af38ae416b2d',1,'LibraryTests.GameListTest.TestFindPlayerByName()'],['../classLibraryTests_1_1WaitingListTest.html#ab5c373347f4922a64f20c838358b8ac3',1,'LibraryTests.WaitingListTest.TestFindPlayerByName()']]], + ['testgetgamelist_13',['TestGetGameList',['../classLibraryTests_1_1GameListTest.html#ab6c41e1195e83338035604ac75bea430',1,'LibraryTests::GameListTest']]], + ['testgetsomeone_14',['TestGetSomeone',['../classLibraryTests_1_1WaitingListTest.html#a244b48901624c5eb50756897296538ef',1,'LibraryTests::WaitingListTest']]], + ['testgetwaitinglist_15',['TestGetWaitingList',['../classLibraryTests_1_1WaitingListTest.html#a34b2c0844e2d7634326a82afa0b4f7b1',1,'LibraryTests::WaitingListTest']]], + ['testifithasfourattacks_16',['TestIfItHasFourAttacks',['../classLibraryTests_1_1CaterpieTest.html#aec8b91165973d59361fec4f9526e067e',1,'LibraryTests.CaterpieTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a038f5e6d36efefe0f5bf7e61ef1567c5',1,'LibraryTests.CharizardTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#aaa714a81ea1e7b6f9fa63e44b1ef6a50',1,'LibraryTests.ChikoritaTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1GengarTest.html#ab7f1d19b871f4487857193b35d89ec71',1,'LibraryTests.GengarTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#aaf2da21da69856ccb2f60eeb3324f93e',1,'LibraryTests.HaxorusTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#ac8458736796b288ba65e4c34d2061bab',1,'LibraryTests.MewtwoTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#ac8f35530178a4ba6be4099881680420e',1,'LibraryTests.ZeraoraTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1CaterpieTest.html#aec8b91165973d59361fec4f9526e067e',1,'LibraryTests.CaterpieTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a038f5e6d36efefe0f5bf7e61ef1567c5',1,'LibraryTests.CharizardTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#aaa714a81ea1e7b6f9fa63e44b1ef6a50',1,'LibraryTests.ChikoritaTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1DragoniteTest.html#ae6cddc0b7f6ad7a52c8c0d739ae10a3f',1,'LibraryTests.DragoniteTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1EnteiTest.html#a1a3b7af7512c576dab6c84231d7d8e53',1,'LibraryTests.EnteiTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1GastrodonTest.html#ad25439bfc3837d20e7fb4c5bec6cec72',1,'LibraryTests.GastrodonTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1GengarTest.html#ab7f1d19b871f4487857193b35d89ec71',1,'LibraryTests.GengarTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#aaf2da21da69856ccb2f60eeb3324f93e',1,'LibraryTests.HaxorusTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1HydreigonTest.html#ae1c0ff6486acdde68ccf532b2bb6d018',1,'LibraryTests.HydreigonTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#ac8458736796b288ba65e4c34d2061bab',1,'LibraryTests.MewtwoTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#ac8f35530178a4ba6be4099881680420e',1,'LibraryTests.ZeraoraTest.TestIfItHasFourAttacks()']]], + ['testinfoattack_17',['TestInfoAttack',['../classLibraryTests_1_1SpecialAttackTest.html#a217284da634f9358b4a6e01d84fc0c21',1,'LibraryTests::SpecialAttackTest']]], + ['testinstance_18',['TestInstance',['../classLibraryTests_1_1CaterpieTest.html#aa85eea6e3fc154559eb11bf7e0a10e10',1,'LibraryTests.CaterpieTest.TestInstance()'],['../classLibraryTests_1_1CharizardTest.html#aa888a6ea2d90ea216a2d2058bed4c116',1,'LibraryTests.CharizardTest.TestInstance()'],['../classLibraryTests_1_1ChikoritaTest.html#ac8ae5e64ce1303ffa6cc0c7decbdae20',1,'LibraryTests.ChikoritaTest.TestInstance()'],['../classLibraryTests_1_1DragoniteTest.html#ad9a94713c51f4b5469d43f9ff9300926',1,'LibraryTests.DragoniteTest.TestInstance()'],['../classLibraryTests_1_1EnteiTest.html#aea94e25bfe7c570bf322ffc9a7490dce',1,'LibraryTests.EnteiTest.TestInstance()'],['../classLibraryTests_1_1GastrodonTest.html#a9cf25ff93083193976a92ccced56dcf8',1,'LibraryTests.GastrodonTest.TestInstance()'],['../classLibraryTests_1_1GengarTest.html#a0a626eb3aa509788704e9ffc8c714f7b',1,'LibraryTests.GengarTest.TestInstance()'],['../classLibraryTests_1_1HaxorusTest.html#a706ea98c8a7dab6aae6b39cee15418a1',1,'LibraryTests.HaxorusTest.TestInstance()'],['../classLibraryTests_1_1HydreigonTest.html#a10a8cf632328d3901689035d4139190e',1,'LibraryTests.HydreigonTest.TestInstance()'],['../classLibraryTests_1_1MewtwoTest.html#a090e67d35b8084afeb2cbde7e5e50d8d',1,'LibraryTests.MewtwoTest.TestInstance()'],['../classLibraryTests_1_1ZeraoraTest.html#a8de69ecf207ac88161093c9da555274a',1,'LibraryTests.ZeraoraTest.TestInstance()']]], + ['testinvalidaccuracy_19',['TestInvalidAccuracy',['../classLibraryTests_1_1AttackTest.html#ac46ab2972608220d015d9cc829f33296',1,'LibraryTests.AttackTest.TestInvalidAccuracy()'],['../classLibraryTests_1_1AttackTest.html#ac46ab2972608220d015d9cc829f33296',1,'LibraryTests.AttackTest.TestInvalidAccuracy()']]], + ['testinvalidpower_20',['TestInvalidPower',['../classLibraryTests_1_1AttackTest.html#a10196ec900c49f602215757178d9e5fd',1,'LibraryTests.AttackTest.TestInvalidPower()'],['../classLibraryTests_1_1AttackTest.html#a10196ec900c49f602215757178d9e5fd',1,'LibraryTests.AttackTest.TestInvalidPower()']]], + ['testlifeandcurrentlife_21',['TestLifeAndCurrentLife',['../classLibraryTests_1_1CaterpieTest.html#aa18fa9e11b12e0dade2839c4f28b5498',1,'LibraryTests.CaterpieTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1CharizardTest.html#ac019d201962221acf413c5886d1e65a7',1,'LibraryTests.CharizardTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ChikoritaTest.html#a498eeca59ab941ff2950055a72a07952',1,'LibraryTests.ChikoritaTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1GengarTest.html#ae0f4254d586aba1e86623590761bd324',1,'LibraryTests.GengarTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1HaxorusTest.html#a584d7ca8190839e7246d92d271719eb1',1,'LibraryTests.HaxorusTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1MewtwoTest.html#a66c9be0af6db0dad0a0ade63ffa40905',1,'LibraryTests.MewtwoTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0732e7f35761031c87072667475f03a5',1,'LibraryTests.ZeraoraTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1CaterpieTest.html#aa18fa9e11b12e0dade2839c4f28b5498',1,'LibraryTests.CaterpieTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1CharizardTest.html#ac019d201962221acf413c5886d1e65a7',1,'LibraryTests.CharizardTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ChikoritaTest.html#a498eeca59ab941ff2950055a72a07952',1,'LibraryTests.ChikoritaTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1DragoniteTest.html#a6dba4678b27047a8d98a484789f83e08',1,'LibraryTests.DragoniteTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1EnteiTest.html#a7056b2e8fbddedc6ace167371b1289fe',1,'LibraryTests.EnteiTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1GastrodonTest.html#aefd44c65a353c5fddc4fd457425f3f42',1,'LibraryTests.GastrodonTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1GengarTest.html#ae0f4254d586aba1e86623590761bd324',1,'LibraryTests.GengarTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1HaxorusTest.html#a584d7ca8190839e7246d92d271719eb1',1,'LibraryTests.HaxorusTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1HydreigonTest.html#a0127c490d902e6f7c97785f3305b70c8',1,'LibraryTests.HydreigonTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1MewtwoTest.html#a66c9be0af6db0dad0a0ade63ffa40905',1,'LibraryTests.MewtwoTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0732e7f35761031c87072667475f03a5',1,'LibraryTests.ZeraoraTest.TestLifeAndCurrentLife()']]], + ['testlowercooldown_22',['TestLowerCooldown',['../classLibraryTests_1_1SpecialAttackTest.html#a4d46e47a7c4e6d83eafa3b86e4c00747',1,'LibraryTests::SpecialAttackTest']]], + ['testname_23',['TestName',['../classLibraryTests_1_1CaterpieTest.html#a0aa5f21bb145d462a33dd35fe306bf16',1,'LibraryTests.CaterpieTest.TestName()'],['../classLibraryTests_1_1CharizardTest.html#a0d37c28328723fca353b58356cf18833',1,'LibraryTests.CharizardTest.TestName()'],['../classLibraryTests_1_1ChikoritaTest.html#a98efe9ea8c4a2947294cfc081b740789',1,'LibraryTests.ChikoritaTest.TestName()'],['../classLibraryTests_1_1GengarTest.html#a9cfc9ee0d5748984c33d77dc04b1c3be',1,'LibraryTests.GengarTest.TestName()'],['../classLibraryTests_1_1HaxorusTest.html#a4dc74a1f15206614d597b5cfc2886e7e',1,'LibraryTests.HaxorusTest.TestName()'],['../classLibraryTests_1_1MewtwoTest.html#a4cd7b9897b81bca8814b97dcaed00ca1',1,'LibraryTests.MewtwoTest.TestName()'],['../classLibraryTests_1_1ZeraoraTest.html#a46a60a8c001fd6e79e18d33a10268991',1,'LibraryTests.ZeraoraTest.TestName()'],['../classLibraryTests_1_1CaterpieTest.html#a0aa5f21bb145d462a33dd35fe306bf16',1,'LibraryTests.CaterpieTest.TestName()'],['../classLibraryTests_1_1CharizardTest.html#a0d37c28328723fca353b58356cf18833',1,'LibraryTests.CharizardTest.TestName()'],['../classLibraryTests_1_1ChikoritaTest.html#a98efe9ea8c4a2947294cfc081b740789',1,'LibraryTests.ChikoritaTest.TestName()'],['../classLibraryTests_1_1DragoniteTest.html#af4bcbd2f3b86b754047c63b0e37cefba',1,'LibraryTests.DragoniteTest.TestName()'],['../classLibraryTests_1_1EnteiTest.html#a4268e39f3396eee8de7753fc6feb5858',1,'LibraryTests.EnteiTest.TestName()'],['../classLibraryTests_1_1GastrodonTest.html#ac02bc60df432c284e2bcdf2299ae1263',1,'LibraryTests.GastrodonTest.TestName()'],['../classLibraryTests_1_1GengarTest.html#a9cfc9ee0d5748984c33d77dc04b1c3be',1,'LibraryTests.GengarTest.TestName()'],['../classLibraryTests_1_1HaxorusTest.html#a4dc74a1f15206614d597b5cfc2886e7e',1,'LibraryTests.HaxorusTest.TestName()'],['../classLibraryTests_1_1HydreigonTest.html#a39c4d7450b299fc91401628bda72b611',1,'LibraryTests.HydreigonTest.TestName()'],['../classLibraryTests_1_1MewtwoTest.html#a4cd7b9897b81bca8814b97dcaed00ca1',1,'LibraryTests.MewtwoTest.TestName()'],['../classLibraryTests_1_1ZeraoraTest.html#a46a60a8c001fd6e79e18d33a10268991',1,'LibraryTests.ZeraoraTest.TestName()']]], + ['testnullname_24',['TestNullName',['../classLibraryTests_1_1AttackTest.html#af9e96d60b4350702eeff21e93e90df39',1,'LibraryTests.AttackTest.TestNullName()'],['../classLibraryTests_1_1AttackTest.html#af9e96d60b4350702eeff21e93e90df39',1,'LibraryTests.AttackTest.TestNullName()']]], + ['testpower0_25',['TestPower0',['../classLibraryTests_1_1AttackTest.html#a0418233661dd028c7ae3b1bf8fef16dc',1,'LibraryTests.AttackTest.TestPower0()'],['../classLibraryTests_1_1AttackTest.html#a0418233661dd028c7ae3b1bf8fef16dc',1,'LibraryTests.AttackTest.TestPower0()']]], + ['testremovegame_26',['TestRemoveGame',['../classLibraryTests_1_1GameListTest.html#ab3b3b6784694918a7c1f24da80ecc85f',1,'LibraryTests::GameListTest']]], + ['testremoveplayer_27',['TestRemovePlayer',['../classLibraryTests_1_1WaitingListTest.html#a050f533da395bae1689d73811427ab5a',1,'LibraryTests::WaitingListTest']]], + ['testrestorebaselifetakedamageandgetlife_28',['TestRestoreBaseLifeTakeDamageAndGetLife',['../classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b',1,'LibraryTests.CaterpieTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334',1,'LibraryTests.CharizardTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453',1,'LibraryTests.ChikoritaTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913',1,'LibraryTests.GengarTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e',1,'LibraryTests.HaxorusTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7',1,'LibraryTests.MewtwoTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249',1,'LibraryTests.ZeraoraTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b',1,'LibraryTests.CaterpieTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334',1,'LibraryTests.CharizardTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453',1,'LibraryTests.ChikoritaTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1DragoniteTest.html#a1dde17c1aea64ebdb75a983bf5f12b60',1,'LibraryTests.DragoniteTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1EnteiTest.html#aa82a9c1b79b43ba188af744e543a4a50',1,'LibraryTests.EnteiTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1GastrodonTest.html#a0c42f999522d5ccee0f79c9bfc8c3fdf',1,'LibraryTests.GastrodonTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913',1,'LibraryTests.GengarTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e',1,'LibraryTests.HaxorusTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1HydreigonTest.html#a81eea89f8585fd3ee470a8c9fb192596',1,'LibraryTests.HydreigonTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7',1,'LibraryTests.MewtwoTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249',1,'LibraryTests.ZeraoraTest.TestRestoreBaseLifeTakeDamageAndGetLife()']]], + ['testsetcooldown_29',['TestSetCooldown',['../classLibraryTests_1_1SpecialAttackTest.html#a5204d99b5179e0810fb67da909e9ac0d',1,'LibraryTests::SpecialAttackTest']]], + ['testshowitems_30',['TestShowItems',['../classLibraryTests_1_1FacadeTest.html#a90456bb6f0c4f16501499eefaa327dfd',1,'LibraryTests::FacadeTest']]], + ['testspecialattack_31',['TestSpecialAttack',['../classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8',1,'LibraryTests.SpecialAttackTest.TestSpecialAttack()'],['../classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8',1,'LibraryTests.SpecialAttackTest.TestSpecialAttack()']]], + ['testsurrender_32',['TestSurrender',['../classLibraryTests_1_1FacadeTest.html#a59409b12f5f11ca59b1722c05da89de0',1,'LibraryTests::FacadeTest']]], + ['testtype_33',['TestType',['../classLibraryTests_1_1CaterpieTest.html#a7b4ee7a345f79da04d1ffff31e966ca7',1,'LibraryTests.CaterpieTest.TestType()'],['../classLibraryTests_1_1CharizardTest.html#a35f39e1f8d1c9522045f654382cea043',1,'LibraryTests.CharizardTest.TestType()'],['../classLibraryTests_1_1ChikoritaTest.html#aa9cef46fe3c120f2075431e01d7cc975',1,'LibraryTests.ChikoritaTest.TestType()'],['../classLibraryTests_1_1GengarTest.html#aa529cc291b6d57cc9baa88aae3c3b001',1,'LibraryTests.GengarTest.TestType()'],['../classLibraryTests_1_1HaxorusTest.html#ab68e5de12f32b74f431e12338d436b3f',1,'LibraryTests.HaxorusTest.TestType()'],['../classLibraryTests_1_1MewtwoTest.html#ab434507bebaeadad75fab7332f5cc7a8',1,'LibraryTests.MewtwoTest.TestType()'],['../classLibraryTests_1_1ZeraoraTest.html#a59fca7f6820c24b8c61f7e2e5aeca317',1,'LibraryTests.ZeraoraTest.TestType()'],['../classLibraryTests_1_1CaterpieTest.html#a7b4ee7a345f79da04d1ffff31e966ca7',1,'LibraryTests.CaterpieTest.TestType()'],['../classLibraryTests_1_1CharizardTest.html#a35f39e1f8d1c9522045f654382cea043',1,'LibraryTests.CharizardTest.TestType()'],['../classLibraryTests_1_1ChikoritaTest.html#aa9cef46fe3c120f2075431e01d7cc975',1,'LibraryTests.ChikoritaTest.TestType()'],['../classLibraryTests_1_1DragoniteTest.html#a4289f2b0e451139309fe3a49c3828285',1,'LibraryTests.DragoniteTest.TestType()'],['../classLibraryTests_1_1EnteiTest.html#a3b519999367a76775a4e0dee5a3f004c',1,'LibraryTests.EnteiTest.TestType()'],['../classLibraryTests_1_1GastrodonTest.html#ad5ca8b4fc25e70ec24cf1cedc10e83d4',1,'LibraryTests.GastrodonTest.TestType()'],['../classLibraryTests_1_1GengarTest.html#aa529cc291b6d57cc9baa88aae3c3b001',1,'LibraryTests.GengarTest.TestType()'],['../classLibraryTests_1_1HaxorusTest.html#ab68e5de12f32b74f431e12338d436b3f',1,'LibraryTests.HaxorusTest.TestType()'],['../classLibraryTests_1_1HydreigonTest.html#a80f3ed3b1f9b05baa8e75fc3fb3d66d0',1,'LibraryTests.HydreigonTest.TestType()'],['../classLibraryTests_1_1MewtwoTest.html#ab434507bebaeadad75fab7332f5cc7a8',1,'LibraryTests.MewtwoTest.TestType()'],['../classLibraryTests_1_1ZeraoraTest.html#a59fca7f6820c24b8c61f7e2e5aeca317',1,'LibraryTests.ZeraoraTest.TestType()']]], + ['testuserstory1_34',['TestUserStory1',['../classLibraryTests_1_1FacadeTest.html#a0c532a87220e7aa87b92a92e99c193c0',1,'LibraryTests::FacadeTest']]], + ['testuserstory10_35',['TestUserStory10',['../classLibraryTests_1_1FacadeTest.html#a37b9657e8da7c1732b914ff3ff5a5ac0',1,'LibraryTests.FacadeTest.TestUserStory10()'],['../classLibraryTests_1_1FacadeTest.html#a37b9657e8da7c1732b914ff3ff5a5ac0',1,'LibraryTests.FacadeTest.TestUserStory10()']]], + ['testuserstory11_36',['TestUserStory11',['../classLibraryTests_1_1FacadeTest.html#ab3570deef98f9efd32b87177c43f9e25',1,'LibraryTests.FacadeTest.TestUserStory11()'],['../classLibraryTests_1_1FacadeTest.html#ab3570deef98f9efd32b87177c43f9e25',1,'LibraryTests.FacadeTest.TestUserStory11()']]], + ['testuserstory1add1pokemon_37',['TestUserStory1Add1Pokemon',['../classLibraryTests_1_1FacadeTest.html#a10bd8bf843aaa0239a2b9a75a1f01d55',1,'LibraryTests::FacadeTest']]], + ['testuserstory1fullteam_38',['TestUserStory1FullTeam',['../classLibraryTests_1_1FacadeTest.html#ac182763b9e55bee3ace5da415ab5f5b5',1,'LibraryTests::FacadeTest']]], + ['testuserstory1lastpokemon_39',['TestUserStory1LastPokemon',['../classLibraryTests_1_1FacadeTest.html#a538b13d1b3f8d861bf5a4ab1525cf9c0',1,'LibraryTests::FacadeTest']]], + ['testuserstory1playernotingame_40',['TestUserStory1PlayerNotInGame',['../classLibraryTests_1_1FacadeTest.html#a7364d08447ab4746282162e85f0b0ea6',1,'LibraryTests::FacadeTest']]], + ['testuserstory1repeatedpokemon_41',['TestUserStory1RepeatedPokemon',['../classLibraryTests_1_1FacadeTest.html#a5db4ed9186bb93b71c48c0284fa6209e',1,'LibraryTests::FacadeTest']]], + ['testuserstory1unknownpokemon_42',['TestUserStory1UnknownPokemon',['../classLibraryTests_1_1FacadeTest.html#abbba8e9f24b1b2d8b74bb5c23165eac6',1,'LibraryTests::FacadeTest']]], + ['testuserstory2_43',['TestUserStory2',['../classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6',1,'LibraryTests.FacadeTest.TestUserStory2()'],['../classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6',1,'LibraryTests.FacadeTest.TestUserStory2()']]], + ['testuserstory3_44',['TestUserStory3',['../classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817',1,'LibraryTests::FacadeTest']]], + ['testuserstory31pokemon_45',['TestUserStory31Pokemon',['../classLibraryTests_1_1FacadeTest.html#ad457dd01813745d9531ce7f619201084',1,'LibraryTests::FacadeTest']]], + ['testuserstory3fullteams_46',['TestUserStory3FullTeams',['../classLibraryTests_1_1FacadeTest.html#aac6a0d41eb91460778db5af54f63130b',1,'LibraryTests::FacadeTest']]], + ['testuserstory3nullplayer_47',['TestUserStory3NullPlayer',['../classLibraryTests_1_1FacadeTest.html#ac97c5863dec4cad34b9571fc6f9fbec2',1,'LibraryTests::FacadeTest']]], + ['testuserstory4_48',['TestUserStory4',['../classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73',1,'LibraryTests::FacadeTest']]], + ['testuserstory4fullteams_49',['TestUserStory4FullTeams',['../classLibraryTests_1_1FacadeTest.html#a7b3d6724741172801da3d1894f315940',1,'LibraryTests::FacadeTest']]], + ['testuserstory4incompleteteams_50',['TestUserStory4IncompleteTeams',['../classLibraryTests_1_1FacadeTest.html#a270a6bd92ed46ac82aa45ad06ad24107',1,'LibraryTests::FacadeTest']]], + ['testuserstory4inmune_51',['TestUserStory4Inmune',['../classLibraryTests_1_1FacadeTest.html#ac8d1246dbc158a1b08a951d64b6b3452',1,'LibraryTests::FacadeTest']]], + ['testuserstory4notveryeffective_52',['TestUserStory4NotVeryEffective',['../classLibraryTests_1_1FacadeTest.html#a547153a9aa7c2ec004d557adad2453ca',1,'LibraryTests::FacadeTest']]], + ['testuserstory4nullplayer_53',['TestUserStory4NullPlayer',['../classLibraryTests_1_1FacadeTest.html#a38ba04a79d940e3bad2c742b6243734e',1,'LibraryTests::FacadeTest']]], + ['testuserstory4supereffectiveattack_54',['TestUserStory4SuperEffectiveAttack',['../classLibraryTests_1_1FacadeTest.html#af5515ac555b36a2ca31956045c2692a8',1,'LibraryTests::FacadeTest']]], + ['testuserstory5_55',['TestUserStory5',['../classLibraryTests_1_1FacadeTest.html#aba6d127eb4dbc71cbd758dc3e41ecb5d',1,'LibraryTests.FacadeTest.TestUserStory5()'],['../classLibraryTests_1_1FacadeTest.html#aba6d127eb4dbc71cbd758dc3e41ecb5d',1,'LibraryTests.FacadeTest.TestUserStory5()']]], + ['testuserstory5unknownplayer_56',['TestUserStory5UnknownPlayer',['../classLibraryTests_1_1FacadeTest.html#a6d83b0ec9d372f3f9d019ae3ac6158b3',1,'LibraryTests::FacadeTest']]], + ['testuserstory6_57',['TestUserStory6',['../classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a',1,'LibraryTests.FacadeTest.TestUserStory6()'],['../classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a',1,'LibraryTests.FacadeTest.TestUserStory6()']]], + ['testuserstory6nullgame_58',['TestUserStory6NullGame',['../classLibraryTests_1_1FacadeTest.html#a449e40612f3960914c79b6196b20196c',1,'LibraryTests::FacadeTest']]], + ['testuserstory6winnertest_59',['TestUserStory6WinnerTest',['../classLibraryTests_1_1FacadeTest.html#aa848dbd02da950df82e2147a6a284abb',1,'LibraryTests::FacadeTest']]], + ['testuserstory7_60',['TestUserStory7',['../classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c',1,'LibraryTests.FacadeTest.TestUserStory7()'],['../classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c',1,'LibraryTests.FacadeTest.TestUserStory7()']]], + ['testuserstory7notingame_61',['TestUserStory7NotInGame',['../classLibraryTests_1_1FacadeTest.html#add57cb11e369fb7a1488cb5a855a0dda',1,'LibraryTests::FacadeTest']]], + ['testuserstory8_62',['TestUserStory8',['../classLibraryTests_1_1FacadeTest.html#afbd379e47a09ca21177b0d80591ab6f9',1,'LibraryTests::FacadeTest']]], + ['testuserstory8expecteduse_63',['TestUserStory8ExpectedUse',['../classLibraryTests_1_1FacadeTest.html#aac6e7e8d73bf8f1303e20064465bb8e1',1,'LibraryTests::FacadeTest']]], + ['testuserstory8inactiveplayer_64',['TestUserStory8InactivePlayer',['../classLibraryTests_1_1FacadeTest.html#a36324ef55159b9fda15f8af4ffed2867',1,'LibraryTests::FacadeTest']]], + ['testuserstory8nullplayer_65',['TestUserStory8NullPlayer',['../classLibraryTests_1_1FacadeTest.html#a6b45fc35666be45766e90987788d3842',1,'LibraryTests::FacadeTest']]], + ['testuserstory8playersnotready_66',['TestUserStory8PlayersNotReady',['../classLibraryTests_1_1FacadeTest.html#a6cbb0df5960d492889cbe914ff9786f4',1,'LibraryTests::FacadeTest']]], + ['testuserstory9_67',['TestUserStory9',['../classLibraryTests_1_1FacadeTest.html#a600ac1d267ea06534f36a83cee7bc829',1,'LibraryTests.FacadeTest.TestUserStory9()'],['../classLibraryTests_1_1FacadeTest.html#a600ac1d267ea06534f36a83cee7bc829',1,'LibraryTests.FacadeTest.TestUserStory9()']]], + ['testuserstory9_5f1_68',['TestUserStory9_1',['../classLibraryTests_1_1FacadeTest.html#af138d4012ab860533759da2839dcde10',1,'LibraryTests::FacadeTest']]], + ['testwinnerplayer1_69',['TestWinnerPlayer1',['../classLibraryTests_1_1GameTest.html#a57bf287b4709e4ead91451a31c009692',1,'LibraryTests::GameTest']]], + ['testwinnerplayer2_70',['TestWinnerPlayer2',['../classLibraryTests_1_1GameTest.html#aa81b288826686b2b502032d0973b517f',1,'LibraryTests::GameTest']]] +]; diff --git a/docs/html/search/functions_11.js b/docs/html/search/functions_11.js new file mode 100644 index 0000000..c77ddec --- /dev/null +++ b/docs/html/search/functions_11.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['use_0',['Use',['../classLibrary_1_1FullHealth.html#a29002d67a7ba064d8d8d9e8330f4eb8f',1,'Library.FullHealth.Use()'],['../interfaceLibrary_1_1IItem.html#a4329d015044ee4837cb2ebd63727f272',1,'Library.IItem.Use()'],['../classLibrary_1_1Revive.html#a0346e9117c28441709084b54e2e6ac70',1,'Library.Revive.Use()'],['../classLibrary_1_1SuperPotion.html#a8cd462889e7028c7d0132023256380dc',1,'Library.SuperPotion.Use()'],['../classLibrary_1_1FullHealth.html#aef4385c929df1a68fb6eb20e32460094',1,'Library.FullHealth.Use()'],['../interfaceLibrary_1_1IItem.html#a4329d015044ee4837cb2ebd63727f272',1,'Library.IItem.Use()'],['../classLibrary_1_1Revive.html#a0346e9117c28441709084b54e2e6ac70',1,'Library.Revive.Use()'],['../classLibrary_1_1SuperPotion.html#aae3ac88e1fc61191e70f6b9c54ec8588',1,'Library.SuperPotion.Use()']]], + ['useanitem_1',['UseAnItem',['../classLibrary_1_1Facade.html#a95c0e8427585bfbc9cdd72b9accb92aa',1,'Library.Facade.UseAnItem(string playerName, string item, string pokemon)'],['../classLibrary_1_1Facade.html#ac824fa926ae85650e174fad4cd2a738d',1,'Library.Facade.UseAnItem(string playerName, string item, string pokemon)']]], + ['useitem_2',['UseItem',['../classLibrary_1_1Game.html#a35db53b070d4c81bbc40b9a10ffdeede',1,'Library.Game.UseItem(IItem item, Pokemon pokemon)'],['../classLibrary_1_1Game.html#ab7db3ee6536d824f47d94c629f78678b',1,'Library.Game.UseItem(IItem? item, Pokemon? pokemon)']]] +]; diff --git a/docs/html/search/functions_12.js b/docs/html/search/functions_12.js new file mode 100644 index 0000000..0afc1d3 --- /dev/null +++ b/docs/html/search/functions_12.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['winner_0',['Winner',['../classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01',1,'Library.Game.Winner()'],['../classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01',1,'Library.Game.Winner()']]] +]; diff --git a/docs/html/search/functions_13.js b/docs/html/search/functions_13.js new file mode 100644 index 0000000..d059f0f --- /dev/null +++ b/docs/html/search/functions_13.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['zeraora_0',['Zeraora',['../classLibrary_1_1Zeraora.html#af4878849f3aea6f91f6207cd79394856',1,'Library.Zeraora.Zeraora()'],['../classLibrary_1_1Zeraora.html#af4878849f3aea6f91f6207cd79394856',1,'Library.Zeraora.Zeraora()']]] +]; diff --git a/docs/html/search/functions_2.js b/docs/html/search/functions_2.js index fa1d76a..2932e31 100644 --- a/docs/html/search/functions_2.js +++ b/docs/html/search/functions_2.js @@ -1,5 +1,16 @@ var searchData= [ - ['editstate_0',['EditState',['../classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53',1,'Library::Pokemon']]], - ['executeattack_1',['ExecuteAttack',['../classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693',1,'Library::Game']]] + ['calculatedamage_0',['CalculateDamage',['../classLibrary_1_1DamageCalculator.html#a0684bc36799bc6bc3b46780b7263e60d',1,'Library.DamageCalculator.CalculateDamage(Pokemon attackedPokemon, Attack attack)'],['../classLibrary_1_1DamageCalculator.html#a441bd820eda5da6d69edcc4e5b7d8752',1,'Library.DamageCalculator.CalculateDamage(Pokemon attackedPokemon, Attack attack, Player attackedPlayer)']]], + ['caterpie_1',['Caterpie',['../classLibrary_1_1Caterpie.html#ae2d6f0acc15e9eeb563954e5ef074376',1,'Library.Caterpie.Caterpie()'],['../classLibrary_1_1Caterpie.html#ae2d6f0acc15e9eeb563954e5ef074376',1,'Library.Caterpie.Caterpie()']]], + ['changepokemon_2',['ChangePokemon',['../classLibrary_1_1Facade.html#a8997a21e19d2a44cd060422768dfbddd',1,'Library.Facade.ChangePokemon()'],['../classLibrary_1_1Game.html#a9dd5a455b44cc24f7f9a6e9bcdc37b69',1,'Library.Game.ChangePokemon()'],['../classLibrary_1_1Facade.html#a1519c6b71e81f41a591e639f950cee76',1,'Library.Facade.ChangePokemon()'],['../classLibrary_1_1Game.html#a808107e5f5a88e6540524ba4829a8dc0',1,'Library.Game.ChangePokemon()']]], + ['charizard_3',['Charizard',['../classLibrary_1_1Charizard.html#a267dc6497037441ff055455e4200a8cc',1,'Library.Charizard.Charizard()'],['../classLibrary_1_1Charizard.html#a267dc6497037441ff055455e4200a8cc',1,'Library.Charizard.Charizard()']]], + ['checkgamestatus_4',['CheckGameStatus',['../classLibrary_1_1Facade.html#a26ddb0a7ae0b909f2ded88a249a58aaa',1,'Library.Facade.CheckGameStatus(Game game)'],['../classLibrary_1_1Facade.html#af9bbf1fdcb0970ec13c23d7bd93276ef',1,'Library.Facade.CheckGameStatus(Game game)']]], + ['checkplayeringame_5',['CheckPlayerInGame',['../classLibrary_1_1Game.html#a6fef208659545ad27589078aa7298cce',1,'Library.Game.CheckPlayerInGame(Player checkPlayer)'],['../classLibrary_1_1Game.html#ab370b9b1542bb083d78f1708cc8ef07b',1,'Library.Game.CheckPlayerInGame(Player? checkPlayer)']]], + ['checkturn_6',['CheckTurn',['../classLibrary_1_1Facade.html#a99bd9042b777684a16c6d1977b9de625',1,'Library.Facade.CheckTurn(string playerName)'],['../classLibrary_1_1Facade.html#a976667038f4d0db5b62263a394504557',1,'Library.Facade.CheckTurn(string playerName)']]], + ['chikorita_7',['Chikorita',['../classLibrary_1_1Chikorita.html#abd7e98874044dbf7460be88ef436413d',1,'Library.Chikorita.Chikorita()'],['../classLibrary_1_1Chikorita.html#abd7e98874044dbf7460be88ef436413d',1,'Library.Chikorita.Chikorita()']]], + ['chooseattack_8',['ChooseAttack',['../classLibrary_1_1Facade.html#a654944afb774828780427cef30687c84',1,'Library.Facade.ChooseAttack(string playerName, string attackName)'],['../classLibrary_1_1Facade.html#a1f5339c8342daf1f8ae3cd6aacf7fab8',1,'Library.Facade.ChooseAttack(string playerName, string attackName)']]], + ['chooserandom_9',['ChooseRandom',['../classLibrary_1_1Facade.html#a61547f8ddbb1a86128d810e18d1891fe',1,'Library::Facade']]], + ['chooseteam_10',['ChooseTeam',['../classLibrary_1_1Facade.html#a542c335b954dab9971c87d83de9ccc97',1,'Library.Facade.ChooseTeam(string playerName, string cPokemon)'],['../classLibrary_1_1Facade.html#a1b275983d998bde8b135c652e3c48a93',1,'Library.Facade.ChooseTeam(string playerName, string pokemonName)']]], + ['cooldowncheck_11',['CooldownCheck',['../classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825',1,'Library.Game.CooldownCheck()'],['../classLibrary_1_1Game.html#af4a72e9e14ded2568541b18696014825',1,'Library.Game.CooldownCheck()']]], + ['criticalcheck_12',['CriticalCheck',['../classLibrary_1_1DamageCalculator.html#a3a2f89d68ff61105914612a5c1fdcae3',1,'Library.DamageCalculator.CriticalCheck()'],['../classLibrary_1_1DamageCalculator.html#a89e81852f3b95bd2aadc9644c50b7364',1,'Library.DamageCalculator.CriticalCheck()'],['../interfaceLibrary_1_1Strategies_1_1IStrategyCritCheck.html#aff67cf04282f5bb52593bd366ae6d2a2',1,'Library.Strategies.IStrategyCritCheck.CriticalCheck()'],['../classLibrary_1_1Strategies_1_1StrategyAlwaysCrit.html#a94a0f129345faf61790a674ffc3a6dcc',1,'Library.Strategies.StrategyAlwaysCrit.CriticalCheck()'],['../classLibrary_1_1Strategies_1_1StrategyNonCrit.html#a0084cc3ea0685b6a93186a61014e0f28',1,'Library.Strategies.StrategyNonCrit.CriticalCheck()'],['../classLibrary_1_1Strategies_1_1StrategyRandomCrit.html#a1b7bca323f6a35eea849b8724a3b7515',1,'Library.Strategies.StrategyRandomCrit.CriticalCheck()']]] ]; diff --git a/docs/html/search/functions_3.js b/docs/html/search/functions_3.js index 31a26b4..dd498a3 100644 --- a/docs/html/search/functions_3.js +++ b/docs/html/search/functions_3.js @@ -1,11 +1,5 @@ var searchData= [ - ['findattack_0',['FindAttack',['../classLibrary_1_1Player.html#ae71c6dd4e6de83f82e3b6629a2511248',1,'Library::Player']]], - ['findattackbyname_1',['FindAttackByName',['../classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c',1,'Library::Pokemon']]], - ['findgamebyplayer_2',['FindGameByPlayer',['../classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a',1,'Library::GameList']]], - ['finditem_3',['FindItem',['../classLibrary_1_1Player.html#a16305aed363ffcf597644f27c1d6f76e',1,'Library::Player']]], - ['findplayerbyname_4',['FindPlayerByName',['../classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff',1,'Library.GameList.FindPlayerByName()'],['../classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8',1,'Library.WaitingList.FindPlayerByName()']]], - ['findpokemon_5',['FindPokemon',['../classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4',1,'Library::Player']]], - ['fullhealth_6',['FullHealth',['../classLibrary_1_1FullHealth.html#aed15c19feb8d5ce18726fcec9fa64eb5',1,'Library::FullHealth']]], - ['fullhealthcorrectuse_7',['FullHealthCorrectUse',['../classLibraryTests_1_1FullHealthTest.html#a9647b8d51d0e1d9a61ee17feb8bc2ea4',1,'LibraryTests::FullHealthTest']]] + ['damagecalculator_0',['DamageCalculator',['../classLibrary_1_1DamageCalculator.html#af66d9c27e30f3129ec3a32aab9482df8',1,'Library::DamageCalculator']]], + ['dragonite_1',['Dragonite',['../classLibrary_1_1Dragonite.html#a1a4ed66e4fb896604d351fe6f13fc63a',1,'Library::Dragonite']]] ]; diff --git a/docs/html/search/functions_4.js b/docs/html/search/functions_4.js index 02bc31a..774080a 100644 --- a/docs/html/search/functions_4.js +++ b/docs/html/search/functions_4.js @@ -1,17 +1,8 @@ var searchData= [ - ['gainlife_0',['GainLife',['../classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985',1,'Library::Pokemon']]], - ['game_1',['Game',['../classLibrary_1_1Game.html#a00d54c50696a36cd8b1e0fc25062a5a3',1,'Library::Game']]], - ['gamestatus_2',['GameStatus',['../classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c',1,'Library::Game']]], - ['gengar_3',['Gengar',['../classLibrary_1_1Gengar.html#ac8f9e0787e9044bd5a16b3f240047bdc',1,'Library::Gengar']]], - ['getanyonewaiting_4',['GetAnyoneWaiting',['../classLibrary_1_1WaitingList.html#a85f823a9cd9ffc89de620d837c6484a4',1,'Library::WaitingList']]], - ['getattacks_5',['GetAttacks',['../classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4',1,'Library::Pokemon']]], - ['getgamelist_6',['GetGameList',['../classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc',1,'Library::GameList']]], - ['getitemlist_7',['GetItemList',['../classLibrary_1_1Player.html#a2150b3552c081b27d259d0928de09668',1,'Library::Player']]], - ['getlife_8',['GetLife',['../classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6',1,'Library::Pokemon']]], - ['getplayers_9',['GetPlayers',['../classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4',1,'Library::Game']]], - ['getpokemonattacks_10',['GetPokemonAttacks',['../classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded',1,'Library::Player']]], - ['getpokemonteam_11',['GetPokemonTeam',['../classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3',1,'Library::Player']]], - ['gettypes_12',['GetTypes',['../classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789',1,'Library::Pokemon']]], - ['getwaitinglist_13',['GetWaitingList',['../classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027',1,'Library::WaitingList']]] + ['editdamagecalculatorstrategy_0',['EditDamageCalculatorStrategy',['../classLibrary_1_1Facade.html#a9809b5935c0b49409da62958cd65b597',1,'Library::Facade']]], + ['editstate_1',['EditState',['../classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53',1,'Library.Pokemon.EditState(State? state)'],['../classLibrary_1_1Pokemon.html#a32523b114af4ade07ac3ecc0becd6a53',1,'Library.Pokemon.EditState(State? state)']]], + ['entei_2',['Entei',['../classLibrary_1_1Entei.html#a3556d1367901660b9907370d436307ae',1,'Library::Entei']]], + ['executeasync_3',['ExecuteAsync',['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1AttackCommand.html#a0a4ded439ee334ff738f97e4b68ea500',1,'Ucu.Poo.DiscordBot.Commands.AttackCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1BattleCommand.html#a0d1cbd516d13618e333208a01ea7f347',1,'Library.Commands.BattleCommand.ExecuteAsync()'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChangePokemonCommand.html#a7e00c706885ff77c8df5aff590167e0b',1,'Ucu.Poo.DiscordBot.Commands.ChangePokemonCommand.ExecuteAsync()'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1ChooseCommand.html#ae2f67cf292af546f13a4de3e5a33a52d',1,'Ucu.Poo.DiscordBot.Commands.ChooseCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1JoinCommand.html#aa20b376619f55db3b80d51c603787598',1,'Library.Commands.JoinCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1LeaveCommand.html#a7f1bf0c5e2d80619aba43d8e27ca3575',1,'Library.Commands.LeaveCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1PokemonNameCommand.html#acd205142adf45da4aa1d1c6d69574793',1,'Library.Commands.PokemonNameCommand.ExecuteAsync()'],['../classUcu_1_1Poo_1_1DiscordBot_1_1Commands_1_1UseItemCommand.html#ae11cbb51ad472f3af0c7683766928390',1,'Ucu.Poo.DiscordBot.Commands.UseItemCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1UserInfoCommand.html#a4b273671d6b580cd309f6ded8384f7bc',1,'Library.Commands.UserInfoCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1WaitingCommand.html#a4222829d8068ad03a5b349c87ec34860',1,'Library.Commands.WaitingCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1AttackCommand.html#a348884af05a12f00e675e4438bb6b0ee',1,'Library.Commands.AttackCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1BattleCommand.html#a0d1cbd516d13618e333208a01ea7f347',1,'Library.Commands.BattleCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1CatalogueCommand.html#ad95d287be16f5266dfb90ffab6c073bb',1,'Library.Commands.CatalogueCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ChangeCommand.html#a7fa738b2d7cc6f9c0aac78740e7be862',1,'Library.Commands.ChangeCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1CheckTurnCommand.html#ab39a32a33c419397d2980f57aa5123cb',1,'Library.Commands.CheckTurnCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ChooseCommand.html#ae57410f3488ac491c3540e5f4dd58093',1,'Library.Commands.ChooseCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ChooseRandomCommand.html#a3055f5c70847dce83acb728aef6749a5',1,'Library.Commands.ChooseRandomCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1HelpCommand.html#ab8bb2c66377771a77e9167b4ea1feac9',1,'Library.Commands.HelpCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1HpCommand.html#af1980a2d6d596e48a2c7bdf5d25e5d9b',1,'Library.Commands.HpCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1JoinCommand.html#aa20b376619f55db3b80d51c603787598',1,'Library.Commands.JoinCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1LeaveCommand.html#a7f1bf0c5e2d80619aba43d8e27ca3575',1,'Library.Commands.LeaveCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1PokemonNameCommand.html#acd205142adf45da4aa1d1c6d69574793',1,'Library.Commands.PokemonNameCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ShowAttacksCommand.html#a6466a9979baa930d14799d06cf2eb72a',1,'Library.Commands.ShowAttacksCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1ShowItemsCommand.html#a6756f4952cbc7fb519b1ab6eeb202425',1,'Library.Commands.ShowItemsCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1SurrenderCommand.html#a0c2a380d2d4324b1ae2b0994094c948a',1,'Library.Commands.SurrenderCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1UseCommand.html#adbca94b51c1373b97987dda45869481b',1,'Library.Commands.UseCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1UserInfoCommand.html#a4b273671d6b580cd309f6ded8384f7bc',1,'Library.Commands.UserInfoCommand.ExecuteAsync()'],['../classLibrary_1_1Commands_1_1WaitingCommand.html#a4222829d8068ad03a5b349c87ec34860',1,'Library.Commands.WaitingCommand.ExecuteAsync()']]], + ['executeattack_4',['ExecuteAttack',['../classLibrary_1_1Game.html#a656f35f805445764adcdd3a51de65693',1,'Library.Game.ExecuteAttack(Attack attack)'],['../classLibrary_1_1Game.html#a25142733833a36fd79da48c53e80f225',1,'Library.Game.ExecuteAttack(Attack? attack)']]] ]; diff --git a/docs/html/search/functions_5.js b/docs/html/search/functions_5.js index aeddf3c..be99788 100644 --- a/docs/html/search/functions_5.js +++ b/docs/html/search/functions_5.js @@ -1,4 +1,14 @@ var searchData= [ - ['haxorus_0',['Haxorus',['../classLibrary_1_1Haxorus.html#acd9cfcf92701e815deb2b8a9d6a8234c',1,'Library::Haxorus']]] + ['findattack_0',['FindAttack',['../classLibrary_1_1Player.html#ae71c6dd4e6de83f82e3b6629a2511248',1,'Library.Player.FindAttack(string strAttack)'],['../classLibrary_1_1Player.html#acd1502e4a8b9b30dbc25fa80f55bf66f',1,'Library.Player.FindAttack(string strAttack)']]], + ['findattackbyname_1',['FindAttackByName',['../classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c',1,'Library.Pokemon.FindAttackByName(string attackString)'],['../classLibrary_1_1Pokemon.html#ab6cbaeb20e371ec9049d2b53ed8c7e8c',1,'Library.Pokemon.FindAttackByName(string attackString)']]], + ['findgamebyplayer_2',['FindGameByPlayer',['../classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a',1,'Library.GameList.FindGameByPlayer(Player player)'],['../classLibrary_1_1GameList.html#ae4cc442c2a00c3746fd92955ddcb849a',1,'Library.GameList.FindGameByPlayer(Player player)']]], + ['finditem_3',['FindItem',['../classLibrary_1_1Player.html#a16305aed363ffcf597644f27c1d6f76e',1,'Library.Player.FindItem(string strItem)'],['../classLibrary_1_1Player.html#a6498115dc4e2b48c5a16699e0a01ac2f',1,'Library.Player.FindItem(string strItem)']]], + ['findplayerbyname_4',['FindPlayerByName',['../classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff',1,'Library.GameList.FindPlayerByName()'],['../classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8',1,'Library.WaitingList.FindPlayerByName()'],['../classLibrary_1_1GameList.html#a08e1d49ca4fdca05d55d094865a850ff',1,'Library.GameList.FindPlayerByName()'],['../classLibrary_1_1WaitingList.html#a69b27efd2d600c5c60cf18019dc3f0b8',1,'Library.WaitingList.FindPlayerByName()']]], + ['findpokemon_5',['FindPokemon',['../classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4',1,'Library.Player.FindPokemon(string strPokemon)'],['../classLibrary_1_1Player.html#af06ccac797112f0921c8f4976f62add4',1,'Library.Player.FindPokemon(string strPokemon)']]], + ['findpokemonbyname_6',['FindPokemonByName',['../classLibrary_1_1Player.html#a5014994bf275f49a548e7621badd2415',1,'Library::Player']]], + ['fullhealth_7',['FullHealth',['../classLibrary_1_1FullHealth.html#aed15c19feb8d5ce18726fcec9fa64eb5',1,'Library.FullHealth.FullHealth()'],['../classLibrary_1_1FullHealth.html#aed15c19feb8d5ce18726fcec9fa64eb5',1,'Library.FullHealth.FullHealth()']]], + ['fullhealthcorrectuse_8',['FullHealthCorrectUse',['../classLibraryTests_1_1FullHealthTest.html#a9647b8d51d0e1d9a61ee17feb8bc2ea4',1,'LibraryTests.FullHealthTest.FullHealthCorrectUse()'],['../classLibraryTests_1_1FullHealthTest.html#a9647b8d51d0e1d9a61ee17feb8bc2ea4',1,'LibraryTests.FullHealthTest.FullHealthCorrectUse()']]], + ['fullhealthnullpokemon_9',['FullHealthNullPokemon',['../classLibraryTests_1_1FullHealthTest.html#a7012c7dc01031149d86ebdeed3bc690a',1,'LibraryTests::FullHealthTest']]], + ['fullhealthuseonhealthypokemon_10',['FullHealthUseOnHealthyPokemon',['../classLibraryTests_1_1FullHealthTest.html#aea1efa1626c5fb3235041b34a82e56b5',1,'LibraryTests::FullHealthTest']]] ]; diff --git a/docs/html/search/functions_6.js b/docs/html/search/functions_6.js index b3a7875..d414863 100644 --- a/docs/html/search/functions_6.js +++ b/docs/html/search/functions_6.js @@ -1,4 +1,20 @@ var searchData= [ - ['lowercooldown_0',['LowerCooldown',['../classLibrary_1_1SpecialAttack.html#a4c7b382fb1f3e12b9c12dff5bc5a74bc',1,'Library::SpecialAttack']]] + ['gainlife_0',['GainLife',['../classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985',1,'Library.Pokemon.GainLife(double hp)'],['../classLibrary_1_1Pokemon.html#a77bd0fac1537a76fbdfa1eebbe17f985',1,'Library.Pokemon.GainLife(double hp)']]], + ['game_1',['Game',['../classLibrary_1_1Game.html#a00d54c50696a36cd8b1e0fc25062a5a3',1,'Library.Game.Game(Player player1, Player player2)'],['../classLibrary_1_1Game.html#a1bfa0da42bdc4ef2423723d25ccf679f',1,'Library.Game.Game(Player player1, Player player2, IStrategyStartingPlayer strategyStartingPlayer)']]], + ['gamestatus_2',['GameStatus',['../classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c',1,'Library.Game.GameStatus()'],['../classLibrary_1_1Game.html#a0a385f5808069509de00a98164a7db4c',1,'Library.Game.GameStatus()']]], + ['gastrodon_3',['Gastrodon',['../classLibrary_1_1Gastrodon.html#a1ce2cde7358ec9df01c5b8b433e2b20b',1,'Library::Gastrodon']]], + ['gengar_4',['Gengar',['../classLibrary_1_1Gengar.html#ac8f9e0787e9044bd5a16b3f240047bdc',1,'Library.Gengar.Gengar()'],['../classLibrary_1_1Gengar.html#ac8f9e0787e9044bd5a16b3f240047bdc',1,'Library.Gengar.Gengar()']]], + ['getallplayerswaiting_5',['GetAllPlayersWaiting',['../classLibrary_1_1Facade.html#a5d257ae6bf3f4c69a6d1c7a78adcd48c',1,'Library.Facade.GetAllPlayersWaiting()'],['../classLibrary_1_1Facade.html#a463911202200e59df38d6710bf55ee2c',1,'Library.Facade.GetAllPlayersWaiting()']]], + ['getattacks_6',['GetAttacks',['../classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4',1,'Library.Pokemon.GetAttacks()'],['../classLibrary_1_1Pokemon.html#a7d75c0e46aae96acbbeee27639f365b4',1,'Library.Pokemon.GetAttacks()']]], + ['geteffectivness_7',['GetEffectivness',['../classLibrary_1_1DamageCalculator.html#a984d17ac844873844f080b61bd9d93be',1,'Library.DamageCalculator.GetEffectivness(Type type, List< Type > types)'],['../classLibrary_1_1DamageCalculator.html#a8a2ef5388c2d37d86a3f37c6bb02f6c0',1,'Library.DamageCalculator.GetEffectivness(Type type, List< Type > types)']]], + ['getgamelist_8',['GetGameList',['../classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc',1,'Library.GameList.GetGameList()'],['../classLibrary_1_1GameList.html#ac1fa9d98c95add77b73dcc229f5cc6bc',1,'Library.GameList.GetGameList()']]], + ['getitemlist_9',['GetItemList',['../classLibrary_1_1Player.html#a2150b3552c081b27d259d0928de09668',1,'Library.Player.GetItemList()'],['../classLibrary_1_1Player.html#a2150b3552c081b27d259d0928de09668',1,'Library.Player.GetItemList()']]], + ['getlife_10',['GetLife',['../classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6',1,'Library.Pokemon.GetLife()'],['../classLibrary_1_1Pokemon.html#ad7ecbc1418ce8ce1310b9bb3737d62d6',1,'Library.Pokemon.GetLife()']]], + ['getplayers_11',['GetPlayers',['../classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4',1,'Library.Game.GetPlayers()'],['../classLibrary_1_1Game.html#a1fb151121019847487457c48804a2ad4',1,'Library.Game.GetPlayers()']]], + ['getpokemonattacks_12',['GetPokemonAttacks',['../classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded',1,'Library.Player.GetPokemonAttacks()'],['../classLibrary_1_1Player.html#a77e9a764b7c44e1b9e27c732038a7ded',1,'Library.Player.GetPokemonAttacks()']]], + ['getpokemonteam_13',['GetPokemonTeam',['../classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3',1,'Library.Player.GetPokemonTeam()'],['../classLibrary_1_1Player.html#a6f5a234d3af2613c0c6bce8be92baab3',1,'Library.Player.GetPokemonTeam()']]], + ['getsomeone_14',['GetSomeone',['../classLibrary_1_1WaitingList.html#a27fe90fdd4bad1838be5be2719a63d70',1,'Library.WaitingList.GetSomeone(string playerName)'],['../classLibrary_1_1WaitingList.html#a27fe90fdd4bad1838be5be2719a63d70',1,'Library.WaitingList.GetSomeone(string playerName)']]], + ['gettypes_15',['GetTypes',['../classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789',1,'Library.Pokemon.GetTypes()'],['../classLibrary_1_1Pokemon.html#a0d0729ff4c6e58eb0fc323ed859d4789',1,'Library.Pokemon.GetTypes()']]], + ['getwaitinglist_16',['GetWaitingList',['../classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027',1,'Library.WaitingList.GetWaitingList()'],['../classLibrary_1_1WaitingList.html#a615d40ccba7f85c0f1f37328d0ee2027',1,'Library.WaitingList.GetWaitingList()']]] ]; diff --git a/docs/html/search/functions_7.js b/docs/html/search/functions_7.js index e1590c5..8487942 100644 --- a/docs/html/search/functions_7.js +++ b/docs/html/search/functions_7.js @@ -1,4 +1,5 @@ var searchData= [ - ['mewtwo_0',['Mewtwo',['../classLibrary_1_1Mewtwo.html#a843cdebf7353807162934d8c2d4b8a42',1,'Library::Mewtwo']]] + ['haxorus_0',['Haxorus',['../classLibrary_1_1Haxorus.html#acd9cfcf92701e815deb2b8a9d6a8234c',1,'Library.Haxorus.Haxorus()'],['../classLibrary_1_1Haxorus.html#acd9cfcf92701e815deb2b8a9d6a8234c',1,'Library.Haxorus.Haxorus()']]], + ['hydreigon_1',['Hydreigon',['../classLibrary_1_1Hydreigon.html#a7194f60f410e3eaf57a52d8796c6a6a9',1,'Library::Hydreigon']]] ]; diff --git a/docs/html/search/functions_8.js b/docs/html/search/functions_8.js index a818664..5d85668 100644 --- a/docs/html/search/functions_8.js +++ b/docs/html/search/functions_8.js @@ -1,4 +1,6 @@ var searchData= [ - ['nextturn_0',['NextTurn',['../classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7',1,'Library::Game']]] + ['infoattack_0',['InfoAttack',['../classLibrary_1_1Attack.html#a3a110f75e12a5fb2249e9c6769c7eeb1',1,'Library.Attack.InfoAttack()'],['../interfaceLibrary_1_1IAttack.html#ae1d9f015158d56aae38b051a6b0d9299',1,'Library.IAttack.InfoAttack()'],['../classLibrary_1_1SpecialAttack.html#afe2398bc3ff065a8ea4ab1ced7700fc5',1,'Library.SpecialAttack.InfoAttack()']]], + ['instance_1',['Instance',['../classLibrary_1_1Caterpie.html#a9790064aa4ed488db968b1393c17b878',1,'Library.Caterpie.Instance()'],['../classLibrary_1_1Charizard.html#aa4a469d089472f7d71ae3591eb50400d',1,'Library.Charizard.Instance()'],['../classLibrary_1_1Chikorita.html#aa7cd0699459bf51c4c1b44b05699a404',1,'Library.Chikorita.Instance()'],['../classLibrary_1_1Dragonite.html#a97c847a6f0007baa4e8e55b8271bb0ac',1,'Library.Dragonite.Instance()'],['../classLibrary_1_1Entei.html#a8bdaa25d06a7918e9a73bceafbcfe6ca',1,'Library.Entei.Instance()'],['../classLibrary_1_1Gastrodon.html#a4eea68f8853432a820fc58924b37d3bf',1,'Library.Gastrodon.Instance()'],['../classLibrary_1_1Gengar.html#a212ea5f4c8a5909e165c6d30223db2a5',1,'Library.Gengar.Instance()'],['../classLibrary_1_1Haxorus.html#a2736834f14a2c17987db20cdaf7bb686',1,'Library.Haxorus.Instance()'],['../classLibrary_1_1Hydreigon.html#aa9a2af73692029374d059e2a2fa8f7af',1,'Library.Hydreigon.Instance()'],['../classLibrary_1_1Jigglypuff.html#a8a98225d627b83557be92675c67abd08',1,'Library.Jigglypuff.Instance()'],['../classLibrary_1_1Mewtwo.html#ac48fe1554358d9754c81718adfccc427',1,'Library.Mewtwo.Instance()'],['../classLibrary_1_1Pikachu.html#a5bf9176a732e929f9978a5b662a76b21',1,'Library.Pikachu.Instance()'],['../classLibrary_1_1Pokemon.html#a4b7198233960f707729a1c8bedc7a7a4',1,'Library.Pokemon.Instance()'],['../classLibrary_1_1Scyther.html#afff42f2e0ec7d5f39d177e5b1312099a',1,'Library.Scyther.Instance()'],['../classLibrary_1_1Zeraora.html#a3e5fb4389a5a3565d233883dda6bd198',1,'Library.Zeraora.Instance()']]], + ['itemcount_2',['ItemCount',['../classLibrary_1_1Player.html#ad1de9088eb192fd7951de1bcc3327213',1,'Library::Player']]] ]; diff --git a/docs/html/search/functions_9.js b/docs/html/search/functions_9.js index 39fd90f..37b83d1 100644 --- a/docs/html/search/functions_9.js +++ b/docs/html/search/functions_9.js @@ -1,5 +1,4 @@ var searchData= [ - ['player_0',['Player',['../classLibrary_1_1Player.html#a52100c57bcecb1bf8044a0489dcc6575',1,'Library::Player']]], - ['pokemon_1',['Pokemon',['../classLibrary_1_1Pokemon.html#a2d63fcf1c1fc96d572fc20996a8a755f',1,'Library::Pokemon']]] + ['jigglypuff_0',['Jigglypuff',['../classLibrary_1_1Jigglypuff.html#a9dd2dcd1a61e74b8d736b8ee1433ce68',1,'Library::Jigglypuff']]] ]; diff --git a/docs/html/search/functions_a.js b/docs/html/search/functions_a.js index 9de3ab9..0267b9d 100644 --- a/docs/html/search/functions_a.js +++ b/docs/html/search/functions_a.js @@ -1,8 +1,4 @@ var searchData= [ - ['random0or1_0',['Random0or1',['../classLibrary_1_1Game.html#a22ba715120446cdf89e169233cad6867',1,'Library::Game']]], - ['removegame_1',['RemoveGame',['../classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96',1,'Library::GameList']]], - ['removeplayer_2',['RemovePlayer',['../classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993',1,'Library::WaitingList']]], - ['revive_3',['Revive',['../classLibrary_1_1Revive.html#a8f5313b4c36663c106fc423882cb26f4',1,'Library::Revive']]], - ['revivecorrectuse_4',['ReviveCorrectUse',['../classLibraryTests_1_1ReviveTest.html#a8f3b3809f2f233cc9c617445031a1e5a',1,'LibraryTests::ReviveTest']]] + ['lowercooldown_0',['LowerCooldown',['../classLibrary_1_1SpecialAttack.html#a4c7b382fb1f3e12b9c12dff5bc5a74bc',1,'Library.SpecialAttack.LowerCooldown()'],['../classLibrary_1_1SpecialAttack.html#a4c7b382fb1f3e12b9c12dff5bc5a74bc',1,'Library.SpecialAttack.LowerCooldown()']]] ]; diff --git a/docs/html/search/functions_b.js b/docs/html/search/functions_b.js index 5cac3d1..42beaf0 100644 --- a/docs/html/search/functions_b.js +++ b/docs/html/search/functions_b.js @@ -1,11 +1,4 @@ var searchData= [ - ['setactivepokemon_0',['SetActivePokemon',['../classLibrary_1_1Player.html#a1dc483f61f95351bd3266c5f9663bfb1',1,'Library::Player']]], - ['setcooldown_1',['SetCooldown',['../classLibrary_1_1SpecialAttack.html#a69f6d5407485cc67a2b04ea75e81c601',1,'Library::SpecialAttack']]], - ['setup_2',['Setup',['../classTests_1_1TrainTests.html#aa51119f2894ac4ce8617c8c8972c67d1',1,'Tests::TrainTests']]], - ['specialattack_3',['SpecialAttack',['../classLibrary_1_1SpecialAttack.html#a6c5f588df2953fda7cc037a66f6f3fea',1,'Library::SpecialAttack']]], - ['starttraintest_4',['StartTrainTest',['../classTests_1_1TrainTests.html#a3126fe749f840d7c002d920b796136cf',1,'Tests::TrainTests']]], - ['stoptraintest_5',['StopTrainTest',['../classTests_1_1TrainTests.html#a5da3dc68423a30afe2460f9831054e90',1,'Tests::TrainTests']]], - ['superpotion_6',['SuperPotion',['../classLibrary_1_1SuperPotion.html#a7e6bb21563c87bdaaaf4e426fa961e63',1,'Library::SuperPotion']]], - ['superpotioncorrectuse_7',['SuperPotionCorrectUse',['../classLibraryTests_1_1SuperPotionTest.html#a82b27fac16f96b33ccffd3df5567d001',1,'LibraryTests::SuperPotionTest']]] + ['mewtwo_0',['Mewtwo',['../classLibrary_1_1Mewtwo.html#a843cdebf7353807162934d8c2d4b8a42',1,'Library.Mewtwo.Mewtwo()'],['../classLibrary_1_1Mewtwo.html#a843cdebf7353807162934d8c2d4b8a42',1,'Library.Mewtwo.Mewtwo()']]] ]; diff --git a/docs/html/search/functions_c.js b/docs/html/search/functions_c.js index b5b7a19..433e67b 100644 --- a/docs/html/search/functions_c.js +++ b/docs/html/search/functions_c.js @@ -1,31 +1,5 @@ var searchData= [ - ['takedamage_0',['TakeDamage',['../classLibrary_1_1Pokemon.html#af6dd4fd79bfeb99769976f6c26e497e5',1,'Library::Pokemon']]], - ['testaccuracy0_1',['TestAccuracy0',['../classLibraryTests_1_1AttackTest.html#ae2b01a44fc5c603c760eeeedbcbd7207',1,'LibraryTests::AttackTest']]], - ['testaddafifthattack_2',['TestAddAFifthAttack',['../classLibraryTests_1_1CaterpieTest.html#ac345214004dc7c0ab6303ecdfc663c6e',1,'LibraryTests.CaterpieTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1CharizardTest.html#a86c58745fa752bfb3a931687fdc077da',1,'LibraryTests.CharizardTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ChikoritaTest.html#abfbb286356c6decc46a40fa3a8e1c036',1,'LibraryTests.ChikoritaTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1GengarTest.html#a06519cdd8e4387d0b12e2dfc2189e254',1,'LibraryTests.GengarTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1HaxorusTest.html#a85d7c5406863715777446a8966f52a05',1,'LibraryTests.HaxorusTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1MewtwoTest.html#ad6233ea5ad4159dcb174579efd048155',1,'LibraryTests.MewtwoTest.TestAddAFifthAttack()'],['../classLibraryTests_1_1ZeraoraTest.html#a96d36a52eac35122f8ad3509bbe03825',1,'LibraryTests.ZeraoraTest.TestAddAFifthAttack()']]], - ['testasleepturns_3',['TestAsleepTurns',['../classLibraryTests_1_1CaterpieTest.html#ab6f5df63fe31338491c34218228274fa',1,'LibraryTests.CaterpieTest.TestAsleepTurns()'],['../classLibraryTests_1_1CharizardTest.html#af494dec2a89b393df43223c6f90ac32f',1,'LibraryTests.CharizardTest.TestAsleepTurns()'],['../classLibraryTests_1_1ChikoritaTest.html#a14a17fa1d6c906bfe1c1b55bd35c91ef',1,'LibraryTests.ChikoritaTest.TestAsleepTurns()'],['../classLibraryTests_1_1GengarTest.html#a21d30a241f089afbdc6d4d07e9384a84',1,'LibraryTests.GengarTest.TestAsleepTurns()'],['../classLibraryTests_1_1HaxorusTest.html#a1407cc5aee1c1af88fe54cd2d1918515',1,'LibraryTests.HaxorusTest.TestAsleepTurns()'],['../classLibraryTests_1_1MewtwoTest.html#abb0d4c92483b8a3d57a6dfced08b2f11',1,'LibraryTests.MewtwoTest.TestAsleepTurns()'],['../classLibraryTests_1_1ZeraoraTest.html#a674aaaed2a9ef15ca5ec425215c797d0',1,'LibraryTests.ZeraoraTest.TestAsleepTurns()']]], - ['testattacks_4',['TestAttacks',['../classLibraryTests_1_1CaterpieTest.html#ae3a39dc20bfd73d5795037ff846b9dd8',1,'LibraryTests.CaterpieTest.TestAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a9057848ebde0cc2f7d59de764897b0e9',1,'LibraryTests.CharizardTest.TestAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#a44e2efc460aadb737ecf28f41468d5f4',1,'LibraryTests.ChikoritaTest.TestAttacks()'],['../classLibraryTests_1_1GengarTest.html#a08d3c6ef6a8e07196ac116b81387dcc4',1,'LibraryTests.GengarTest.TestAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#a6c6774992316d17c0766a7f94fdba107',1,'LibraryTests.HaxorusTest.TestAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#a91a6d02cac5887e1eae62165e70f9cc7',1,'LibraryTests.MewtwoTest.TestAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#a795661d38e354292a5af622212e144de',1,'LibraryTests.ZeraoraTest.TestAttacks()']]], - ['testcurrentstateandeditstate_5',['TestCurrentStateAndEditState',['../classLibraryTests_1_1CaterpieTest.html#a611bdba831427668f0a3a31d5247563e',1,'LibraryTests.CaterpieTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1CharizardTest.html#ab39a552ec8014a61ea8e539f2639d7de',1,'LibraryTests.CharizardTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ChikoritaTest.html#a70ab22541afde74368b6a17125382a70',1,'LibraryTests.ChikoritaTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1GengarTest.html#a31dd1a7be28f9435eee912af68f8fb5c',1,'LibraryTests.GengarTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1HaxorusTest.html#a2e99bec64ca83898555c877f74902b26',1,'LibraryTests.HaxorusTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1MewtwoTest.html#a22dff77c9f73538d9f290a414165a1bc',1,'LibraryTests.MewtwoTest.TestCurrentStateAndEditState()'],['../classLibraryTests_1_1ZeraoraTest.html#a3e93f78d80c10921224626418b374686',1,'LibraryTests.ZeraoraTest.TestCurrentStateAndEditState()']]], - ['testfindattackbyname_6',['TestFindAttackByName',['../classLibraryTests_1_1CaterpieTest.html#acbd1c374073ecdf652b15d496f000b32',1,'LibraryTests.CaterpieTest.TestFindAttackByName()'],['../classLibraryTests_1_1CharizardTest.html#a1063b391228e714452f3117fd9d4d8d8',1,'LibraryTests.CharizardTest.TestFindAttackByName()'],['../classLibraryTests_1_1ChikoritaTest.html#a2a4ae1aec5f16073485dfc944ff918b2',1,'LibraryTests.ChikoritaTest.TestFindAttackByName()'],['../classLibraryTests_1_1GengarTest.html#a0d017a884cbe408d8aa10036c52221a7',1,'LibraryTests.GengarTest.TestFindAttackByName()'],['../classLibraryTests_1_1HaxorusTest.html#a90943c2e7008575ccbab9d08dd616f33',1,'LibraryTests.HaxorusTest.TestFindAttackByName()'],['../classLibraryTests_1_1MewtwoTest.html#a4333dfbf8559385b8a2fe6880d182b77',1,'LibraryTests.MewtwoTest.TestFindAttackByName()'],['../classLibraryTests_1_1ZeraoraTest.html#a80e159271af4cc546ee2712561b67392',1,'LibraryTests.ZeraoraTest.TestFindAttackByName()']]], - ['testifithasfourattacks_7',['TestIfItHasFourAttacks',['../classLibraryTests_1_1CaterpieTest.html#aec8b91165973d59361fec4f9526e067e',1,'LibraryTests.CaterpieTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1CharizardTest.html#a038f5e6d36efefe0f5bf7e61ef1567c5',1,'LibraryTests.CharizardTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ChikoritaTest.html#aaa714a81ea1e7b6f9fa63e44b1ef6a50',1,'LibraryTests.ChikoritaTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1GengarTest.html#ab7f1d19b871f4487857193b35d89ec71',1,'LibraryTests.GengarTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1HaxorusTest.html#aaf2da21da69856ccb2f60eeb3324f93e',1,'LibraryTests.HaxorusTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1MewtwoTest.html#ac8458736796b288ba65e4c34d2061bab',1,'LibraryTests.MewtwoTest.TestIfItHasFourAttacks()'],['../classLibraryTests_1_1ZeraoraTest.html#ac8f35530178a4ba6be4099881680420e',1,'LibraryTests.ZeraoraTest.TestIfItHasFourAttacks()']]], - ['testinvalidaccuracy_8',['TestInvalidAccuracy',['../classLibraryTests_1_1AttackTest.html#ac46ab2972608220d015d9cc829f33296',1,'LibraryTests::AttackTest']]], - ['testinvalidpower_9',['TestInvalidPower',['../classLibraryTests_1_1AttackTest.html#a10196ec900c49f602215757178d9e5fd',1,'LibraryTests::AttackTest']]], - ['testlifeandcurrentlife_10',['TestLifeAndCurrentLife',['../classLibraryTests_1_1CaterpieTest.html#aa18fa9e11b12e0dade2839c4f28b5498',1,'LibraryTests.CaterpieTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1CharizardTest.html#ac019d201962221acf413c5886d1e65a7',1,'LibraryTests.CharizardTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ChikoritaTest.html#a498eeca59ab941ff2950055a72a07952',1,'LibraryTests.ChikoritaTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1GengarTest.html#ae0f4254d586aba1e86623590761bd324',1,'LibraryTests.GengarTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1HaxorusTest.html#a584d7ca8190839e7246d92d271719eb1',1,'LibraryTests.HaxorusTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1MewtwoTest.html#a66c9be0af6db0dad0a0ade63ffa40905',1,'LibraryTests.MewtwoTest.TestLifeAndCurrentLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0732e7f35761031c87072667475f03a5',1,'LibraryTests.ZeraoraTest.TestLifeAndCurrentLife()']]], - ['testname_11',['TestName',['../classLibraryTests_1_1CaterpieTest.html#a0aa5f21bb145d462a33dd35fe306bf16',1,'LibraryTests.CaterpieTest.TestName()'],['../classLibraryTests_1_1CharizardTest.html#a0d37c28328723fca353b58356cf18833',1,'LibraryTests.CharizardTest.TestName()'],['../classLibraryTests_1_1ChikoritaTest.html#a98efe9ea8c4a2947294cfc081b740789',1,'LibraryTests.ChikoritaTest.TestName()'],['../classLibraryTests_1_1GengarTest.html#a9cfc9ee0d5748984c33d77dc04b1c3be',1,'LibraryTests.GengarTest.TestName()'],['../classLibraryTests_1_1HaxorusTest.html#a4dc74a1f15206614d597b5cfc2886e7e',1,'LibraryTests.HaxorusTest.TestName()'],['../classLibraryTests_1_1MewtwoTest.html#a4cd7b9897b81bca8814b97dcaed00ca1',1,'LibraryTests.MewtwoTest.TestName()'],['../classLibraryTests_1_1ZeraoraTest.html#a46a60a8c001fd6e79e18d33a10268991',1,'LibraryTests.ZeraoraTest.TestName()']]], - ['testnullname_12',['TestNullName',['../classLibraryTests_1_1AttackTest.html#af9e96d60b4350702eeff21e93e90df39',1,'LibraryTests::AttackTest']]], - ['testpower0_13',['TestPower0',['../classLibraryTests_1_1AttackTest.html#a0418233661dd028c7ae3b1bf8fef16dc',1,'LibraryTests::AttackTest']]], - ['testrestorebaselifetakedamageandgetlife_14',['TestRestoreBaseLifeTakeDamageAndGetLife',['../classLibraryTests_1_1CaterpieTest.html#a8c18e869f393841c2d5078f42d5ab17b',1,'LibraryTests.CaterpieTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1CharizardTest.html#a3ab8447bc2db224f24c4131969e94334',1,'LibraryTests.CharizardTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ChikoritaTest.html#af75d59ad6478c7caf8d63ff37c748453',1,'LibraryTests.ChikoritaTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1GengarTest.html#a4493cdd78e4943f6f688dd8b91e4a913',1,'LibraryTests.GengarTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1HaxorusTest.html#a4a870c7fc948941f1e73fafa7f161c9e',1,'LibraryTests.HaxorusTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1MewtwoTest.html#a18a5bb7ea8651fecc6374551612a4da7',1,'LibraryTests.MewtwoTest.TestRestoreBaseLifeTakeDamageAndGetLife()'],['../classLibraryTests_1_1ZeraoraTest.html#a0880d21f1cce6f450fd57185cb9df249',1,'LibraryTests.ZeraoraTest.TestRestoreBaseLifeTakeDamageAndGetLife()']]], - ['testspecialattack_15',['TestSpecialAttack',['../classLibraryTests_1_1SpecialAttackTest.html#a330fc9e134175f0120efbe3da22e13a8',1,'LibraryTests::SpecialAttackTest']]], - ['testtype_16',['TestType',['../classLibraryTests_1_1CaterpieTest.html#a7b4ee7a345f79da04d1ffff31e966ca7',1,'LibraryTests.CaterpieTest.TestType()'],['../classLibraryTests_1_1CharizardTest.html#a35f39e1f8d1c9522045f654382cea043',1,'LibraryTests.CharizardTest.TestType()'],['../classLibraryTests_1_1ChikoritaTest.html#aa9cef46fe3c120f2075431e01d7cc975',1,'LibraryTests.ChikoritaTest.TestType()'],['../classLibraryTests_1_1GengarTest.html#aa529cc291b6d57cc9baa88aae3c3b001',1,'LibraryTests.GengarTest.TestType()'],['../classLibraryTests_1_1HaxorusTest.html#ab68e5de12f32b74f431e12338d436b3f',1,'LibraryTests.HaxorusTest.TestType()'],['../classLibraryTests_1_1MewtwoTest.html#ab434507bebaeadad75fab7332f5cc7a8',1,'LibraryTests.MewtwoTest.TestType()'],['../classLibraryTests_1_1ZeraoraTest.html#a59fca7f6820c24b8c61f7e2e5aeca317',1,'LibraryTests.ZeraoraTest.TestType()']]], - ['testuserstory1_17',['TestUserStory1',['../classLibraryTests_1_1FacadeTest.html#a0c532a87220e7aa87b92a92e99c193c0',1,'LibraryTests::FacadeTest']]], - ['testuserstory10_18',['TestUserStory10',['../classLibraryTests_1_1FacadeTest.html#a37b9657e8da7c1732b914ff3ff5a5ac0',1,'LibraryTests::FacadeTest']]], - ['testuserstory11_19',['TestUserStory11',['../classLibraryTests_1_1FacadeTest.html#ab3570deef98f9efd32b87177c43f9e25',1,'LibraryTests::FacadeTest']]], - ['testuserstory2_20',['TestUserStory2',['../classLibraryTests_1_1FacadeTest.html#a486b36d23bdad6150c34d2bd3f3dced6',1,'LibraryTests::FacadeTest']]], - ['testuserstory3_21',['TestUserStory3',['../classLibraryTests_1_1FacadeTest.html#a174a904b645e5f5216e6fb9dc4630817',1,'LibraryTests::FacadeTest']]], - ['testuserstory4_22',['TestUserStory4',['../classLibraryTests_1_1FacadeTest.html#a2fe51ecedbe3ba492916233594b36d73',1,'LibraryTests::FacadeTest']]], - ['testuserstory5_23',['TestUserStory5',['../classLibraryTests_1_1FacadeTest.html#aba6d127eb4dbc71cbd758dc3e41ecb5d',1,'LibraryTests::FacadeTest']]], - ['testuserstory6_24',['TestUserStory6',['../classLibraryTests_1_1FacadeTest.html#a35433150a75ceba9bed321a7c37c8e9a',1,'LibraryTests::FacadeTest']]], - ['testuserstory7_25',['TestUserStory7',['../classLibraryTests_1_1FacadeTest.html#aadc312a366fe3e403d4e63671454031c',1,'LibraryTests::FacadeTest']]], - ['testuserstory8_26',['TestUserStory8',['../classLibraryTests_1_1FacadeTest.html#afbd379e47a09ca21177b0d80591ab6f9',1,'LibraryTests::FacadeTest']]], - ['testuserstory9_27',['TestUserStory9',['../classLibraryTests_1_1FacadeTest.html#a600ac1d267ea06534f36a83cee7bc829',1,'LibraryTests::FacadeTest']]] + ['nextturn_0',['NextTurn',['../classLibrary_1_1Game.html#a25e0e9d427c0b038062ad00141a493f7',1,'Library.Game.NextTurn()'],['../classLibrary_1_1Game.html#a71cc44489b1dc016e9be39903a1e38d2',1,'Library.Game.NextTurn()']]], + ['nullpokemontest_1',['NullPokemonTest',['../classLibraryTests_1_1SuperPotionTest.html#a526d5063ee58a185692f71924f5254bf',1,'LibraryTests::SuperPotionTest']]] ]; diff --git a/docs/html/search/functions_d.js b/docs/html/search/functions_d.js index 11292e9..69a3d10 100644 --- a/docs/html/search/functions_d.js +++ b/docs/html/search/functions_d.js @@ -1,5 +1,9 @@ var searchData= [ - ['use_0',['Use',['../classLibrary_1_1FullHealth.html#a29002d67a7ba064d8d8d9e8330f4eb8f',1,'Library.FullHealth.Use()'],['../interfaceLibrary_1_1IItem.html#a4329d015044ee4837cb2ebd63727f272',1,'Library.IItem.Use()'],['../classLibrary_1_1Revive.html#a0346e9117c28441709084b54e2e6ac70',1,'Library.Revive.Use()'],['../classLibrary_1_1SuperPotion.html#a8cd462889e7028c7d0132023256380dc',1,'Library.SuperPotion.Use()']]], - ['useitem_1',['UseItem',['../classLibrary_1_1Game.html#a35db53b070d4c81bbc40b9a10ffdeede',1,'Library::Game']]] + ['paralizedeffectrandomness_0',['ParalizedEffectRandomness',['../classLibraryTests_1_1StateLogicTest.html#a370e76e16de0123189fb9c8f7c0ecacd',1,'LibraryTests::StateLogicTest']]], + ['pikachu_1',['Pikachu',['../classLibrary_1_1Pikachu.html#a117bb2efeed20182beec21dfa177c36a',1,'Library::Pikachu']]], + ['player_2',['Player',['../classLibrary_1_1Player.html#a52100c57bcecb1bf8044a0489dcc6575',1,'Library.Player.Player(string name)'],['../classLibrary_1_1Player.html#a52100c57bcecb1bf8044a0489dcc6575',1,'Library.Player.Player(string name)']]], + ['poisonedeffectdecreaseslife_3',['PoisonedEffectDecreasesLife',['../classLibraryTests_1_1StateLogicTest.html#a725200b2c34c810b25e6e9203252d1ee',1,'LibraryTests::StateLogicTest']]], + ['pokemon_4',['Pokemon',['../classLibrary_1_1Pokemon.html#a2d63fcf1c1fc96d572fc20996a8a755f',1,'Library.Pokemon.Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)'],['../classLibrary_1_1Pokemon.html#a2d63fcf1c1fc96d572fc20996a8a755f',1,'Library.Pokemon.Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)']]], + ['pokemonnamecommand_5',['PokemonNameCommand',['../classLibrary_1_1Commands_1_1PokemonNameCommand.html#aa7e4f79fe0a06e94fcbe255dab87c347',1,'Library.Commands.PokemonNameCommand.PokemonNameCommand(ILogger< PokemonNameCommand > logger)'],['../classLibrary_1_1Commands_1_1PokemonNameCommand.html#aa7e4f79fe0a06e94fcbe255dab87c347',1,'Library.Commands.PokemonNameCommand.PokemonNameCommand(ILogger< PokemonNameCommand > logger)']]] ]; diff --git a/docs/html/search/functions_e.js b/docs/html/search/functions_e.js index 0cf0917..f3a68c9 100644 --- a/docs/html/search/functions_e.js +++ b/docs/html/search/functions_e.js @@ -1,4 +1,11 @@ var searchData= [ - ['winner_0',['Winner',['../classLibrary_1_1Game.html#aa80cd9a167630fe0426d07e0cc57ca01',1,'Library::Game']]] + ['random0or1_0',['Random0or1',['../classLibrary_1_1Game.html#a22ba715120446cdf89e169233cad6867',1,'Library::Game']]], + ['removegame_1',['RemoveGame',['../classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96',1,'Library.GameList.RemoveGame(Game game)'],['../classLibrary_1_1GameList.html#a25df7d919bc1a6673017f8a2ca17ad96',1,'Library.GameList.RemoveGame(Game game)']]], + ['removeplayer_2',['RemovePlayer',['../classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993',1,'Library.WaitingList.RemovePlayer(string playerName)'],['../classLibrary_1_1WaitingList.html#a7a0029ab1bdd90bab9dfe6d1e5b41993',1,'Library.WaitingList.RemovePlayer(string playerName)']]], + ['removeplayerfromwaitinglist_3',['RemovePlayerFromWaitingList',['../classLibrary_1_1Facade.html#a722ee564dbd34c1e91462b7b69274ae4',1,'Library.Facade.RemovePlayerFromWaitingList(string playerName)'],['../classLibrary_1_1Facade.html#a34c5740597794ab66e59ab01ed1f4575',1,'Library.Facade.RemovePlayerFromWaitingList(string playerName)']]], + ['reset_4',['Reset',['../classLibrary_1_1Facade.html#a80ac355e00a0b2daacb5f171137cdc8e',1,'Library::Facade']]], + ['revive_5',['Revive',['../classLibrary_1_1Revive.html#a8f5313b4c36663c106fc423882cb26f4',1,'Library.Revive.Revive()'],['../classLibrary_1_1Revive.html#a8f5313b4c36663c106fc423882cb26f4',1,'Library.Revive.Revive()']]], + ['revivecorrectuse_6',['ReviveCorrectUse',['../classLibraryTests_1_1ReviveTest.html#a8f3b3809f2f233cc9c617445031a1e5a',1,'LibraryTests.ReviveTest.ReviveCorrectUse()'],['../classLibraryTests_1_1ReviveTest.html#a8f3b3809f2f233cc9c617445031a1e5a',1,'LibraryTests.ReviveTest.ReviveCorrectUse()']]], + ['revivewronguse_7',['ReviveWrongUse',['../classLibraryTests_1_1ReviveTest.html#a46c8445b11dbfedc1e09ffd6c912618c',1,'LibraryTests::ReviveTest']]] ]; diff --git a/docs/html/search/functions_f.js b/docs/html/search/functions_f.js index 4c1b543..7c29d13 100644 --- a/docs/html/search/functions_f.js +++ b/docs/html/search/functions_f.js @@ -1,4 +1,28 @@ var searchData= [ - ['zeraora_0',['Zeraora',['../classLibrary_1_1Zeraora.html#af4878849f3aea6f91f6207cd79394856',1,'Library::Zeraora']]] + ['scyther_0',['Scyther',['../classLibrary_1_1Scyther.html#a3be06ea43e2279e166aff624adbccb31',1,'Library::Scyther']]], + ['setactivepokemon_1',['SetActivePokemon',['../classLibrary_1_1Player.html#a1dc483f61f95351bd3266c5f9663bfb1',1,'Library.Player.SetActivePokemon(Pokemon pokemon)'],['../classLibrary_1_1Player.html#ae680d1fee380e2eee7462ea418b82651',1,'Library.Player.SetActivePokemon(Pokemon? pokemon=null)']]], + ['setasleepturns_2',['SetAsleepTurns',['../classLibrary_1_1Pokemon.html#a1f220939df23a443793d4ba26e39ee2f',1,'Library::Pokemon']]], + ['setcatalogue_3',['SetCatalogue',['../classLibrary_1_1PokemonCatalogue.html#a89deea710474bec8e34f3853fa26663f',1,'Library::PokemonCatalogue']]], + ['setcooldown_4',['SetCooldown',['../classLibrary_1_1SpecialAttack.html#a69f6d5407485cc67a2b04ea75e81c601',1,'Library.SpecialAttack.SetCooldown()'],['../classLibrary_1_1SpecialAttack.html#a69f6d5407485cc67a2b04ea75e81c601',1,'Library.SpecialAttack.SetCooldown()']]], + ['setcritcheckstategy_5',['SetCritCheckStategy',['../classLibrary_1_1DamageCalculator.html#af28970536542db6f844927c0518e0eb5',1,'Library::DamageCalculator']]], + ['setdamagecalculatorstrategy_6',['SetDamageCalculatorStrategy',['../classLibrary_1_1Game.html#a77f6da1303c22a2e9318018ae687da41',1,'Library::Game']]], + ['setup_7',['Setup',['../classTests_1_1TrainTests.html#aa51119f2894ac4ce8617c8c8972c67d1',1,'Tests.TrainTests.Setup()'],['../classTests_1_1TrainTests.html#aa51119f2894ac4ce8617c8c8972c67d1',1,'Tests.TrainTests.Setup()']]], + ['showatacks_8',['ShowAtacks',['../classLibrary_1_1Facade.html#a6734f40108ad2d62679d48933a14aefc',1,'Library.Facade.ShowAtacks(string playerName)'],['../classLibrary_1_1Facade.html#a88bb33e0550842c0d34b763eca260ce3',1,'Library.Facade.ShowAtacks(string playerName)']]], + ['showcatalogue_9',['ShowCatalogue',['../classLibrary_1_1Facade.html#aba404c6c1cd684fcc79efa9fcddc2a8c',1,'Library.Facade.ShowCatalogue()'],['../classLibrary_1_1PokemonCatalogue.html#a530df71a10356bea3a56e1e46ee40f48',1,'Library.PokemonCatalogue.ShowCatalogue()'],['../classLibrary_1_1Facade.html#ab8c86f0413ac804373d0748af67d8136',1,'Library.Facade.ShowCatalogue()'],['../classLibrary_1_1PokemonCatalogue.html#abe27e89579d22adab03245a7ea5b4a15',1,'Library.PokemonCatalogue.ShowCatalogue()']]], + ['showitems_10',['ShowItems',['../classLibrary_1_1Facade.html#ad549661271bb9a21203fac96721c0fa2',1,'Library::Facade']]], + ['showpokemonshp_11',['ShowPokemonsHp',['../classLibrary_1_1Facade.html#a021e3e6d485a0cb0599f1821b49ef30c',1,'Library.Facade.ShowPokemonsHp(string playerName, string playerToCheckName=null)'],['../classLibrary_1_1Facade.html#a1ab4cd6b1641209fac55991c17754b66',1,'Library.Facade.ShowPokemonsHp(string playerName, string? playerToCheckName=null)']]], + ['specialattack_12',['SpecialAttack',['../classLibrary_1_1SpecialAttack.html#a6c5f588df2953fda7cc037a66f6f3fea',1,'Library.SpecialAttack.SpecialAttack(string name, Type type, double accuracy, int power, State specialEffect)'],['../classLibrary_1_1SpecialAttack.html#a6c5f588df2953fda7cc037a66f6f3fea',1,'Library.SpecialAttack.SpecialAttack(string name, Type type, double accuracy, int power, State specialEffect)']]], + ['specialcheck_13',['SpecialCheck',['../classLibrary_1_1DamageCalculator.html#a3ac5d47b8a7ebd067ef03b81c8907802',1,'Library.DamageCalculator.SpecialCheck(Pokemon attackedPokemon, Attack attack)'],['../classLibrary_1_1DamageCalculator.html#a5685a1add3420618f3b27f1e2f5ff622',1,'Library.DamageCalculator.SpecialCheck(Pokemon attackedPokemon, Attack attack)']]], + ['specialeffectexecute_14',['SpecialEffectExecute',['../classLibrary_1_1Game.html#a1fdbbd02b0369e33eb6a90f10f7077f3',1,'Library::Game']]], + ['startgame_15',['StartGame',['../classLibrary_1_1Facade.html#a254fa741693ebc4342764475104d3733',1,'Library.Facade.StartGame(string playerName, string opponentName)'],['../classLibrary_1_1Facade.html#a3faab158ef85b4fb9dc994f427022ad0',1,'Library.Facade.StartGame(string playerName, string opponentName, IStrategyStartingPlayer strategyStartingPlayer)']]], + ['startingplayer_16',['StartingPlayer',['../classLibrary_1_1Game.html#abd80e606fec7d88f0cd70a89cb29b6b4',1,'Library.Game.StartingPlayer()'],['../interfaceLibrary_1_1Strategies_1_1IStrategyStartingPlayer.html#a522b2c296c6aa06cb8daf5db4472c5ab',1,'Library.Strategies.IStrategyStartingPlayer.StartingPlayer()'],['../classLibrary_1_1Strategies_1_1StrategyPlayerOneStart.html#ae03f51ce26d1dcf7e0c2dd140e5d7c08',1,'Library.Strategies.StrategyPlayerOneStart.StartingPlayer()'],['../classLibrary_1_1Strategies_1_1StrategyPlayerTwoStart.html#ae34b8c8463695bbd8e76f1fc287ce6ef',1,'Library.Strategies.StrategyPlayerTwoStart.StartingPlayer()'],['../classLibrary_1_1Strategies_1_1StrategyRandomStartingPlayer.html#a28d880527eb6cb516c38135613c6cddf',1,'Library.Strategies.StrategyRandomStartingPlayer.StartingPlayer()']]], + ['starttraintest_17',['StartTrainTest',['../classTests_1_1TrainTests.html#a3126fe749f840d7c002d920b796136cf',1,'Tests.TrainTests.StartTrainTest()'],['../classTests_1_1TrainTests.html#a3126fe749f840d7c002d920b796136cf',1,'Tests.TrainTests.StartTrainTest()']]], + ['stoptraintest_18',['StopTrainTest',['../classTests_1_1TrainTests.html#a5da3dc68423a30afe2460f9831054e90',1,'Tests.TrainTests.StopTrainTest()'],['../classTests_1_1TrainTests.html#a5da3dc68423a30afe2460f9831054e90',1,'Tests.TrainTests.StopTrainTest()']]], + ['superpotion_19',['SuperPotion',['../classLibrary_1_1SuperPotion.html#a7e6bb21563c87bdaaaf4e426fa961e63',1,'Library.SuperPotion.SuperPotion()'],['../classLibrary_1_1SuperPotion.html#a7e6bb21563c87bdaaaf4e426fa961e63',1,'Library.SuperPotion.SuperPotion()']]], + ['superpotioncorrectuse_20',['SuperPotionCorrectUse',['../classLibraryTests_1_1SuperPotionTest.html#a82b27fac16f96b33ccffd3df5567d001',1,'LibraryTests::SuperPotionTest']]], + ['superpotioncorrectuse1_21',['SuperPotionCorrectUse1',['../classLibraryTests_1_1SuperPotionTest.html#a385213d9479541c22d0a314aff5169d2',1,'LibraryTests::SuperPotionTest']]], + ['superpotioncorrectuse2_22',['SuperPotionCorrectUse2',['../classLibraryTests_1_1SuperPotionTest.html#a275ba27a5e3c499e582ec2bf7ee2c07c',1,'LibraryTests::SuperPotionTest']]], + ['superpotionhealthypokemonuse_23',['SuperPotionHealthyPokemonUse',['../classLibraryTests_1_1SuperPotionTest.html#afef0568233cc83fc53b45b75effb4180',1,'LibraryTests::SuperPotionTest']]], + ['surrender_24',['Surrender',['../classLibrary_1_1Facade.html#a4da326581139b7ba8ec08003e30b7b14',1,'Library::Facade']]] ]; diff --git a/docs/html/search/namespaces_0.js b/docs/html/search/namespaces_0.js index 262a0c7..1a461dc 100644 --- a/docs/html/search/namespaces_0.js +++ b/docs/html/search/namespaces_0.js @@ -1,4 +1,8 @@ var searchData= [ - ['consoleapplication_0',['ConsoleApplication',['../namespaceConsoleApplication.html',1,'']]] + ['library_0',['Library',['../namespaceLibrary.html',1,'']]], + ['library_3a_3acommands_1',['Commands',['../namespaceLibrary_1_1Commands.html',1,'Library']]], + ['library_3a_3astrategies_2',['Strategies',['../namespaceLibrary_1_1Strategies.html',1,'Library']]], + ['librarytests_3',['LibraryTests',['../namespaceLibraryTests.html',1,'']]], + ['librarytests_3a_3astrategies_4',['Strategies',['../namespaceLibraryTests_1_1Strategies.html',1,'LibraryTests']]] ]; diff --git a/docs/html/search/namespaces_1.js b/docs/html/search/namespaces_1.js index bdbdf91..a5e738c 100644 --- a/docs/html/search/namespaces_1.js +++ b/docs/html/search/namespaces_1.js @@ -1,5 +1,4 @@ var searchData= [ - ['library_0',['Library',['../namespaceLibrary.html',1,'']]], - ['librarytests_1',['LibraryTests',['../namespaceLibraryTests.html',1,'']]] + ['program_0',['Program',['../namespaceProgram.html',1,'']]] ]; diff --git a/docs/html/search/namespaces_3.js b/docs/html/search/namespaces_3.js new file mode 100644 index 0000000..f7c3872 --- /dev/null +++ b/docs/html/search/namespaces_3.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['ucu_0',['Ucu',['../namespaceUcu.html',1,'']]], + ['ucu_3a_3apoo_1',['Poo',['../namespaceUcu_1_1Poo.html',1,'Ucu']]], + ['ucu_3a_3apoo_3a_3adiscordbot_2',['DiscordBot',['../namespaceUcu_1_1Poo_1_1DiscordBot.html',1,'Ucu::Poo']]], + ['ucu_3a_3apoo_3a_3adiscordbot_3a_3acommands_3',['Commands',['../namespaceUcu_1_1Poo_1_1DiscordBot_1_1Commands.html',1,'Ucu::Poo::DiscordBot']]], + ['ucu_3a_3apoo_3a_3adiscordbot_3a_3aservices_4',['Services',['../namespaceUcu_1_1Poo_1_1DiscordBot_1_1Services.html',1,'Ucu::Poo::DiscordBot']]] +]; diff --git a/docs/html/search/pages_0.js b/docs/html/search/pages_0.js index 056ce98..7e6ef5b 100644 --- a/docs/html/search/pages_0.js +++ b/docs/html/search/pages_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['configurado_20en_20esta_20plantilla_0',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]] + ['configurado_20en_20esta_20plantilla_0',['configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]] ]; diff --git a/docs/html/search/pages_1.js b/docs/html/search/pages_1.js index 137929a..875554f 100644 --- a/docs/html/search/pages_1.js +++ b/docs/html/search/pages_1.js @@ -1,5 +1,5 @@ var searchData= [ - ['en_20esta_20plantilla_0',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]], - ['esta_20plantilla_1',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]] + ['en_20esta_20plantilla_0',['en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]], + ['esta_20plantilla_1',['esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]] ]; diff --git a/docs/html/search/pages_2.js b/docs/html/search/pages_2.js index 0fece4b..9a43425 100644 --- a/docs/html/search/pages_2.js +++ b/docs/html/search/pages_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['hay_20configurado_20en_20esta_20plantilla_0',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]] + ['hay_20configurado_20en_20esta_20plantilla_0',['hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]] ]; diff --git a/docs/html/search/pages_3.js b/docs/html/search/pages_3.js index 973c5c3..4ebc362 100644 --- a/docs/html/search/pages_3.js +++ b/docs/html/search/pages_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['plantilla_0',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]] + ['plantilla_0',['plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]] ]; diff --git a/docs/html/search/pages_4.js b/docs/html/search/pages_4.js index 7d6e9a2..39fa088 100644 --- a/docs/html/search/pages_4.js +++ b/docs/html/search/pages_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['qué_20hay_20configurado_20en_20esta_20plantilla_0',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'']]] + ['qué_20hay_20configurado_20en_20esta_20plantilla_0',['Qué hay configurado en esta plantilla',['../md_C_1_2Repos_2pii__2024__2__equipo10_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla'],['../md_C_1_2Repos_2pii__2024__2__equipo10_2README.html',1,'Qué hay configurado en esta plantilla']]] ]; diff --git a/docs/html/search/properties_0.js b/docs/html/search/properties_0.js index 9e694ea..c6f5580 100644 --- a/docs/html/search/properties_0.js +++ b/docs/html/search/properties_0.js @@ -1,7 +1,7 @@ var searchData= [ - ['accuracy_0',['Accuracy',['../classLibrary_1_1Attack.html#aefe240aacb24aeab6efc70e74b4d6ce2',1,'Library.Attack.Accuracy'],['../interfaceLibrary_1_1IAttack.html#a7c8bcc9fdd7b238e5b016369c773cc51',1,'Library.IAttack.Accuracy']]], - ['activeplayer_1',['ActivePlayer',['../classLibrary_1_1Game.html#a10e4e7852bdf3a3f81c8bcb8e77fc6ef',1,'Library::Game']]], - ['activepokemon_2',['ActivePokemon',['../classLibrary_1_1Player.html#a030387e896acdeb9cdd7ed9ee5193599',1,'Library::Player']]], - ['asleepturns_3',['AsleepTurns',['../classLibrary_1_1Pokemon.html#ad5e9d2602c802c7d1ce03ae7bca09508',1,'Library::Pokemon']]] + ['accuracy_0',['Accuracy',['../classLibrary_1_1Attack.html#a354e021b557445ba374de502bb8680b0',1,'Library.Attack.Accuracy'],['../interfaceLibrary_1_1IAttack.html#a786331e11744072d9d4e6b34962b05cd',1,'Library.IAttack.Accuracy']]], + ['activeplayer_1',['ActivePlayer',['../classLibrary_1_1Game.html#acb30d499afc6078b378f885abb1dac52',1,'Library::Game']]], + ['activepokemon_2',['ActivePokemon',['../classLibrary_1_1Player.html#ab3b3dd787c5ecfd18931263e12e25c47',1,'Library::Player']]], + ['asleepturns_3',['AsleepTurns',['../classLibrary_1_1Pokemon.html#a30f476961dbe02e597895c06a6c2a001',1,'Library::Pokemon']]] ]; diff --git a/docs/html/search/properties_1.js b/docs/html/search/properties_1.js index aedd521..b931f08 100644 --- a/docs/html/search/properties_1.js +++ b/docs/html/search/properties_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['baselife_0',['BaseLife',['../classLibrary_1_1Pokemon.html#a0aa5808b712ff4567d049347d22c0a80',1,'Library::Pokemon']]] + ['baselife_0',['BaseLife',['../classLibrary_1_1Pokemon.html#a5ecb375053588a59c4de7ffb6884e813',1,'Library::Pokemon']]] ]; diff --git a/docs/html/search/properties_2.js b/docs/html/search/properties_2.js index 6c87cc4..1d8c171 100644 --- a/docs/html/search/properties_2.js +++ b/docs/html/search/properties_2.js @@ -1,7 +1,7 @@ var searchData= [ - ['cooldown_0',['Cooldown',['../classLibrary_1_1SpecialAttack.html#a58f4b6ae4896cab5e715a04a2e4fcc01',1,'Library::SpecialAttack']]], - ['count_1',['Count',['../classLibrary_1_1WaitingList.html#a8f9daa717e847b045e7993eca2a9ffc6',1,'Library::WaitingList']]], - ['currentlife_2',['CurrentLife',['../classLibrary_1_1Pokemon.html#a22ca730a00fd8562770b3a8368897f25',1,'Library::Pokemon']]], - ['currentstate_3',['CurrentState',['../classLibrary_1_1Pokemon.html#a423956363e32e80834a204efcc9d9d45',1,'Library::Pokemon']]] + ['cooldown_0',['Cooldown',['../classLibrary_1_1SpecialAttack.html#af68e37d318a2b43b12644859262eb22d',1,'Library::SpecialAttack']]], + ['count_1',['Count',['../classLibrary_1_1WaitingList.html#a706d5e046a93ae0243416005baed5491',1,'Library::WaitingList']]], + ['currentlife_2',['CurrentLife',['../classLibrary_1_1Pokemon.html#a4f7482fcbe850721ce4e6d5f65d20c6f',1,'Library::Pokemon']]], + ['currentstate_3',['CurrentState',['../classLibrary_1_1Pokemon.html#a7deed35f1ad0dbe47c887de2f8b39d8e',1,'Library::Pokemon']]] ]; diff --git a/docs/html/search/properties_3.js b/docs/html/search/properties_3.js index c0f3d62..0b05a6d 100644 --- a/docs/html/search/properties_3.js +++ b/docs/html/search/properties_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['name_0',['Name',['../classLibrary_1_1Attack.html#ac7218a2b5728ef1b1f371cb42d5d7ad5',1,'Library.Attack.Name'],['../classLibrary_1_1FullHealth.html#a536b79ebe2a2a463218e9702a6da9065',1,'Library.FullHealth.Name'],['../interfaceLibrary_1_1IAttack.html#ac67b0c8c58809acc94b0cd1edd9dfe95',1,'Library.IAttack.Name'],['../interfaceLibrary_1_1IItem.html#a0745171e6b0c278a18577cf3be1363af',1,'Library.IItem.Name'],['../classLibrary_1_1Player.html#aecafe46b465d7340dbcd7a4c31f44f88',1,'Library.Player.Name'],['../classLibrary_1_1Pokemon.html#a68c19b133602cf71110cb160e443aa15',1,'Library.Pokemon.Name'],['../classLibrary_1_1Revive.html#a8f64129a406a72d7ee08c3d8fa5c8219',1,'Library.Revive.Name'],['../classLibrary_1_1SuperPotion.html#ae38aa1764c4ef347bedbb273e3b4d9e5',1,'Library.SuperPotion.Name']]] + ['instance_0',['Instance',['../classLibrary_1_1Facade.html#adea0b2f657f9d794cd01634ce317b4b7',1,'Library.Facade.Instance'],['../classLibrary_1_1PokemonCatalogue.html#a8f3b78d19e6ba993d83dccd3ae665828',1,'Library.PokemonCatalogue.Instance']]] ]; diff --git a/docs/html/search/properties_4.js b/docs/html/search/properties_4.js index 00f64d3..f5b4574 100644 --- a/docs/html/search/properties_4.js +++ b/docs/html/search/properties_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['power_0',['Power',['../classLibrary_1_1Attack.html#a415d3f2ab9e38d5def9c43ca901557d1',1,'Library::Attack']]] + ['name_0',['Name',['../classLibrary_1_1Attack.html#aaf1bf878f7e6827955ba95c05e73bf69',1,'Library.Attack.Name'],['../classLibrary_1_1FullHealth.html#a178ebe71fc3230e3de63fb15f20d4218',1,'Library.FullHealth.Name'],['../interfaceLibrary_1_1IAttack.html#a98f2c518cc7fc3042b19f84686467863',1,'Library.IAttack.Name'],['../interfaceLibrary_1_1IItem.html#ad20045382e11b86966a8d9e0d1d48934',1,'Library.IItem.Name'],['../classLibrary_1_1Player.html#ad38909add16eeffa279286032bd6d868',1,'Library.Player.Name'],['../classLibrary_1_1Pokemon.html#a8c423e4cf937eb89619ede98029a0735',1,'Library.Pokemon.Name'],['../classLibrary_1_1Revive.html#a7beb483b7a45d1a93868a575ed9d171f',1,'Library.Revive.Name'],['../classLibrary_1_1SuperPotion.html#a8ca740ecb19937e2da3ba93670bc7cc8',1,'Library.SuperPotion.Name']]] ]; diff --git a/docs/html/search/properties_5.js b/docs/html/search/properties_5.js index 6a44e83..f6de369 100644 --- a/docs/html/search/properties_5.js +++ b/docs/html/search/properties_5.js @@ -1,4 +1,6 @@ var searchData= [ - ['specialeffect_0',['SpecialEffect',['../classLibrary_1_1SpecialAttack.html#a9d65db441119cee5d6f01195cee52bb6',1,'Library::SpecialAttack']]] + ['pokemoncount_0',['PokemonCount',['../classLibrary_1_1PokemonCatalogue.html#a4ef64b1a3cc57870fe56adc1093197db',1,'Library::PokemonCatalogue']]], + ['pokemonlist_1',['PokemonList',['../classLibrary_1_1PokemonCatalogue.html#a4aad2ce3698451e72427cc57c3142336',1,'Library::PokemonCatalogue']]], + ['power_2',['Power',['../classLibrary_1_1Attack.html#ae0d82da3fd6143fbc028c7d4e4f39978',1,'Library::Attack']]] ]; diff --git a/docs/html/search/properties_6.js b/docs/html/search/properties_6.js index c3a585f..70a4b27 100644 --- a/docs/html/search/properties_6.js +++ b/docs/html/search/properties_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['turncount_0',['TurnCount',['../classLibrary_1_1Game.html#a18e1b6c392787417ba7f144517c8ef70',1,'Library::Game']]], - ['type_1',['Type',['../classLibrary_1_1Attack.html#ade564367491c11401658679092006aa4',1,'Library.Attack.Type'],['../interfaceLibrary_1_1IAttack.html#a4996d147243c5f812ea19aded6b0df49',1,'Library.IAttack.Type']]] + ['specialeffect_0',['SpecialEffect',['../classLibrary_1_1SpecialAttack.html#a75d48548b13cad1231418f82f4b163cf',1,'Library::SpecialAttack']]], + ['strategystartingplayer_1',['StrategyStartingPlayer',['../classLibrary_1_1Game.html#aa4efe3d427ebeb49bbff3e93f253009d',1,'Library::Game']]] ]; diff --git a/docs/html/search/properties_7.js b/docs/html/search/properties_7.js new file mode 100644 index 0000000..d02aef8 --- /dev/null +++ b/docs/html/search/properties_7.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['teamcount_0',['TeamCount',['../classLibrary_1_1Player.html#a9a974785bc047d4ae13c42942f846666',1,'Library::Player']]], + ['turncount_1',['TurnCount',['../classLibrary_1_1Game.html#ae0504c37107702ca94be1ce077030d49',1,'Library::Game']]], + ['type_2',['Type',['../classLibrary_1_1Attack.html#a76376f8b7b4f12e07b6f1833c4cc97dc',1,'Library.Attack.Type'],['../interfaceLibrary_1_1IAttack.html#a41e4a57f84f7121b9c7e55b56510bd6b',1,'Library.IAttack.Type']]] +]; diff --git a/docs/html/search/searchdata.js b/docs/html/search/searchdata.js index 39877b7..edd8a3e 100644 --- a/docs/html/search/searchdata.js +++ b/docs/html/search/searchdata.js @@ -1,12 +1,13 @@ var indexSectionsWithContent = { - 0: "abcdefghilmnpqrstuwz", - 1: "acfghimprstwz", - 2: "clt", - 3: "acefghlmnprstuwz", + 0: "abcdefghijlmnpqrstuwz", + 1: "abcdefghijlmprstuwz", + 2: "lptu", + 3: "abcdefghijlmnprstuwz", 4: "st", - 5: "abcnpst", - 6: "cehpq" + 5: "abdefginprw", + 6: "abcinpst", + 7: "cehpq" }; var indexSectionNames = @@ -16,8 +17,9 @@ var indexSectionNames = 2: "namespaces", 3: "functions", 4: "enums", - 5: "properties", - 6: "pages" + 5: "enumvalues", + 6: "properties", + 7: "pages" }; var indexSectionLabels = @@ -27,7 +29,8 @@ var indexSectionLabels = 2: "Namespaces", 3: "Functions", 4: "Enumerations", - 5: "Properties", - 6: "Pages" + 5: "Enumerator", + 6: "Properties", + 7: "Pages" }; diff --git a/docs/html/src_2Library_2Attack_8cs_source.html b/docs/html/src_2Library_2Attack_8cs_source.html new file mode 100644 index 0000000..f0e7348 --- /dev/null +++ b/docs/html/src_2Library_2Attack_8cs_source.html @@ -0,0 +1,165 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Attack.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Attack.cs
+
+
+
1namespace Library;
+
+
6public class Attack : IAttack
+
7{
+
11 public string Name { get; private set;}
+
12
+
16 public Type Type { get; }
+
17
+
21 public double Accuracy {get; private set;}
+
22
+
26 public int Power {get; private set;}
+
27
+
+
36 public Attack(string name, Type type, double accuracy, int power)
+
37 {
+
38 if (string.IsNullOrEmpty(name))
+
39 {
+
40 throw new ArgumentException("El nombre ingresado no es válido");
+
41 }
+
42 if (accuracy < 0 || accuracy > 1)
+
43 {
+
44 throw new ArgumentException("La precision ingresada no es válido");
+
45 }
+
46 if (power < 0)
+
47 {
+
48 throw new ArgumentException("El poder ingresado no es válido");
+
49 }
+
50 this.Name = name;
+
51 this.Type = type;
+
52 this.Accuracy = accuracy;
+
53 this.Power =power;
+
54 }
+
+
55
+
56
+
+
61 public virtual string InfoAttack()
+
62 {
+
63 return $"**{this.Name}**: tipo *{this.Type}*, precisión *{this.Accuracy*100}*, potencia *{this.Power}*\n";
+
64 }
+
+
65
+
66}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
virtual string InfoAttack()
Genera una descripción formateada del ataque. Incluye el nombre, tipo, precisión y potencia del ataqu...
Definition Attack.cs:61
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
Attack(string name, Type type, double accuracy, int power)
Constructor del ataque. Asigna el nombre, tipo, precisión y potencia a un ataque a crear.
Definition Attack.cs:36
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
+
+ + + + diff --git a/docs/html/Caterpie_8cs_source.html b/docs/html/src_2Library_2Caterpie_8cs_source.html similarity index 73% rename from docs/html/Caterpie_8cs_source.html rename to docs/html/src_2Library_2Caterpie_8cs_source.html index 6696c2f..d92bcc2 100644 --- a/docs/html/Caterpie_8cs_source.html +++ b/docs/html/src_2Library_2Caterpie_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Caterpie.cs Source File @@ -35,7 +35,7 @@ - +
@@ -105,28 +105,35 @@
7public class Caterpie: Pokemon
8{
-
12 public Caterpie():base(name: "Caterpie", life: 294, type: Library.Type.Bug, new Attack("Bug bite", Type.Bug, 1,20),new Attack("Tackle",Type.Normal,1,30),new SpecialAttack("Bug stomp", Type.Bug, 0.95,70, State.Paralized),new Attack("String shot", Type.Bug, 1,15))
+
12 public Caterpie():base(name: "Caterpie", life: 294, type: Library.Type.Bug, new Attack("Bug bite", Type.Bug, 1,20),new Attack("Tackle",Type.Normal,1,30),new SpecialAttack("Bug stomp", Type.Bug, 0.95,70, State.Paralized),new Attack("String shot", Type.Bug, 1,15))
13 {
14
15 }
-
16}
+
+
20 public override Pokemon Instance()
+
21 {
+
22 return new Caterpie();
+
23 }
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
+
24}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
Esta clase representa el Pokemon Caterpie. Al ser un Pokemon hereda de la clase Pokemon.
Definition Caterpie.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Caterpie.cs:20
Caterpie()
Constructor de Caterpie, implementa el patron GRASP creator.
Definition Caterpie.cs:12
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
- -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/src_2Library_2Charizard_8cs_source.html b/docs/html/src_2Library_2Charizard_8cs_source.html new file mode 100644 index 0000000..cbc1864 --- /dev/null +++ b/docs/html/src_2Library_2Charizard_8cs_source.html @@ -0,0 +1,140 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Charizard.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Charizard.cs
+
+
+
1namespace Library;
+
2
+
+
7public class Charizard : Pokemon
+
8{
+
+
12 public Charizard():base(name: "Charizard", life: 360, type: Type.Fire, new Attack("Dragon claw",Type.Dragon,1,55000),new SpecialAttack("Flamethrower",Type.Fire,1,75, State.Burned), new Attack("Wing Attack",Type.Flying,0.9,40), new Attack("Fire punch",Type.Fire,1,50))
+
13 {
+
14
+
15 }
+
+
+
20 public override Pokemon Instance()
+
21 {
+
22 return new Charizard();
+
23 }
+
+
24}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
Charizard()
Constructor de Charizard, implementa el patron GRASP creator.
Definition Charizard.cs:12
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Charizard.cs:20
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/Chikorita_8cs_source.html b/docs/html/src_2Library_2Chikorita_8cs_source.html similarity index 74% rename from docs/html/Chikorita_8cs_source.html rename to docs/html/src_2Library_2Chikorita_8cs_source.html index 60478a9..ae680be 100644 --- a/docs/html/Chikorita_8cs_source.html +++ b/docs/html/src_2Library_2Chikorita_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Chikorita.cs Source File @@ -35,7 +35,7 @@ - +
@@ -105,28 +105,36 @@
7public class Chikorita : Pokemon
8{
-
12 public Chikorita():base(name: "Chikorita", life: 294, type: Type.Grass,new Attack("Razor leaf",Type.Grass,0.9,35),new Attack("Magical leaf", Type.Grass,1,45),new SpecialAttack("Giga Drain",Type.Grass,0.95,70,State.Paralized), new Attack("Body slam",Type.Normal,1,55))
+
12 public Chikorita():base(name: "Chikorita", life: 294, type: Type.Grass,new Attack("Razor leaf",Type.Grass,0.9,35),new Attack("Magical leaf", Type.Grass,1,45),new SpecialAttack("Giga Drain",Type.Grass,0.95,70,State.Paralized), new Attack("Body slam",Type.Normal,1,55))
13 {
14
15 }
-
16}
+
16
+
+
21 public override Pokemon Instance()
+
22 {
+
23 return new Chikorita();
+
24 }
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
+
25}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
Esta clase representa el Pokemon Chikorita. Al ser un Pokemon hereda de la clase Pokemon.
Definition Chikorita.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Chikorita.cs:21
Chikorita()
Constructor de Chikorita, implementa el patron GRASP creator.
Definition Chikorita.cs:12
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
- -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/src_2Library_2Commands_2AttackCommand_8cs_source.html b/docs/html/src_2Library_2Commands_2AttackCommand_8cs_source.html new file mode 100644 index 0000000..55078d6 --- /dev/null +++ b/docs/html/src_2Library_2Commands_2AttackCommand_8cs_source.html @@ -0,0 +1,154 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/AttackCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
AttackCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class AttackCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("attack")]
+
18 [Summary(
+
19 """
+
20 Ataca al Pokemon activo del otro jugador utilizando el ataque pasado
+
21 por parámetro. Envía un mensaje con el resultado de la operación, si no
+
22 se pudo concretar el ataque el jugador pierde el turno.
+
23 Este comando solo puede ser utilizado por un jugador mientras
+
24 sea su turno.
+
25 """)]
+
+
26 public async Task ExecuteAsync(
+
27 [Remainder]
+
28 [Summary("Ataque que desea utilizar.")]
+
29 string? attack = null)
+
30 {
+
31 string displayName = CommandHelper.GetDisplayName(Context);
+
32 string result;
+
33 result = Facade.Instance.ChooseAttack(displayName, attack);
+
34 await ReplyAsync(result);
+
35 }
+
+
36
+
37}
+
+
Esta clase implementa el comando 'attack' del bot.
+
async Task ExecuteAsync([Remainder][Summary("Ataque que desea utilizar.")] string? attack=null)
Envía a la fachada un mensaje con el ataque a utilizar.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string ChooseAttack(string playerName, string attackName)
Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti...
Definition Facade.cs:127
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/src_2Library_2Commands_2BattleCommand_8cs_source.html b/docs/html/src_2Library_2Commands_2BattleCommand_8cs_source.html new file mode 100644 index 0000000..e783e3f --- /dev/null +++ b/docs/html/src_2Library_2Commands_2BattleCommand_8cs_source.html @@ -0,0 +1,156 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/BattleCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
BattleCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+ + +
6
+
7namespace Library.Commands;
+
8
+
15// ReSharper disable once UnusedType.Global
+
+
16public class BattleCommand : ModuleBase<SocketCommandContext>
+
17{
+
23 [Command("battle")]
+
24 [Summary(
+
25 """
+
26 Une al jugador que envía el mensaje con el oponente que se recibe
+
27 como parámetro, si lo hubiera, en una batalla; si no se recibe un
+
28 oponente, lo une con cualquiera que esté esperando para jugar.
+
29 """)]
+
30 // ReSharper disable once UnusedMember.Global
+
+
31 public async Task ExecuteAsync(
+
32 [Remainder] [Summary("Display name del oponente, opcional")]
+
33 string? opponentDisplayName = null)
+
34 {
+
35 string displayName = CommandHelper.GetDisplayName(Context);
+
36 string result;
+
37 result = Facade.Instance.StartGame(displayName, opponentDisplayName, new StrategyRandomStartingPlayer());
+
38 await ReplyAsync(result);
+
39 if(result.Contains(" Vs. "))
+
40 await ReplyAsync("!choose <<Nombre del Pokemon>> para elegir un Pokemon\n!catalogue para ver el catalogo de Pokemones.\n!help para más comandos.");
+
41 }
+
+
42}
+
+
Esta clase implementa el comando 'battle' del bot. Este comando une al jugador que envía el mensaje c...
+
async Task ExecuteAsync([Remainder][Summary("Display name del oponente, opcional")] string? opponentDisplayName=null)
Implementa el comando 'battle'. Este comando une al jugador que envía el mensaje a la lista de jugado...
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string StartGame(string playerName, string opponentName)
Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ...
Definition Facade.cs:383
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+ + + +
+
+ + + + diff --git a/docs/html/src_2Library_2Commands_2ChooseCommand_8cs_source.html b/docs/html/src_2Library_2Commands_2ChooseCommand_8cs_source.html new file mode 100644 index 0000000..6a1bd1c --- /dev/null +++ b/docs/html/src_2Library_2Commands_2ChooseCommand_8cs_source.html @@ -0,0 +1,150 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/ChooseCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ChooseCommand.cs
+
+
+
1using Discord;
+
2using Discord.Commands;
+
3using Discord.WebSocket;
+
4using Library;
+
5
+
6namespace Library.Commands;
+
7
+
+
11public class ChooseCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("choose")]
+
18 [Summary(
+
19 """
+
20 Agrega al equipo del jugador el Pokemon seleccionado.
+
21 Si no se logra agregar envía un mensaje avisando al usuario.
+
22 """)]
+
+
23 public async Task ExecuteAsync(
+
24 [Remainder] [Summary("Nombre del pokemon.")]
+
25 string pokemonName)
+
26 {
+
27 string displayName = CommandHelper.GetDisplayName(Context);
+
28 string result;
+
29 result = Facade.Instance.ChooseTeam(displayName, pokemonName);
+
30 await ReplyAsync(result);
+
31
+
32 }
+
+
33}
+
+
Esta clase implementa el comando 'choose' del bot.
+
async Task ExecuteAsync([Remainder][Summary("Nombre del pokemon.")] string pokemonName)
Envía a la fachada un mensaje con el Pokemon seleccionado.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string ChooseTeam(string playerName, string cPokemon)
Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo.
Definition Facade.cs:26
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/PokemonCatalogue_8cs_source.html b/docs/html/src_2Library_2Commands_2CommandHelper_8cs_source.html similarity index 58% rename from docs/html/PokemonCatalogue_8cs_source.html rename to docs/html/src_2Library_2Commands_2CommandHelper_8cs_source.html index fe9075a..34a2ae2 100644 --- a/docs/html/PokemonCatalogue_8cs_source.html +++ b/docs/html/src_2Library_2Commands_2CommandHelper_8cs_source.html @@ -3,9 +3,9 @@ - + -Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/PokemonCatalogue.cs Source File +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/CommandHelper.cs Source File @@ -35,7 +35,7 @@ - +
@@ -96,57 +96,70 @@
-
PokemonCatalogue.cs
+
CommandHelper.cs
-
1namespace Library;
-
2
-
6public static class PokemonCatalogue
+
1using Discord.Commands;
+
2using Discord.WebSocket;
+
3
+
4namespace Library.Commands;
+
5
+
6public static class CommandHelper
7{
-
11 private static List<Pokemon> PokemonList { get; set; }
-
12
-
17 public static string ShowCatalogue()
-
18 {
-
19 List<Pokemon> pokedex = SetCatalogue();
-
20 string pokemonsAvailable = "";
-
21 foreach (Pokemon pokemon in pokedex)
-
22 {
-
23 pokemonsAvailable += pokemon.Name +"\n";
-
24 }
-
25 return pokemonsAvailable;
-
26 }
+
8 public static string GetDisplayName(
+
9 SocketCommandContext context,
+
10 string? name = null)
+
11 {
+
12 if (name == null)
+
13 {
+
14 name = context.Message.Author.Username;
+
15 }
+
16
+
17 foreach (SocketGuildUser user in context.Guild.Users)
+
18 {
+
19 if (user.Username == name
+
20 || user.DisplayName == name
+
21 || user.Nickname == name
+
22 || user.GlobalName == name)
+
23 {
+
24 return user.DisplayName;
+
25 }
+
26 }
27
-
32 public static List<Pokemon> SetCatalogue()
-
33 {
-
34 Charizard charizard = new Charizard();
-
35 Chikorita chikorita = new Chikorita();
-
36 Gengar gengar = new Gengar();
-
37 Caterpie caterpie = new Caterpie();
-
38 Mewtwo mewtwo = new Mewtwo();
-
39 Zeraora zeraora = new Zeraora();
-
40 Haxorus haxorus = new Haxorus();
-
41 List<Pokemon> list = new List<Pokemon>();
-
42 list.Add(charizard);
-
43 list.Add(caterpie);
-
44 list.Add(chikorita);
-
45 list.Add(gengar);
-
46 list.Add(charizard);
-
47 list.Add(mewtwo);
-
48 list.Add(zeraora);
-
49 list.Add(haxorus);
-
50 PokemonList = list;
-
51 return PokemonList;
+
28 return name;
+
29 }
+
30
+
31 public static SocketGuildUser? GetUser(
+
32 SocketCommandContext context,
+
33 string? name)
+
34 {
+
35 if (name == null)
+
36 {
+
37 return null;
+
38 }
+
39
+
40 foreach (SocketGuildUser user in context.Guild.Users)
+
41 {
+
42 if (user.Username == name
+
43 || user.DisplayName == name
+
44 || user.Nickname == name
+
45 || user.GlobalName == name)
+
46 {
+
47 return user;
+
48 }
+
49 }
+
50
+
51 return null;
52 }
-
53
-
54}
- +
53}
+
diff --git a/docs/html/src_2Library_2Commands_2JoinCommand_8cs_source.html b/docs/html/src_2Library_2Commands_2JoinCommand_8cs_source.html new file mode 100644 index 0000000..382cf54 --- /dev/null +++ b/docs/html/src_2Library_2Commands_2JoinCommand_8cs_source.html @@ -0,0 +1,142 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/JoinCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
JoinCommand.cs
+
+
+
1using Discord.Commands;
+
2using Library;
+
3
+
4namespace Library.Commands;
+
5
+
10// ReSharper disable once UnusedType.Global
+
+
11public class JoinCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("join")]
+
18 [Summary("Une el usuario que envía el mensaje a la lista de espera")]
+
19 // ReSharper disable once UnusedMember.Global
+
+
20 public async Task ExecuteAsync()
+
21 {
+
22 string displayName = CommandHelper.GetDisplayName(Context);
+
23 string result = Facade.Instance.AddPlayerToWaitingList(displayName);
+
24 await ReplyAsync(result);
+
25 }
+
+
26}
+
+
Esta clase implementa el comando 'join' del bot. Este comando une al jugador que envía el mensaje a l...
+
async Task ExecuteAsync()
Implementa el comando 'join'. Este comando une al jugador que envía el mensaje a la lista de jugadore...
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string AddPlayerToWaitingList(string playerName)
Historia de usuario 9: Agrega un jugador a la lista de espera.
Definition Facade.cs:307
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/src_2Library_2Commands_2LeaveCommand_8cs_source.html b/docs/html/src_2Library_2Commands_2LeaveCommand_8cs_source.html new file mode 100644 index 0000000..7899ef7 --- /dev/null +++ b/docs/html/src_2Library_2Commands_2LeaveCommand_8cs_source.html @@ -0,0 +1,142 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/LeaveCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LeaveCommand.cs
+
+
+
1using Discord.Commands;
+
2using Library;
+
3
+
4namespace Library.Commands;
+
5
+
10// ReSharper disable once UnusedType.Global
+
+
11public class LeaveCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("leave")]
+
18 [Summary("Remueve el usuario que envía el mensaje a la lista de espera")]
+
19 // ReSharper disable once UnusedMember.Global
+
+
20 public async Task ExecuteAsync()
+
21 {
+
22 string displayName = CommandHelper.GetDisplayName(Context);
+
23 string result = Facade.Instance.RemovePlayerFromWaitingList(displayName);
+
24 await ReplyAsync(result);
+
25 }
+
+
26}
+
+
Esta clase implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaj...
+
async Task ExecuteAsync()
Implementa el comando 'leave' del bot. Este comando remueve el jugador que envía el mensaje de la lis...
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string RemovePlayerFromWaitingList(string playerName)
Historia de usuario 9.1: Remueve un jugador de la lista de espera.
Definition Facade.cs:328
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/src_2Library_2Commands_2PokemonNameCommand_8cs_source.html b/docs/html/src_2Library_2Commands_2PokemonNameCommand_8cs_source.html new file mode 100644 index 0000000..44401a2 --- /dev/null +++ b/docs/html/src_2Library_2Commands_2PokemonNameCommand_8cs_source.html @@ -0,0 +1,197 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/PokemonNameCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
PokemonNameCommand.cs
+
+
+
1using System.Net;
+
2using System.Net.Http.Headers;
+
3using System.Text.Json.Nodes;
+
4using Microsoft.Extensions.Logging;
+
5using Discord.Commands;
+
6
+
7namespace Library.Commands;
+
8
+
13// ReSharper disable once UnusedType.Global
+
+
14public class PokemonNameCommand : ModuleBase<SocketCommandContext>
+
15{
+
16 private readonly ILogger<PokemonNameCommand> logger;
+
17 private readonly HttpClient httpClient;
+
18
+
+
25 public PokemonNameCommand(ILogger<PokemonNameCommand> logger)
+
26 {
+
27 this.logger = logger;
+
28
+
29 httpClient = new HttpClient();
+
30 httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
+
31 httpClient.DefaultRequestHeaders.Add("User-Agent", "DiscordBot");
+
32 }
+
+
33
+
39 [Command("name")]
+
40 [Summary("Busca el nombre de un Pokémon por identificador usando la PokéAPI")]
+
41 // ReSharper disable once UnusedMember.Global
+
+
42 public async Task ExecuteAsync([Remainder][Summary("ID")] int id = 0)
+
43 {
+
44 if (id <= 0)
+
45 {
+
46 await ReplyAsync("Uso: !name <id>");
+
47 return;
+
48 }
+
49
+
50 try
+
51 {
+
52 var response = await httpClient.GetStringAsync($"https://pokeapi.co/api/v2/pokemon/{id}");
+
53
+
54 if (string.IsNullOrEmpty(response))
+
55 {
+
56 await ReplyAsync($"No encontré nada para {id}");
+
57 return;
+
58 }
+
59
+
60 JsonNode? pokemonNode = JsonNode.Parse(response);
+
61 JsonNode? nameNode = pokemonNode?["name"];
+
62
+
63 if (pokemonNode == null || nameNode == null)
+
64 {
+
65 await ReplyAsync($"No encontré el nombre de {id}");
+
66 }
+
67 else
+
68 {
+
69 await ReplyAsync(nameNode.GetValue<string>());
+
70 }
+
71 }
+
72 catch (HttpRequestException exception)
+
73 {
+
74 if (exception.StatusCode == HttpStatusCode.NotFound)
+
75 {
+
76 await ReplyAsync("No lo encontré");
+
77 }
+
78 else
+
79 {
+
80 logger.LogError("HTTP error: {Message}", exception.Message);
+
81 }
+
82
+
83 }
+
84 catch (Exception exception)
+
85 {
+
86 logger.LogError("Exception: {Message}", exception.Message);
+
87 }
+
88 }
+
+
89}
+
+
Esta clase implementa el comando 'name' del bot. Este comando retorna el nombre de un Pokémon dado su...
+
PokemonNameCommand(ILogger< PokemonNameCommand > logger)
Inicializa una nueva instancia de la clase PokemonNameCommand con los valores recibidos como argument...
+
async Task ExecuteAsync([Remainder][Summary("ID")] int id=0)
Implementa el comando 'name'. Este comando retorna el nombre de un Pokémon dado su identificador.
+ + +
+
+ + + + diff --git a/docs/html/src_2Library_2Commands_2UserInfoCommand_8cs_source.html b/docs/html/src_2Library_2Commands_2UserInfoCommand_8cs_source.html new file mode 100644 index 0000000..f955fef --- /dev/null +++ b/docs/html/src_2Library_2Commands_2UserInfoCommand_8cs_source.html @@ -0,0 +1,158 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/UserInfoCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
UserInfoCommand.cs
+
+
+
1using Discord.Commands;
+
2using Discord.WebSocket;
+
3using Library;
+
4
+
5namespace Library.Commands;
+
6
+
12// ReSharper disable once UnusedType.Global
+
+
13public class UserInfoCommand : ModuleBase<SocketCommandContext>
+
14{
+
19 [Command("who")]
+
20 [Summary(
+
21 """
+
22 Devuelve información sobre el usuario que se indica como parámetro o
+
23 sobre el usuario que envía el mensaje si no se indica otro usuario.
+
24 """)]
+
25 // ReSharper disable once UnusedMember.Global
+
+
26 public async Task ExecuteAsync(
+
27 [Remainder][Summary("El usuario del que tener información, opcional")]
+
28 string? displayName = null)
+
29 {
+
30 if (displayName != null)
+
31 {
+
32 SocketGuildUser? user = CommandHelper.GetUser(Context, displayName);
+
33
+
34 if (user == null)
+
35 {
+
36 await ReplyAsync($"No puedo encontrar {displayName} en este servidor");
+
37 }
+
38 }
+
39
+
40 string userName = displayName ?? CommandHelper.GetDisplayName(Context);
+
41
+
42 // string result = Facade.TrainerIsWaiting(userName);
+
43
+
44 await ReplyAsync(userName);
+
45 }
+
+
46}
+
+
Esta clase implementa el comando 'userinfo', alias 'who' o 'whois' del bot. Este comando retorna info...
+
async Task ExecuteAsync([Remainder][Summary("El usuario del que tener información, opcional")] string? displayName=null)
Implementa el comando 'userinfo', alias 'who' o 'whois' del bot.
+ + + +
+
+ + + + diff --git a/docs/html/src_2Library_2Commands_2WaitingCommand_8cs_source.html b/docs/html/src_2Library_2Commands_2WaitingCommand_8cs_source.html new file mode 100644 index 0000000..18e5b91 --- /dev/null +++ b/docs/html/src_2Library_2Commands_2WaitingCommand_8cs_source.html @@ -0,0 +1,142 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Commands/WaitingCommand.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
WaitingCommand.cs
+
+
+
1using Discord.Commands;
+
2using Library;
+
3
+
4namespace Library.Commands;
+
5
+
10// ReSharper disable once UnusedType.Global
+
+
11public class WaitingCommand : ModuleBase<SocketCommandContext>
+
12{
+
17 [Command("waitinglist")]
+
18 [Summary("Muestra los usuarios en la lista de espera")]
+
19 // ReSharper disable once UnusedMember.Global
+
+
20 public async Task ExecuteAsync()
+
21 {
+
22 string result = Facade.Instance.GetAllPlayersWaiting();
+
23
+
24 await ReplyAsync(result);
+
25 }
+
+
26}
+
+
Esta clase implementa el comando 'waitinglist' del bot. Este comando muestra la lista de jugadores es...
+
async Task ExecuteAsync()
Implementa el comando 'waitinglist'. Este comando muestra la lista de jugadores esperando para jugar.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string GetAllPlayersWaiting()
Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.
Definition Facade.cs:340
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+ + + +
+
+ + + + diff --git a/docs/html/src_2Library_2DamageCalculator_8cs_source.html b/docs/html/src_2Library_2DamageCalculator_8cs_source.html new file mode 100644 index 0000000..68bd5e2 --- /dev/null +++ b/docs/html/src_2Library_2DamageCalculator_8cs_source.html @@ -0,0 +1,378 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/DamageCalculator.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
DamageCalculator.cs
+
+
+
1using System.Diagnostics;
+
2using System.Runtime.CompilerServices;
+
3using System.Security.AccessControl;
+
4using System.Xml;
+ +
6
+
7namespace Library;
+
8
+
+
13public class DamageCalculator
+
14{
+
15 private IStrategyCritCheck StrategyCritCheck { get; set; }
+
16
+
24 private Dictionary<Tuple<Type, Type>, double> EffectivnessDataBase
+
25 {
+
26 get
+
27 {
+
28 Type fire = Type.Fire;
+
29 Type water = Type.Water;
+
30 Type grass = Type.Grass;
+
31 Type electric = Type.Electric;
+
32 Type ground = Type.Ground;
+
33 Type bug = Type.Bug;
+
34 Type dragon = Type.Dragon;
+
35 Type fighting = Type.Fighting;
+
36 Type flying = Type.Flying;
+
37 Type ghost = Type.Ghost;
+
38 Type ice = Type.Ice;
+
39 Type normal = Type.Normal;
+
40 Type poison = Type.Poison;
+
41 Type psychic = Type.Psychic;
+
42 Type rock = Type.Rock;
+
43 Dictionary<Tuple<Type, Type>, double> effectivnessDataBase =
+
44 new Dictionary<Tuple<Type, Type>, double>();
+
45 effectivnessDataBase.Add(new Tuple<Type, Type>(electric, water), 2.0);
+
46 effectivnessDataBase.Add(new Tuple<Type, Type>(grass, water), 2.0);
+
47 effectivnessDataBase.Add(new Tuple<Type, Type>(water, water), 0.5);
+
48 effectivnessDataBase.Add(new Tuple<Type, Type>(fire, water), 0.5);
+
49 effectivnessDataBase.Add(new Tuple<Type, Type>(ice, water), 0.5);
+
50 effectivnessDataBase.Add(new Tuple<Type, Type>(fire, bug), 2.0);
+
51 effectivnessDataBase.Add(new Tuple<Type, Type>(rock, bug), 2.0);
+
52 effectivnessDataBase.Add(new Tuple<Type, Type>(flying, bug), 2.0);
+
53 effectivnessDataBase.Add(new Tuple<Type, Type>(poison, bug), 2.0);
+
54 effectivnessDataBase.Add(new Tuple<Type, Type>(fighting, bug), 0.5);
+
55 effectivnessDataBase.Add(new Tuple<Type, Type>(grass, bug), 0.5);
+
56 effectivnessDataBase.Add(new Tuple<Type, Type>(ground, bug), 0.5);
+
57 effectivnessDataBase.Add(new Tuple<Type, Type>(dragon, dragon), 2.0);
+
58 effectivnessDataBase.Add(new Tuple<Type, Type>(ice, dragon), 2.0);
+
59 effectivnessDataBase.Add(new Tuple<Type, Type>(water, dragon), 0.5);
+
60 effectivnessDataBase.Add(new Tuple<Type, Type>(fire, dragon), 0.5);
+
61 effectivnessDataBase.Add(new Tuple<Type, Type>(electric, dragon), 0.5);
+
62 effectivnessDataBase.Add(new Tuple<Type, Type>(grass, dragon), 0.5);
+
63 effectivnessDataBase.Add(new Tuple<Type, Type>(ground, electric), 2.0);
+
64 effectivnessDataBase.Add(new Tuple<Type, Type>(flying, electric), 0.5);
+
65 effectivnessDataBase.Add(new Tuple<Type, Type>(electric, electric), 0.0);
+
66 effectivnessDataBase.Add(new Tuple<Type, Type>(ghost, ghost), 2.0);
+
67 effectivnessDataBase.Add(new Tuple<Type, Type>(poison, ghost), 0.5);
+
68 effectivnessDataBase.Add(new Tuple<Type, Type>(fighting, ghost), 0.5);
+
69 effectivnessDataBase.Add(new Tuple<Type, Type>(normal, ghost), 0.5);
+
70 effectivnessDataBase.Add(new Tuple<Type, Type>(water, fire), 2.0);
+
71 effectivnessDataBase.Add(new Tuple<Type, Type>(rock, fire), 2.0);
+
72 effectivnessDataBase.Add(new Tuple<Type, Type>(ground, fire), 2.0);
+
73 effectivnessDataBase.Add(new Tuple<Type, Type>(bug, fire), 0.5);
+
74 effectivnessDataBase.Add(new Tuple<Type, Type>(fire, fire), 0.5);
+
75 effectivnessDataBase.Add(new Tuple<Type, Type>(grass, fire), 0.5);
+
76 effectivnessDataBase.Add(new Tuple<Type, Type>(fire, ice), 2.0);
+
77 effectivnessDataBase.Add(new Tuple<Type, Type>(fighting, ice), 2.0);
+
78 effectivnessDataBase.Add(new Tuple<Type, Type>(rock, ice), 2.0);
+
79 effectivnessDataBase.Add(new Tuple<Type, Type>(ice, ice), 0.5);
+
80 effectivnessDataBase.Add(new Tuple<Type, Type>(psychic, fighting), 2.0);
+
81 effectivnessDataBase.Add(new Tuple<Type, Type>(flying, fighting), 2.0);
+
82 effectivnessDataBase.Add(new Tuple<Type, Type>(bug, fighting), 2.0);
+
83 effectivnessDataBase.Add(new Tuple<Type, Type>(rock, fighting), 2.0);
+
84 effectivnessDataBase.Add(new Tuple<Type, Type>(fighting, normal), 2.0);
+
85 effectivnessDataBase.Add(new Tuple<Type, Type>(ghost, normal), 0.0);
+
86 effectivnessDataBase.Add(new Tuple<Type, Type>(bug, grass), 2.0);
+
87 effectivnessDataBase.Add(new Tuple<Type, Type>(fire, grass), 2.0);
+
88 effectivnessDataBase.Add(new Tuple<Type, Type>(ice, grass), 2.0);
+
89 effectivnessDataBase.Add(new Tuple<Type, Type>(poison, grass), 2.0);
+
90 effectivnessDataBase.Add(new Tuple<Type, Type>(flying, grass), 2.0);
+
91 effectivnessDataBase.Add(new Tuple<Type, Type>(water, grass), 0.5);
+
92 effectivnessDataBase.Add(new Tuple<Type, Type>(electric, grass), 0.5);
+
93 effectivnessDataBase.Add(new Tuple<Type, Type>(grass, grass), 0.5);
+
94 effectivnessDataBase.Add(new Tuple<Type, Type>(ground, grass), 0.5);
+
95 effectivnessDataBase.Add(new Tuple<Type, Type>(bug, psychic), 2.0);
+
96 effectivnessDataBase.Add(new Tuple<Type, Type>(fighting, psychic), 2.0);
+
97 effectivnessDataBase.Add(new Tuple<Type, Type>(ghost, psychic), 2.0);
+
98 effectivnessDataBase.Add(new Tuple<Type, Type>(water, rock), 2.0);
+
99 effectivnessDataBase.Add(new Tuple<Type, Type>(fighting, rock), 2.0);
+
100 effectivnessDataBase.Add(new Tuple<Type, Type>(grass, rock), 2.0);
+
101 effectivnessDataBase.Add(new Tuple<Type, Type>(ground, rock), 2.0);
+
102 effectivnessDataBase.Add(new Tuple<Type, Type>(fire, rock), 0.5);
+
103 effectivnessDataBase.Add(new Tuple<Type, Type>(normal, rock), 0.5);
+
104 effectivnessDataBase.Add(new Tuple<Type, Type>(poison, rock), 0.5);
+
105 effectivnessDataBase.Add(new Tuple<Type, Type>(flying, rock), 0.5);
+
106 effectivnessDataBase.Add(new Tuple<Type, Type>(water, ground), 2.0);
+
107 effectivnessDataBase.Add(new Tuple<Type, Type>(ice, ground), 2.0);
+
108 effectivnessDataBase.Add(new Tuple<Type, Type>(grass, ground), 2.0);
+
109 effectivnessDataBase.Add(new Tuple<Type, Type>(rock, ground), 2.0);
+
110 effectivnessDataBase.Add(new Tuple<Type, Type>(poison, ground), 2.0);
+
111 effectivnessDataBase.Add(new Tuple<Type, Type>(electric, ground), 0.5);
+
112 effectivnessDataBase.Add(new Tuple<Type, Type>(bug, poison), 2.0);
+
113 effectivnessDataBase.Add(new Tuple<Type, Type>(psychic, poison), 2.0);
+
114 effectivnessDataBase.Add(new Tuple<Type, Type>(fighting, poison), 2.0);
+
115 effectivnessDataBase.Add(new Tuple<Type, Type>(grass, poison), 0.5);
+
116 effectivnessDataBase.Add(new Tuple<Type, Type>(poison, poison), 0.5);
+
117 effectivnessDataBase.Add(new Tuple<Type, Type>(electric, flying), 2.0);
+
118 effectivnessDataBase.Add(new Tuple<Type, Type>(ice, flying), 2.0);
+
119 effectivnessDataBase.Add(new Tuple<Type, Type>(rock, flying), 2.0);
+
120 effectivnessDataBase.Add(new Tuple<Type, Type>(bug, flying), 0.5);
+
121 effectivnessDataBase.Add(new Tuple<Type, Type>(fighting, flying), 0.5);
+
122 effectivnessDataBase.Add(new Tuple<Type, Type>(grass, flying), 0.5);
+
123 effectivnessDataBase.Add(new Tuple<Type, Type>(ground, flying), 0.5);
+
124
+
125 return effectivnessDataBase;
+
126 }
+
127 }
+
128
+
+ +
133 {
+
134 StrategyCritCheck = new StrategyRandomCrit();
+
135 }
+
+
136
+
+
146 public double GetEffectivness(Type type, List<Type> types)
+
147 {
+
148 foreach (Type type1 in types)
+
149 {
+
150 Tuple<Type, Type> tuple = new Tuple<Type, Type>(type, type1);
+
151 if (EffectivnessDataBase.ContainsKey(tuple))
+
152 {
+
153 double effectivness = EffectivnessDataBase[tuple];
+
154 return effectivness;
+
155 }
+
156 else
+
157 {
+
158 return 1.0;
+
159 }
+
160 }
+
161 return 1.0;
+
162 }
+
+
163
+
+
171 public double CriticalCheck()
+
172 {
+
173 return StrategyCritCheck.CriticalCheck();
+
174 }
+
+
+
184 public string SpecialCheck(Pokemon attackedPokemon, Attack attack)
+
185 {
+
186 if (attack is SpecialAttack specialAttack && attackedPokemon.CurrentState == null)
+
187 {
+
188 attackedPokemon.EditState(specialAttack.SpecialEffect);
+
189 specialAttack.SetCooldown();
+
190 if (specialAttack.SpecialEffect == State.Asleep)
+
191 {
+
192 attackedPokemon.SetAsleepTurns();
+
193 }
+
194 return $"{attackedPokemon.Name} fue afectado con {specialAttack.SpecialEffect}\n";
+
195 }
+
196 if (attack is SpecialAttack specialAttack2)
+
197 {
+
198 specialAttack2.SetCooldown();
+
199 }
+
200 return"";
+
201 }
+
+
202
+
+
213 public string CalculateDamage(Pokemon attackedPokemon, Attack attack, Player attackedPlayer)
+
214 {
+
215 Random random = new Random();
+
216 int randomInt = random.Next(1, 101);
+
217 double randomDouble = randomInt / 100.0;
+
218 if (randomDouble <= attack.Accuracy)
+
219 {
+
220 string effectivnessCheck = "";
+
221 string criticalCheck = "";
+
222 double power = attack.Power;
+
223 double effectivness = GetEffectivness(attack.Type, attackedPokemon.GetTypes());
+
224 if (effectivness == 0.0)
+
225 {
+
226 return $"El pokemon {attackedPokemon.Name} es inmune a ataques de tipo {attack.Type}, ya que es de tipo {attackedPokemon.GetTypes()[0]}\n";
+
227 }
+
228 if (attack.Power == 0)
+
229 {
+
230 return $"El {attackedPokemon.Name} de {attackedPlayer.Name} no recibió daño. {SpecialCheck(attackedPokemon, attack)}";
+
231 }
+
232 double critical = CriticalCheck();
+
233 string specialResult = SpecialCheck(attackedPokemon, attack);
+
234 double damage = (int)(power * effectivness * critical);
+
235 attackedPokemon.TakeDamage(damage);
+
236 if (critical == 1.20)
+
237 {
+
238 criticalCheck = "¡Golpe Crítico!\n";
+
239 }
+
240
+
241 if (effectivness == 2.0)
+
242 {
+
243 effectivnessCheck = "¡Es super efectivo!\n";
+
244 }
+
245
+
246 if (effectivness == 0.5)
+
247 {
+
248 effectivnessCheck = "No es muy efectivo...\n";
+
249
+
250 }
+
251
+
252 if (attackedPokemon.CurrentLife == 0)
+
253 {
+
254 if(attackedPlayer.SetActivePokemon())
+
255 return $"El {attackedPokemon.Name} de {attackedPlayer.Name} recibió {damage} puntos de daño\n" + effectivnessCheck + criticalCheck + specialResult +
+
256 $"PERECIÓ :'( \n\n{attackedPlayer.ActivePokemon.Name} es el nuevo Pokemon activo de {attackedPlayer.Name} \n";
+
257 return $"El {attackedPokemon.Name} de {attackedPlayer.Name} recibió {damage} puntos de daño\n" +
+
258 effectivnessCheck + criticalCheck + specialResult + "PERECIÓ :'( "+"\n";
+
259 }
+
260
+
261 return $"El {attackedPokemon.Name} de {attackedPlayer.Name} recibió {damage} puntos de daño.\n" + effectivnessCheck + criticalCheck + specialResult + "\n";
+
262 }
+
263 return "El ataque falló y no produjo daño\n";
+
264 }
+
+
265
+
+ +
271 {
+
272 this.StrategyCritCheck = strategy;
+
273 }
+
+
274}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Es una clase a la cual le delegamos la función de calcular el daño para aplicar SRP así game tiene un...
+
static double CriticalCheck()
Determina si un ataque resulta en un golpe crítico basado en una probabilidad aleatoria.
+
static void SpecialCheck(Pokemon attackedPokemon, Attack attack)
Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ...
+
string CalculateDamage(Pokemon attackedPokemon, Attack attack, Player attackedPlayer)
Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,...
+
string SpecialCheck(Pokemon attackedPokemon, Attack attack)
Aplica un efecto especial al Pokemon objetivo, siempre y cuando el ataque recibido sea especial y el ...
+
double CriticalCheck()
Determina si un ataque resulta en un golpe crítico basado en la estrategia que esté utilizando.
+
double GetEffectivness(Type type, List< Type > types)
Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon.
+
static double GetEffectivness(Type type, List< Type > types)
Obtiene la efectividad de un ataque de un tipo específico contra el o los tipos de un Pokemon.
+
void SetCritCheckStategy(IStrategyCritCheck strategy)
Asigna una estrategia para el cálculo de daño crítico.
+
DamageCalculator()
Contstructor de la clase DamageCalculator. Aplica el patrón Grasp Creator al asignar una estrategia p...
+
Esta clase representa un jugador.
Definition Player.cs:8
+
bool SetActivePokemon(Pokemon pokemon)
Cambia el pokemon activo si está vivo.
Definition Player.cs:66
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
void SetAsleepTurns()
Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido.
Definition Pokemon.cs:97
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon....
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+
double CriticalCheck()
Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su ...
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/src_2Library_2Facade_8cs_source.html b/docs/html/src_2Library_2Facade_8cs_source.html new file mode 100644 index 0000000..d38b72f --- /dev/null +++ b/docs/html/src_2Library_2Facade_8cs_source.html @@ -0,0 +1,695 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Facade.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Facade.cs
+
+
+
1
+ +
3
+
4namespace Library;
+
+
8public class Facade
+
9{
+
10
+
11 private static Facade? _instance;
+
12
+
16 private WaitingList WaitingList { get; set; }
+
17
+
21 private GameList GameList { get; }
+
22
+
26 //private PokemonCatalogue pokemonCatalogue { get; } = PokemonCatalogue.Instance;
+
27
+
28 private PokemonCatalogue Pokedex { get; } = PokemonCatalogue.Instance;
+
29
+
+
33 public static Facade Instance
+
34 {
+
35 get
+
36 {
+
37 if (_instance == null)
+
38 {
+
39 _instance = new Facade();
+
40 }
+
41
+
42 return _instance;
+
43 }
+
44 }
+
+
45
+
+
49 public void Reset()
+
50 {
+
51 _instance = null;
+
52 }
+
+
53
+
59 private Facade()
+
60 {
+
61 this.WaitingList = new WaitingList();
+
62 this.GameList = new GameList();
+
63 }
+
64
+
+
72 public string ChooseTeam(string playerName, string pokemonName)
+
73 {
+
74 Player player = GameList.FindPlayerByName(playerName);
+
75
+
76 if (player == null)
+
77 return $"{playerName}, para poder elegir un equipo, primero debes estar en una batalla";
+
78
+
79 if (player.TeamCount < 6)
+
80 {
+
81 if (player.FindPokemonByName(pokemonName))
+
82 return $"El pokemon {pokemonName} ya está en el equipo de {playerName}, no puedes volver a añadirlo";
+
83 foreach (Pokemon pokemon in Pokedex.PokemonList)
+
84 {
+
85 if (pokemon.Name == pokemonName)
+
86 {
+
87 Pokemon newPokemon = pokemon.Instance();
+
88 player.AddToTeam(newPokemon);
+
89 if (player.TeamCount == 6)
+
90 return $"El pokemon {pokemonName} fue añadido al equipo de {playerName}\nTu equipo está completo.";
+
91 return $"El pokemon {pokemonName} fue añadido al equipo de {playerName}.\nElegiste {player.TeamCount}/6";
+
92 }
+
93 }
+
94 return $"{playerName}, el pokemon {pokemonName} no fue encontrado";
+
95 }
+
96 return $"{playerName}, ya tienes 6 pokemones en el equipo, no puedes elegir más";
+
97 }
+
+
98
+
99
+
+
107 public string ShowAtacks(string playerName)
+
108 {
+
109 Player player = GameList.FindPlayerByName(playerName);
+
110 if (player == null)
+
111 return $"{playerName}, no estás en ninguna partida.";
+
112 if (player.TeamCount == 0)
+
113 return $"{playerName}, no tienes ningun Pokemon.";
+
114
+
115 return $"{playerName}, estos son los ataques de tu Pokemon activo:\n" + player.GetPokemonAttacks();
+
116 }
+
+
117
+
+
126 public string ShowPokemonsHp(string playerName, string? playerToCheckName = null)
+
127 {
+
128 Player player = GameList.FindPlayerByName(playerName);
+
129 if (player == null)
+
130 return $"El jugador {playerName} no está en ninguna partida.";
+
131 if (playerToCheckName == null)
+
132 {
+
133 string result = $"{playerName} esta es la vida de tus Pokemons: \n";
+
134
+
135 foreach (Pokemon pokemon in player.GetPokemonTeam())
+
136 {
+
137 string types = "";
+
138 foreach (Type type in pokemon.GetTypes())
+
139 types += $"{type}";
+
140
+
141 if (pokemon == player.ActivePokemon)
+
142 {
+
143 if (pokemon.CurrentState != null)
+
144 result += $"**{pokemon.Name}: {pokemon.GetLife()} ({types})**" + $" **({pokemon.CurrentState})**\n";
+
145 else
+
146 result += $"**{pokemon.Name}: {pokemon.GetLife()} ({types})**\n";
+
147 }
+
148 else if (pokemon.CurrentLife == 0)
+
149 {
+
150 result += $"~~{pokemon.Name}: {pokemon.GetLife()} ({types})~~\n";
+
151 }
+
152 else
+
153 if (pokemon.CurrentState != null)
+
154 result += $"{pokemon.Name}: {pokemon.GetLife()} ({types})" + $" **({pokemon.CurrentState})**\n";
+
155 else
+
156 result += $"{pokemon.Name}: {pokemon.GetLife()} ({types})\n";
+
157 }
+
158 return result;
+
159 }
+
160 else
+
161 {
+
162 Player playerToCheck = GameList.FindPlayerByName(playerToCheckName);
+
163 string result = $"Esta es la vida de los Pokemons de {playerToCheckName}: \n";
+
164 Game game = GameList.FindGameByPlayer(player);
+
165 if (game != null && game.CheckPlayerInGame(player) && game.CheckPlayerInGame(playerToCheck) &&
+
166 playerToCheck != null)
+
167 {
+
168 if (playerToCheck.TeamCount < 6)
+
169 return $"{playerToCheckName} aún no tiene su equipo completo.";
+
170 foreach (Pokemon pokemon in playerToCheck.GetPokemonTeam())
+
171 {
+
172 string types = "";
+
173 foreach (Type type in pokemon.GetTypes())
+
174 types += $"{type}";
+
175 if (pokemon == playerToCheck.ActivePokemon)
+
176 {
+
177 if (pokemon.CurrentState != null)
+
178 result += $"**{pokemon.Name}: {pokemon.GetLife()} ({types})**" + $" **({pokemon.CurrentState})**\n";
+
179 else
+
180 result += $"**{pokemon.Name}: {pokemon.GetLife()} ({types})**\n";
+
181 }
+
182 else if (pokemon.CurrentLife == 0)
+
183 result += $"~~{pokemon.Name}: {pokemon.GetLife()} ({types})~~\n";
+
184 else
+
185 if (pokemon.CurrentState != null)
+
186 result += $"{pokemon.Name}: {pokemon.GetLife()} ({types})" + $" **({pokemon.CurrentState})**\n";
+
187 else
+
188 result += $"{pokemon.Name}: {pokemon.GetLife()} ({types})\n";
+
189 }
+
190 return result;
+
191 }
+
192
+
193 return $"El jugador {playerToCheckName} no está en tu partida.";
+
194 }
+
195 }
+
+
196
+
+
206 public string ChooseAttack(string playerName, string attackName)
+
207 {
+
208 Player player = GameList.FindPlayerByName(playerName);
+
209 if (player == null)
+
210 {
+
211 return $"{playerName}, para poder atacar necesitas estar en una batalla.";
+
212 }
+
213
+
214 Game playerGame = GameList.FindGameByPlayer(player);
+
215
+
216 if (!playerGame.BothPlayersHaveChosenTeam())
+
217 {
+
218 return $"{playerName}, alguno de los jugadores no ha completado el equipo";
+
219 }
+
220
+
221
+
222 Attack attack = player.FindAttack(attackName);
+
223 if (attack == null)
+
224 {
+
225 return $"El ataque {attackName} no pudo ser encontrado";
+
226 }
+
227
+
228 foreach (Game game in GameList.GetGameList())
+
229 {
+
230 if (game.CheckPlayerInGame(player))
+
231 {
+
232 if (game.GetPlayers()[game.ActivePlayer].Name == player.Name)
+
233 {
+
234 string result = "";
+
235 result += game.ExecuteAttack(attack);
+
236 if (result.Contains("no se puede usar hasta que pasen", StringComparison.Ordinal))
+
237 {return result;}
+
238 result += game.NextTurn();
+
239 result += CheckGameStatus(game);
+
240 return result;
+
241 }
+
242 return $"{playerName}, no eres el jugador activo";
+
243 }
+
244 }
+
245
+
246 return "Error inesperado";
+
247 }
+
+
248
+
+
255 public string CheckTurn(string playerName)
+
256 {
+
257 Player player = GameList.FindPlayerByName(playerName);
+
258 if (player == null)
+
259 {
+
260 return $"El jugador {playerName} no está en ninguna partida.";
+
261 }
+
262
+
263 Game game = GameList.FindGameByPlayer(player);
+
264 if (game != null)
+
265 {
+
266 if (game.CheckPlayerInGame(player))
+
267 {
+
268 int activePlayerIndex = game.ActivePlayer;
+
269 Player activePlayer = game.GetPlayers()[activePlayerIndex];
+
270 if (activePlayer.Name == playerName)
+
271 return $"{playerName}, es tu turno";
+
272 return $"{playerName}, no es tu turno";
+
273 }
+
274 }
+
275 return "No se encontró la partida.";
+
276 }
+
+
277
+
+
285 public string CheckGameStatus(Game game)
+
286 {
+
287 if (game != null)
+
288 {
+
289 if (game.GameStatus())
+
290 {
+
291 return $"Próximo turno, ahora es el turno de {game.GetPlayers()[game.ActivePlayer].Name}";
+
292 }
+
293 GameList.RemoveGame(game);
+
294 return game.Winner();
+
295 }
+
296 return "La partida no pudo ser encontrada";
+
297 }
+
+
298
+
299
+
+
309 public string ChangePokemon(string playerName, string pokemonName)
+
310 {
+
311 Player player = GameList.FindPlayerByName(playerName);
+
312 if (player == null)
+
313 {
+
314 return $"El jugador {playerName} no está en ninguna partida.";
+
315 }
+
316
+
317 Game game = GameList.FindGameByPlayer(player);
+
318 if (game.GetPlayers()[game.ActivePlayer].Name == playerName)
+
319 {
+
320 if (!game.BothPlayersHaveChosenTeam())
+
321 {
+
322 return "Alguno de los jugadores no ha seleccionado 6 Pokemons para iniciar el combate";
+
323 }
+
324
+
325 Pokemon choosenPokemon = player.FindPokemon(pokemonName);
+
326 string result = game.ChangePokemon(choosenPokemon);
+
327 if (result == "Ese Pokemon no está en tu equipo.\n")
+
328 {
+
329 return result;
+
330 }
+
331
+
332 if (result == "Ese ya es tu Pokemon activo\n")
+
333 return result;
+
334
+
335 string nextTurn = game.NextTurn();
+
336 string gameStatus = CheckGameStatus(game);
+
337 return result + "\n" + nextTurn + "\n" + gameStatus;
+
338 }
+
339
+
340 return $"{playerName}, no eres el jugador activo, no puedes realizar acciones";
+
341 }
+
+
342
+
+
351 public string UseAnItem(string playerName, string item, string pokemon)
+
352 {
+
353 Player player = GameList.FindPlayerByName(playerName);
+
354
+
355 if (player == null)
+
356 {
+
357 return $"El jugador {playerName} no está en ninguna partida.";
+
358 }
+
359
+
360 Game game = GameList.FindGameByPlayer(player);
+
361
+
362 if (game == null)
+
363 {
+
364 return "Partida inexistente.";
+
365 }
+
366
+
367 if (game.GetPlayers()[game.ActivePlayer].Name == playerName)
+
368 {
+
369 if (!game.BothPlayersHaveChosenTeam())
+
370 {
+
371 return "Ambos jugadores no han seleccionado 6 pokemones para iniciar el combate";
+
372 }
+
373
+
374 string result = game.UseItem(player.FindItem(item), player.FindPokemon(pokemon));
+
375 if (result.Contains("éxito"))
+
376 {
+
377 string nextTurn = game.NextTurn();
+
378 string gameStatus = CheckGameStatus(game);
+
379 return result + "\n" + nextTurn + "\n" + gameStatus;
+
380 }
+
381 return result;
+
382 }
+
383
+
384 return $"{player.Name}, no eres el jugador activo, no puedes realizar acciones";
+
385 }
+
+
386
+
387
+
+
394 public string AddPlayerToWaitingList(string playerName)
+
395 {
+
396 Player player = GameList.FindPlayerByName(playerName);
+
397 if (GameList.FindGameByPlayer(player) != null)
+
398 {
+
399 return $"{playerName} ya está en una partida";
+
400 }
+
401 if (WaitingList.AddPlayer(playerName))
+
402 {
+
403 return $"{playerName} agregado a la lista de espera";
+
404 }
+
405 return $"{playerName} ya está en la lista de espera";
+
406 }
+
+
407
+
+
414 public string RemovePlayerFromWaitingList(string playerName)
+
415 {
+
416 if (WaitingList.RemovePlayer(playerName))
+
417 return $"{playerName} removido de la lista de espera";
+
418 return $"{playerName} no está en la lista de espera";
+
419 }
+
+
420
+
+
426 public string GetAllPlayersWaiting()
+
427 {
+
428 if (WaitingList.Count == 0)
+
429 {
+
430 return "No hay nadie esperando";
+
431 }
+
432
+
433 string result = "Esperan: ";
+
434 foreach (Player player in WaitingList.GetWaitingList())
+
435 {
+
436 result = result + player.Name + "; ";
+
437 }
+
438
+
439 return result;
+
440 }
+
+
441
+
451 private string CreateGame(string playerName, string opponentName, IStrategyStartingPlayer strategyStartingPlayer)
+
452 {
+
453 Player player = WaitingList.FindPlayerByName(playerName);
+
454 Player opponent = WaitingList.FindPlayerByName(opponentName);
+
455 WaitingList.RemovePlayer(playerName);
+
456 WaitingList.RemovePlayer(opponentName);
+
457 GameList.AddGame(player, opponent, strategyStartingPlayer);
+
458 Game game = GameList.FindGameByPlayer(player);
+
459 string activePlayerName = game.GetPlayers()[game.ActivePlayer].Name;
+
460 return $"¡Comienza {playerName} Vs. {opponentName}!\nComienza atacando {activePlayerName}\n";
+
461 }
+
+
471 public string StartGame(string playerName, string opponentName, IStrategyStartingPlayer strategyStartingPlayer)
+
472 {
+
473 Player opponent;
+
474 Player player = GameList.FindPlayerByName(playerName);
+
475 if (GameList.FindGameByPlayer(player) != null)
+
476 {
+
477 return $"{playerName} ya está en una partida";
+
478 }
+
479
+
480 if (WaitingList.FindPlayerByName(playerName) == null)
+
481 return $"{playerName}, no estás en la lista de espera";
+
482
+
483 if (!OpponentProvided())
+
484 {
+
485 opponent = WaitingList.GetSomeone(playerName);
+
486 if(opponent == null)
+
487 return "No hay nadie más en la lista de espera";
+
488 return CreateGame(playerName, opponent!.Name, strategyStartingPlayer);
+
489 }
+
490
+
491 opponent = WaitingList.FindPlayerByName(opponentName!);
+
492 if (!OpponentFound())
+
493 {
+
494 return $"{opponentName} no está esperando";
+
495 }
+
496
+
497 return CreateGame(playerName, opponent!.Name, strategyStartingPlayer);
+
498
+
499 bool OpponentProvided()
+
500 {
+
501 return !string.IsNullOrEmpty(opponentName);
+
502 }
+
503
+
504 bool OpponentFound()
+
505 {
+
506 return opponent != null;
+
507 }
+
508 }
+
+
509
+
+
514 public string ShowCatalogue()
+
515 {
+
516 return "**Catalogo de Pokemons:**\n" + Pokedex.ShowCatalogue();
+
517 }
+
+
518
+
+
524 public string Surrender(string playerName)
+
525 {
+
526 Player? surrenderPlayer = GameList.FindPlayerByName(playerName);
+
527 if (surrenderPlayer == null)
+
528 {
+
529 return $"{playerName}, Para rendirte primero debes estar en una batalla";
+
530 }
+
531 Game? game = GameList.FindGameByPlayer(surrenderPlayer);
+
532 int notActivePlayer = (game.ActivePlayer+1)%2;
+
533 GameList.RemoveGame(game);
+
534 if (game.GetPlayers()[game.ActivePlayer].Name == playerName)
+
535 {
+
536 return $"El jugador {game.GetPlayers()[game.ActivePlayer].Name} se ha rendido.\nGanador: {game.GetPlayers()[notActivePlayer].Name} \nPerdedor: {game.GetPlayers()[game.ActivePlayer].Name}";
+
537 }
+
538 return $"El jugador {game.GetPlayers()[notActivePlayer].Name} se ha rendido.\nGanador: {game.GetPlayers()[game.ActivePlayer].Name} \nPerdedor: {game.GetPlayers()[notActivePlayer].Name}";
+
539 }
+
+
540
+
+
546 public string ShowItems(string playerName)
+
547 {
+
548 Player? player = GameList.FindPlayerByName(playerName);
+
549 if (GameList.FindGameByPlayer(player) == null)
+
550 return $"{playerName}, no estás en una partida.";
+
551 string result = $"{playerName}, estos son tus items disponibles:\n";
+
552 List<string> repeatedItems = new List<string>();
+
553 foreach (IItem item in player.GetItemList())
+
554 if (!repeatedItems.Contains(item.Name))
+
555 if (player.ItemCount(item.Name) != 0)
+
556 {
+
557 result += player.ItemCount(item.Name) + " " + item.Name + "\n";
+
558 repeatedItems.Add(item.Name);
+
559 }
+
560 return result;
+
561 }
+
+
562
+
+
568 public string ChooseRandom(string playerName)
+
569 {
+
570 Player player = GameList.FindPlayerByName(playerName);
+
571 if (player == null)
+
572 return $"{playerName}, no estás en una partida.";
+
573 if (player.TeamCount >= 6)
+
574 return $"{playerName}, ya tienes un equipo completo de Pokémon.";
+
575 List<int> availablePokemonIndexes = Enumerable.Range(0, Pokedex.PokemonCount).ToList();
+
576 Random random = new Random();
+
577 string result = $"{playerName}, estos son los Pokemons elegidos aleatoriamente:\n";
+
578 while (player.TeamCount < 6)
+
579 {
+
580 int randomIndex = random.Next(availablePokemonIndexes.Count);
+
581 Pokemon chosenPokemon = Pokedex.PokemonList[availablePokemonIndexes[randomIndex]];
+
582
+
583 if (!player.FindPokemonByName(chosenPokemon.Name))
+
584 {
+
585 player.AddToTeam(chosenPokemon.Instance());
+
586 result += $"{chosenPokemon.Name}\n";
+
587 availablePokemonIndexes.RemoveAt(randomIndex);
+
588 }
+
589 }
+
590 return result;
+
591 }
+
+
+
598 public string EditDamageCalculatorStrategy(string playerName, IStrategyCritCheck strategyCritCheck)
+
599 {
+
600 Player? player = GameList.FindPlayerByName(playerName);
+
601 if (player == null)
+
602 {
+
603 return $"{playerName}, no estás en una partida.";
+
604 }
+
605 Game game = GameList.FindGameByPlayer(player);
+
606 game.SetDamageCalculatorStrategy(strategyCritCheck);
+
607 GameList.RemoveGame(game);
+
608 GameList.GetGameList().Add(game);
+
609 return "Estrategia de daño crítico ha sido modificada";
+
610 }
+
+
611}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
string ChangePokemon(string playerName, string pokemonName)
Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ...
Definition Facade.cs:309
+
string ShowPokemonsHp(string playerName, string? playerToCheckName=null)
Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador.
Definition Facade.cs:126
+
string ChooseTeam(string playerName, string pokemonName)
Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo.
Definition Facade.cs:72
+
string ChooseAttack(string playerName, string attackName)
Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti...
Definition Facade.cs:206
+
static string CheckGameStatus(Game game)
Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador.
Definition Facade.cs:209
+
string AddPlayerToWaitingList(string playerName)
Historia de usuario 9: Agrega un jugador a la lista de espera.
Definition Facade.cs:394
+
string RemovePlayerFromWaitingList(string playerName)
Historia de usuario 9.1: Remueve un jugador de la lista de espera.
Definition Facade.cs:414
+
string StartGame(string playerName, string opponentName, IStrategyStartingPlayer strategyStartingPlayer)
Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ...
Definition Facade.cs:471
+
string GetAllPlayersWaiting()
Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.
Definition Facade.cs:426
+
string Surrender(string playerName)
Elimina la partida de la lista de partidas em curso.
Definition Facade.cs:524
+
string ChooseRandom(string playerName)
Completa aleatoriamente el equipo de Pokemons.
Definition Facade.cs:568
+
void Reset()
Restablece la instancia a null, permitiendo crear una nueva. Solo se utiliza en los tests.
Definition Facade.cs:49
+
string ShowAtacks(string playerName)
Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador.
Definition Facade.cs:107
+
string CheckTurn(string playerName)
Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles.
Definition Facade.cs:255
+
string EditDamageCalculatorStrategy(string playerName, IStrategyCritCheck strategyCritCheck)
Este método se encarga de cambiar la estrategia asignada en la calculadora de daño....
Definition Facade.cs:598
+
string ShowCatalogue()
Muestra el catálogo de Pokemon disponibles.
Definition Facade.cs:514
+
string UseAnItem(string playerName, string item, string pokemon)
Historia de usuario 8 Permite a un jugador usar un item en un Pokemon.
Definition Facade.cs:351
+
string ShowItems(string playerName)
Muestra los items del jugador.
Definition Facade.cs:546
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+
string CheckGameStatus(Game game)
Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador.
Definition Facade.cs:285
+
Esta clase representa la lista de partidas en curso.
Definition GameList.cs:8
+
Player? FindPlayerByName(string playerName)
Devuelve un jugador buscandolo por su nombre.
Definition GameList.cs:45
+
bool RemoveGame(Game game)
Elimina una partida de la lista de partidas.
Definition GameList.cs:31
+
List< Game > GetGameList()
Devuelve la lista de partidas.
Definition GameList.cs:72
+
Game AddGame(Player player1, Player player2)
Agrega una partida a la lista de partidas.
Definition GameList.cs:18
+
Game? FindGameByPlayer(Player player)
Devuelve la partida en la que se encuentra un jugador.
Definition GameList.cs:61
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
bool GameStatus()
Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores.
Definition Game.cs:59
+
List< Player > GetPlayers()
Obtiene la lista de jugadores de la partida.
Definition Game.cs:39
+
void NextTurn()
Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu...
Definition Game.cs:121
+
string UseItem(IItem item, Pokemon pokemon)
Permite que un jugador use un item en un Pokemon específico de su equipo, verificando la validez del ...
Definition Game.cs:175
+
bool BothPlayersHaveChosenTeam()
Revisa si ambos jugadores completaron sus equipos.
Definition Game.cs:322
+
string ExecuteAttack(Attack attack)
Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d...
Definition Game.cs:140
+
bool CheckPlayerInGame(Player checkPlayer)
Busca si hay un jugador con el mismo nombre que el del parámetro en una partida.
Definition Game.cs:224
+
void SetDamageCalculatorStrategy(IStrategyCritCheck strategyCritCheck)
Permite cambiar la estrategia que contiene la calculadora de daño, solo se usa en los tests.
Definition Game.cs:332
+
string ChangePokemon(Pokemon pokemon)
Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido...
Definition Game.cs:199
+
string Winner()
Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ...
Definition Game.cs:83
+
int ActivePlayer
Obtiene el valor del índice del jugador activo de la partida.
Definition Game.cs:16
+
Esta clase representa un jugador.
Definition Player.cs:8
+
IItem FindItem(string strItem)
Devuelve un item de la lista de items buscandolo por su nombre.
Definition Player.cs:108
+
List< IItem > GetItemList()
Devuelve la lista de items del jugador.
Definition Player.cs:154
+
bool FindPokemonByName(string pokemonName)
Busca un Pokemon en el equipo de Pokemons de un jugador.
Definition Player.cs:212
+
List< Pokemon > GetPokemonTeam()
Devuelve la lista de pokemons del jugador.
Definition Player.cs:145
+
string GetPokemonAttacks()
Devuelve un string con los nombres de todos los ataques del pokemon activo.
Definition Player.cs:163
+
int TeamCount
Cantidad de Pokemons en el equipo del jugador.
Definition Player.cs:33
+
Pokemon ActivePokemon
Pokemon activo del jugador.
Definition Player.cs:26
+
void AddToTeam(Pokemon pokemon)
Agrega un pokemon a la lista de pokemons del jugador.
Definition Player.cs:51
+
int ItemCount(string itemName)
Se encarga de determinar la cantidad de instancias de un item que tiene el jugador en su lista de ite...
Definition Player.cs:227
+
string Name
Nombre del jugador.
Definition Player.cs:11
+
Attack FindAttack(string strAttack)
Devuelve un ataque de la lista de ataques del pokemon activo.
Definition Player.cs:129
+
Pokemon FindPokemon(string strPokemon)
Devuelve un pokemon de la lista del jugador buscandolo por el nombre.
Definition Player.cs:88
+
Esta clase representa el catálogo de Pokemons.
+
int PokemonCount
Cantidad de Pokemons en el catálogo.
+
static string ShowCatalogue()
Devuelve el nombre de todos los Pokemons en el catálogo.
+
static PokemonCatalogue Instance
Crea una instancia del catálogo si no existe una.
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Esta clase representa la lista de espera.
Definition WaitingList.cs:6
+
Player? GetSomeone(string playerName)
Devuelve un jugador al azar de la lista de espera.
+
bool AddPlayer(string playerName)
Agrega un jugador a la lista de espera.
+
List< Player > GetWaitingList()
Devuelve la lista de jugadores en espera.
+
Player? FindPlayerByName(string playerName)
Devuelve un jugador de la lista de espera buscandolo por su nombre.
+
int Count
Devuelve el número de jugadores en espera.
+
bool RemovePlayer(string playerName)
Elimina un jugador de la lista de espera.
+
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
+
string Name
Nombre del item.
Definition IItem.cs:11
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
+
+ + + + diff --git a/docs/html/src_2Library_2FullHealth_8cs_source.html b/docs/html/src_2Library_2FullHealth_8cs_source.html new file mode 100644 index 0000000..496f58f --- /dev/null +++ b/docs/html/src_2Library_2FullHealth_8cs_source.html @@ -0,0 +1,153 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/FullHealth.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
FullHealth.cs
+
+
+
1namespace Library;
+
2
+
+
7public class FullHealth : IItem
+
8{
+
12 public string Name { get; }
+
13
+
+
19 public string? Use(Pokemon? pokemon)
+
20 {
+
21 if (pokemon != null)
+
22 {
+
23 if (pokemon.CurrentState == null)
+
24 {
+
25 return $"{pokemon.Name} no tiene ningún estado negativo";
+
26 }
+
27 pokemon.EditState(null);
+
28 return $"{pokemon.Name} ya no tiene ningún estado negativo.\n¡{this.Name} utilizada con éxito!";
+
29 }
+
30 return null;
+
31 }
+
+
32
+
+
36 public FullHealth()
+
37 {
+
38 this.Name = "Full Health";
+
39 }
+
+
40
+
41}
+
+
Esta clase representa el item FullHealth. Al ser un item implementa la interfaz IItem.
Definition FullHealth.cs:8
+
string Name
Nombre de la curación.
Definition FullHealth.cs:12
+
FullHealth()
Contructor de FullHealth
Definition FullHealth.cs:36
+
string? Use(Pokemon? pokemon)
Le quita cualquier estado negativo al Pokemon.
Definition FullHealth.cs:19
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
+ +
+
+ + + + diff --git a/docs/html/src_2Library_2GameList_8cs_source.html b/docs/html/src_2Library_2GameList_8cs_source.html new file mode 100644 index 0000000..7520a92 --- /dev/null +++ b/docs/html/src_2Library_2GameList_8cs_source.html @@ -0,0 +1,179 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/GameList.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
GameList.cs
+
+
+
+
2
+
3namespace Library;
+
+
7public class GameList
+
8{
+
12 private List<Game> Games { get; } = new List<Game>();
+
13
+
+
21 public Game AddGame(Player player1, Player player2, IStrategyStartingPlayer strategyStartingPlayer)
+
22 {
+
23 Game game = new Game(player1, player2, strategyStartingPlayer);
+
24 this.Games.Add(game);
+
25 return game;
+
26 }
+
+
+
34 public bool RemoveGame(Game game)
+
35 {
+
36 if (this.Games.Remove(game))
+
37 return true;
+
38 return false;
+
39 }
+
+
40
+
+
48 public Player? FindPlayerByName(string playerName)
+
49 {
+
50 foreach (Game game in this.Games)
+
51 foreach (Player player in game.GetPlayers())
+
52 if (player.Name == playerName)
+
53 return player;
+
54 return null;
+
55 }
+
+
56
+
+ +
65 {
+
66 foreach (Game game in this.Games)
+
67 if (game.GetPlayers().Contains(player))
+
68 return game;
+
69 return null;
+
70 }
+
+
71
+
+
75 public List<Game> GetGameList()
+
76 {
+
77 return this.Games;
+
78 }
+
+
79}
+
+
Esta clase representa la lista de partidas en curso.
Definition GameList.cs:8
+
Player? FindPlayerByName(string playerName)
Devuelve un jugador buscandolo por su nombre.
Definition GameList.cs:48
+
bool RemoveGame(Game game)
Elimina una partida de la lista de partidas.
Definition GameList.cs:34
+
Game AddGame(Player player1, Player player2, IStrategyStartingPlayer strategyStartingPlayer)
Agrega una partida a la lista de partidas.
Definition GameList.cs:21
+
List< Game > GetGameList()
Devuelve la lista de partidas.
Definition GameList.cs:75
+
Game? FindGameByPlayer(Player player)
Devuelve la partida en la que se encuentra un jugador.
Definition GameList.cs:64
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
List< Player > GetPlayers()
Obtiene la lista de jugadores de la partida.
Definition Game.cs:39
+
Esta clase representa un jugador.
Definition Player.cs:8
+
string Name
Nombre del jugador.
Definition Player.cs:11
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+ + +
+
+ + + + diff --git a/docs/html/src_2Library_2Game_8cs_source.html b/docs/html/src_2Library_2Game_8cs_source.html new file mode 100644 index 0000000..f5e8cdb --- /dev/null +++ b/docs/html/src_2Library_2Game_8cs_source.html @@ -0,0 +1,429 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Game.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Game.cs
+
+
+
+
2
+
3namespace Library;
+
4
+
+
8public class Game
+
9{
+
13 private List<Player> Players { get; set; } = new List<Player> ();
+
14
+
18 public int ActivePlayer { get; private set; }
+
19
+
23 public int TurnCount { get; private set; }
+
24
+ +
29
+
33 private DamageCalculator GameDamageCalculator { get; } = new DamageCalculator();
+
34
+
+
41 public Game(Player player1, Player player2, IStrategyStartingPlayer strategyStartingPlayer)
+
42 {
+
43 this.Players.Add(player1);
+
44 this.Players.Add(player2);
+
45 this.TurnCount = 0;
+
46 this.StrategyStartingPlayer = strategyStartingPlayer;
+
47 this.ActivePlayer = StartingPlayer();
+
48 }
+
+
49
+
+
53 public List<Player> GetPlayers()
+
54 {
+
55 return Players;
+
56 }
+
+
57
+
+
62 public int StartingPlayer()
+
63 {
+ +
65 }
+
+
66
+
+
72 public bool GameStatus()
+
73 {
+
74 foreach (var player in Players)
+
75 {
+
76 bool ongoing = false;
+
77 foreach (var pokemon in player.GetPokemonTeam())
+
78 {
+
79 if (pokemon.CurrentLife > 0)
+
80 {
+
81 ongoing = true;
+
82 }
+
83 }
+
84 if (!ongoing)
+
85 {
+
86 return false;
+
87 }
+
88 }
+
89 return true;
+
90 }
+
+
91
+
+
96 public string Winner()
+
97 {
+
98 int winner = 0;
+
99 foreach (var pokemon in Players[1].GetPokemonTeam())
+
100 {
+
101 if (pokemon.CurrentLife > 0)
+
102 {
+
103 winner = 1;
+
104 }
+
105 }
+
106
+
107 int loser = (winner + 1) % 2;
+
108 return $"\nGanador: {Players[winner].Name}. Perdedor: {Players[loser].Name}";
+
109
+
110 }
+
+
+
114 public void CooldownCheck()
+
115 {
+
116 foreach (var player in Players)
+
117 {
+
118 foreach (var pokemon in player.GetPokemonTeam())
+
119 {
+
120 foreach (var attack in pokemon.GetAttacks())
+
121 {
+
122 if (attack is SpecialAttack specialAttack)
+
123 {
+
124 specialAttack.LowerCooldown();
+
125 }
+
126 }
+
127 }
+
128 }
+
129 }
+
+
130
+
+
135 public string SpecialEffectExecute()
+
136 {
+
137 string result = "";
+
138 foreach (Player player in this.Players)
+
139 {
+
140 foreach (Pokemon pokemon in player.GetPokemonTeam())
+
141 {
+
142 if (pokemon.CurrentState == State.Burned)
+
143 {
+
144 double lifeBeforeBurnedEffect = pokemon.CurrentLife;
+
145 StateLogic.BurnedEffect(pokemon);
+
146 if (pokemon.CurrentLife == 0)
+
147 {
+
148 player.ActivePokemon.EditState(null);
+
149 if (player.SetActivePokemon())
+
150 {
+
151 return $"El {pokemon.Name} de {player.Name} perdió {(int)(lifeBeforeBurnedEffect-pokemon.CurrentLife)}HP por estar {State.Burned}.\n" + $"PERECIÓ :'( \n\n{player.ActivePokemon.Name} es el nuevo Pokemon activo de {player.Name}\n";
+
152 }
+
153
+
154 return $"El {pokemon.Name} de {player.Name} perdió {(int)(lifeBeforeBurnedEffect - pokemon.CurrentLife)}HP por estar {State.Burned}.\n" + "PERECIÓ :'( \n";
+
155 }
+
156
+
157 return $"El {pokemon.Name} de {player.Name} perdió {(int)(lifeBeforeBurnedEffect - pokemon.CurrentLife)}HP por estar {State.Burned}.\n";
+
158 }
+
159
+
160 if (pokemon.CurrentState == State.Poisoned)
+
161 {
+
162 double lifeBeforePoisonedEffect = pokemon.CurrentLife;
+
163 StateLogic.PoisonedEffect(pokemon);
+
164 if (pokemon.CurrentLife == 0)
+
165 {
+
166 Players[ActivePlayer].ActivePokemon.EditState(null);
+
167 if (Players[ActivePlayer].SetActivePokemon())
+
168 {
+
169 return $"El {pokemon.Name} de {player.Name} perdió {(int)(lifeBeforePoisonedEffect-pokemon.CurrentLife)}HP por estar {State.Poisoned}.\n" + $"PERECIÓ :'( \n\n {player.ActivePokemon.Name} es el nuevo Pokemon activo de {player.Name}\n";
+
170 }
+
171 return $"El {pokemon.Name} de {player.Name} perdió {(int)(lifeBeforePoisonedEffect - pokemon.CurrentLife)}HP por estar {State.Poisoned}.\n" + "PERECIÓ :'( \n";
+
172 }
+
173
+
174 return $"El {pokemon.Name} de {player.Name} perdió {(int)(lifeBeforePoisonedEffect - pokemon.CurrentLife)}HP por estar {State.Poisoned}.\n";
+
175 }
+
176 }
+
177 }
+
178 return result;
+
179 }
+
+
180
+
+
184 public string NextTurn()
+
185 {
+
186 string result = "";
+
187 if (GameStatus())
+
188 {
+ +
190 result += SpecialEffectExecute();
+
191 if (!GameStatus())
+
192 {
+
193 return result;
+
194 }
+
195 this.ActivePlayer = (this.ActivePlayer + 1) % 2;
+
196 this.TurnCount++;
+
197 }
+
198
+
199 return result;
+
200 }
+
+
201
+
202
+
+
211 public string ExecuteAttack(Attack? attack)
+
212 {
+
213 if (attack != null)
+
214 {
+
215 bool asleep = StateLogic.AsleepEffect(Players[ActivePlayer].ActivePokemon);
+
216 bool paralized = StateLogic.ParalizedEffect(Players[ActivePlayer].ActivePokemon);
+
217 if (!asleep & !paralized)
+
218 {
+
219 if (attack is SpecialAttack specialAttack)
+
220 {
+
221 if (specialAttack.Cooldown > 0)
+
222 {
+
223 return $"{this.Players[ActivePlayer].Name}, el ataque {attack.Name} no se puede usar hasta que pasen {specialAttack.Cooldown} turnos más.\n";
+
224 }
+
225 }
+
226 Pokemon attackedPokemon = this.Players[(this.ActivePlayer + 1) % 2].ActivePokemon;
+
227 Player attackedPlayer = this.Players[(ActivePlayer+1)%2];
+
228 string result = GameDamageCalculator.CalculateDamage(attackedPokemon, attack, attackedPlayer);
+
229 return result;
+
230 }
+
231 else return $"El {this.Players[ActivePlayer].ActivePokemon.Name} de {this.Players[ActivePlayer].Name} está {this.Players[ActivePlayer].ActivePokemon.CurrentState} y no ataca este turno :(\n";
+
232 }
+
233 return "El ataque no pudo ser encontrado";
+
234 }
+
+
235
+
236
+
+
245 public string UseItem(IItem? item, Pokemon? pokemon)
+
246 {
+
247 Player player = this.Players[ActivePlayer];
+
248 if (item == null)
+
249 {
+
250 return $"{this.Players[this.ActivePlayer].Name}, ese item no está en tu inventario.\n Inténtalo con otro.\n";
+
251 }
+
252
+
253 if (pokemon == null)
+
254 {
+
255 return $" {this.Players[this.ActivePlayer].Name}, ese Pokemon no está en tu equipo.\n Inténtalo con otro.\n";
+
256 }
+
257
+
258 string message = item.Use(pokemon);
+
259 if (message.Contains("éxito", StringComparison.Ordinal))
+
260 {
+
261 player.GetItemList().Remove(item);
+
262 }
+
263 message = $"{player.Name}, tu {message}";
+
264
+
265 return message;
+
266 }
+
+
267
+
276
+
+
277 public string ChangePokemon(Pokemon? pokemon)
+
278 {
+
279 if (pokemon == null)
+
280 {
+
281 return "Ese Pokemon no está en tu equipo.\n";
+
282 }
+
283
+
284 if (pokemon.Name == Players[ActivePlayer].ActivePokemon.Name)
+
285 {
+
286 return "Ese ya es tu Pokemon activo\n";
+
287 }
+
288
+
289 if (this.Players[ActivePlayer].SetActivePokemon(pokemon))
+
290 {
+
291 return $"{pokemon.Name} es tu nuevo Pokemon activo.";
+
292 }
+
293
+
294 return $"{pokemon.Name} no tiene vida. Suerte bro, lo siento :/";
+
295 }
+
+
296
+
+
302 public bool CheckPlayerInGame(Player? checkPlayer)
+
303 {
+
304 if (checkPlayer != null)
+
305 {
+
306 foreach (Player player in Players)
+
307 {
+
308 if (player.Name == checkPlayer.Name)
+
309 {
+
310 return true;
+
311 }
+
312 }
+
313
+
314 }
+
315 return false;
+
316 }
+
+
317
+
+ +
323 {
+
324 return Players[ActivePlayer].GetPokemonTeam().Count == 6 &&
+
325 Players[(ActivePlayer + 1) % 2].GetPokemonTeam().Count == 6;
+
326 }
+
+
327
+
+
332 public void SetDamageCalculatorStrategy(IStrategyCritCheck strategyCritCheck)
+
333 {
+
334 GameDamageCalculator.SetCritCheckStategy(strategyCritCheck);
+
335 }
+
+
336}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Es una clase a la cual le delegamos la función de calcular el daño para aplicar SRP así game tiene un...
+
static double CalculateDamage(Pokemon attackedPokemon, Attack attack)
Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,...
+
void SetCritCheckStategy(IStrategyCritCheck strategy)
Asigna una estrategia para el cálculo de daño crítico.
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
bool GameStatus()
Verifica si el juego sigue en curso evaluando el nivel de vida de cada Pokemon para ambos jugadores.
Definition Game.cs:72
+
Game(Player player1, Player player2, IStrategyStartingPlayer strategyStartingPlayer)
Constructor de la clase. Agrega a los jugadores a la partida y según su estrategia determinará cuál d...
Definition Game.cs:41
+
List< Player > GetPlayers()
Obtiene la lista de jugadores de la partida.
Definition Game.cs:53
+
string SpecialEffectExecute()
Método que se encarga de verificar si los pokemones de los jugadores tienen los estados Burned (Quema...
Definition Game.cs:135
+
string ExecuteAttack(Attack? attack)
Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d...
Definition Game.cs:211
+
bool BothPlayersHaveChosenTeam()
Revisa si ambos jugadores completaron sus equipos.
Definition Game.cs:322
+
string NextTurn()
Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu...
Definition Game.cs:184
+
void SetDamageCalculatorStrategy(IStrategyCritCheck strategyCritCheck)
Permite cambiar la estrategia que contiene la calculadora de daño, solo se usa en los tests.
Definition Game.cs:332
+
string ChangePokemon(Pokemon? pokemon)
Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido...
Definition Game.cs:277
+
IStrategyStartingPlayer StrategyStartingPlayer
Estrategia que determina de que jugador es el primer turno.
Definition Game.cs:28
+
string Winner()
Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ...
Definition Game.cs:96
+
bool CheckPlayerInGame(Player? checkPlayer)
Busca si hay un jugador con el mismo nombre que el del parámetro en una partida.
Definition Game.cs:302
+
string UseItem(IItem? item, Pokemon? pokemon)
Permite que un jugador use un item en un Pokemon específico de su equipo, verificando la validez del ...
Definition Game.cs:245
+
int StartingPlayer()
Obtiene un valor aleatorio entre 0 y 1.
Definition Game.cs:62
+
int ActivePlayer
Obtiene el valor del índice del jugador activo de la partida.
Definition Game.cs:16
+
int TurnCount
Obtiene la cantidad de turnos que lleva la partida.
Definition Game.cs:21
+
void CooldownCheck()
Reduce el tiempo de enfriamiento (cooldown) de todos los ataques especiales de cada Pokemon en los eq...
Definition Game.cs:114
+
Esta clase representa un jugador.
Definition Player.cs:8
+
List< IItem > GetItemList()
Devuelve la lista de items del jugador.
Definition Player.cs:154
+
string Name
Nombre del jugador.
Definition Player.cs:11
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
+
string Use(Pokemon pokemon)
Utiliza el item sobre un pokemon.
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+
Esta interfaz es utilizada para poder aplicar el patrón strategy, sirve para definir diferentes resul...
+
int StartingPlayer()
Este método se encarga de definir como va a funcionar esta estrategia, cada estrategia implementa su ...
+ + +
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/src_2Library_2Gastrodon_8cs_source.html b/docs/html/src_2Library_2Gastrodon_8cs_source.html new file mode 100644 index 0000000..741b309 --- /dev/null +++ b/docs/html/src_2Library_2Gastrodon_8cs_source.html @@ -0,0 +1,141 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Gastrodon.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Gastrodon.cs
+
+
+
1namespace Library;
+
2
+
+
7public class Gastrodon : Pokemon
+
8{
+
+
12 public Gastrodon():base(name: "Gastrodon",life: 426, type: Type.Water, new SpecialAttack("Scald",Type.Water,0.95,90,State.Burned), new Attack("Earthquake", type: Type.Ground,0.80,120), new Attack("Ice beam", Type.Ice, 1,70), new SpecialAttack("Sludge Bomb", Type.Poison,0.95,70,State.Poisoned))
+
13 {
+
14 }
+
+
15
+
+
20 public override Pokemon Instance()
+
21 {
+
22 return new Gastrodon();
+
23 }
+
+
24
+
25}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el Pokemon Gastrodon. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gastrodon.cs:8
+
Gastrodon()
Constructor de Gastrodon, implementa el patron GRASP creator.
Definition Gastrodon.cs:12
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Gastrodon.cs:20
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/Gengar_8cs_source.html b/docs/html/src_2Library_2Gengar_8cs_source.html similarity index 72% rename from docs/html/Gengar_8cs_source.html rename to docs/html/src_2Library_2Gengar_8cs_source.html index 70f0bed..6aa54dc 100644 --- a/docs/html/Gengar_8cs_source.html +++ b/docs/html/src_2Library_2Gengar_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Gengar.cs Source File @@ -35,7 +35,7 @@ - +
@@ -105,28 +105,37 @@
7public class Gengar : Pokemon
8{
-
12 public Gengar():base(name: "Gengar", life: 324, type: Type.Ghost, new Attack("Shadow Ball",Type.Ghost,1,60),new SpecialAttack("Sludge Bomb", Type.Poison,0.95,70,State.Poisoned), new Attack("Shadow Punch", Type.Ghost, 0.75,100),new Attack("Focus Punch", Type.Normal, 0.45,155))
+
12 public Gengar():base(name: "Gengar", life: 324, type: Type.Ghost, new Attack("Shadow Ball",Type.Ghost,1,60),new SpecialAttack("Sludge Bomb", Type.Poison,0.95,70,State.Poisoned), new Attack("Shadow Punch", Type.Ghost, 0.75,100),new Attack("Focus Punch", Type.Normal, 0.45,155))
13 {
14
15 }
-
16}
+
16
+
+
21 public override Pokemon Instance()
+
22 {
+
23 return new Gengar();
+
24 }
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
+
25
+
26}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Gengar.cs:21
Gengar()
Constructor de Gengar, implementa el patron GRASP creator.
Definition Gengar.cs:12
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
- -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/Haxorus_8cs_source.html b/docs/html/src_2Library_2Haxorus_8cs_source.html similarity index 73% rename from docs/html/Haxorus_8cs_source.html rename to docs/html/src_2Library_2Haxorus_8cs_source.html index 3db88e1..0d23061 100644 --- a/docs/html/Haxorus_8cs_source.html +++ b/docs/html/src_2Library_2Haxorus_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Haxorus.cs Source File @@ -35,7 +35,7 @@ - +
@@ -105,25 +105,34 @@
7public class Haxorus: Pokemon
8{
-
12 public Haxorus():base(name: "Haxorus", life: 356, type: Type.Dragon, new Attack("Outrage",Type.Dragon,0.75,120),new Attack("Assurance", Type.Normal,0.95,80), new Attack("Close Combat", Type.Fighting, 0.75,120) ,new Attack("Dragon claw", Type.Dragon, 1,55))
+
12 public Haxorus():base(name: "Haxorus", life: 356, type: Type.Dragon, new Attack("Outrage",Type.Dragon,0.75,120),new Attack("Assurance", Type.Normal,0.95,80), new Attack("Close Combat", Type.Fighting, 0.75,120) ,new Attack("Dragon claw", Type.Dragon, 1,55))
13 {
14 }
-
15}
+
15
+
+
20 public override Pokemon Instance()
+
21 {
+
22 return new Haxorus();
+
23 }
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
+
24
+
25}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
Esta clase representa el Pokemon Haxorus. Al ser un Pokemon hereda de la clase Pokemon.
Definition Haxorus.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Haxorus.cs:20
Haxorus()
Constructor de Haxorus, implementa el patron GRASP creator.
Definition Haxorus.cs:12
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
- -
Type
Representa los tipos.
Definition Type.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+ +
Type
Representa los tipos.
Definition Type.cs:7
diff --git a/docs/html/src_2Library_2IAttack_8cs_source.html b/docs/html/src_2Library_2IAttack_8cs_source.html new file mode 100644 index 0000000..877c0f6 --- /dev/null +++ b/docs/html/src_2Library_2IAttack_8cs_source.html @@ -0,0 +1,131 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/IAttack.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
IAttack.cs
+
+
+
1namespace Library;
+
2
+
+
6public interface IAttack
+
7{
+
11 public string Name { get; }
+
12
+
16 public Type Type {get;}
+
20 public double Accuracy {get;}
+
21
+
25 public string InfoAttack();
+
26}
+
+
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
+
double Accuracy
Precisión del ataque.
Definition IAttack.cs:20
+
string Name
Nombre del ataque.
Definition IAttack.cs:11
+
string InfoAttack()
Genera una descripción del ataque.
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
+
+ + + + diff --git a/docs/html/IItem_8cs_source.html b/docs/html/src_2Library_2IItem_8cs_source.html similarity index 87% rename from docs/html/IItem_8cs_source.html rename to docs/html/src_2Library_2IItem_8cs_source.html index a02f938..1c6e083 100644 --- a/docs/html/IItem_8cs_source.html +++ b/docs/html/src_2Library_2IItem_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/IItem.cs Source File @@ -35,7 +35,7 @@ - +
@@ -104,23 +104,23 @@
6public interface IItem
7{
-
11 string Name { get; }
+
11 string Name { get; }
12
18 string Use(Pokemon pokemon);
19}
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
-
string Name
Nombre del item.
Definition IItem.cs:11
string Use(Pokemon pokemon)
Utiliza el item sobre un pokemon.
- +
string Name
Nombre del item.
Definition IItem.cs:11
+
diff --git a/docs/html/Mewtwo_8cs_source.html b/docs/html/src_2Library_2Mewtwo_8cs_source.html similarity index 74% rename from docs/html/Mewtwo_8cs_source.html rename to docs/html/src_2Library_2Mewtwo_8cs_source.html index c5667d1..955df52 100644 --- a/docs/html/Mewtwo_8cs_source.html +++ b/docs/html/src_2Library_2Mewtwo_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Mewtwo.cs Source File @@ -35,7 +35,7 @@ - +
@@ -105,27 +105,35 @@
7public class Mewtwo: Pokemon
8{
-
12 public Mewtwo() : base(name: "Mewtwo", life: 416, type: Type.Psychic, new Attack("Shadow Ball", Type.Ghost, 1, 60),
-
13 new Attack("Psystrike", Type.Psychic, 1, 100), new Attack("Mental Shock", Type.Psychic, 0.75, 100),
-
14 new Attack("Drain Punch", Type.Fighting, 0.95, 80))
+
12 public Mewtwo() : base(name: "Mewtwo", life: 416, type: Type.Psychic, new Attack("Shadow Ball", Type.Ghost, 1, 60),
+
13 new Attack("Psystrike", Type.Psychic, 1, 100), new Attack("Mental Shock", Type.Psychic, 0.75, 100),
+
14 new Attack("Drain Punch", Type.Fighting, 0.95, 80))
15 {
16 }
-
17}
+
17
+
+
22 public override Pokemon Instance()
+
23 {
+
24 return new Mewtwo();
+
25 }
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
+
26}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
Esta clase representa el Pokemon Mewtwo. Al ser un Pokemon hereda de la clase Pokemon.
Definition Mewtwo.cs:8
Mewtwo()
Constructor de Mewtwo, implementa el patron GRASP creator.
Definition Mewtwo.cs:12
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
- -
Type
Representa los tipos.
Definition Type.cs:7
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Mewtwo.cs:22
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+ +
Type
Representa los tipos.
Definition Type.cs:7
diff --git a/docs/html/src_2Library_2Player_8cs_source.html b/docs/html/src_2Library_2Player_8cs_source.html new file mode 100644 index 0000000..802c3d5 --- /dev/null +++ b/docs/html/src_2Library_2Player_8cs_source.html @@ -0,0 +1,327 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Player.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Player.cs
+
+
+
1
+
2namespace Library;
+
3
+
+
7public class Player
+
8{
+
12 public string Name { get; }
+
13
+
17 private List<Pokemon> PokemonTeam { get; set;}
+
18
+
22 private List<IItem> Items { get; set;}
+
23
+
27 public Pokemon ActivePokemon { get; private set; }
+
28
+
+
32 public int TeamCount
+
33 {
+
34 get { return this.PokemonTeam.Count; }
+
35 }
+
+
36
+
+
42 public Player(string name)
+
43 {
+
44 this.Name = name;
+
45 this.PokemonTeam = new List<Pokemon>();
+
46 this.Items = new List<IItem>();
+
47 this.Items.Add(new Revive());
+
48 this.Items.Add(new SuperPotion());
+
49 this.Items.Add(new SuperPotion());
+
50 this.Items.Add(new SuperPotion());
+
51 this.Items.Add(new SuperPotion());
+
52 this.Items.Add(new FullHealth());
+
53 this.Items.Add(new FullHealth());
+
54 }
+
+
55
+
+
60 public bool AddToTeam(Pokemon pokemon)
+
61 {
+
62 if (this.PokemonTeam.Count < 6)
+
63 {
+
64 if (!this.PokemonTeam.Contains(pokemon))
+
65 {
+
66 if (this.PokemonTeam.Count == 0)
+
67 this.SetActivePokemon(pokemon);
+
68 this.PokemonTeam.Add(pokemon);
+
69 return true;
+
70 }
+
71 }
+
72 return false;
+
73 }
+
+
74
+
+
82 public bool SetActivePokemon(Pokemon? pokemon = null)
+
83 {
+
84 if (pokemon != null)
+
85 {
+
86 if (pokemon.CurrentLife > 0)
+
87 {
+
88 this.ActivePokemon = pokemon;
+
89 return true;
+
90 }
+
91 return false;
+
92 }
+
93 else
+
94 {
+
95 foreach (Pokemon poke in this.PokemonTeam)
+
96 {
+
97 if (poke.CurrentLife > 0)
+
98 {
+
99 this.ActivePokemon = poke;
+
100 return true;
+
101 }
+
102 }
+
103 }
+
104 return false;
+
105 }
+
+
106
+
+
115 public Pokemon FindPokemon(string strPokemon)
+
116 {
+
117 foreach (Pokemon pokemon in this.PokemonTeam)
+
118 {
+
119 if (pokemon.Name == strPokemon)
+
120 {
+
121 return pokemon;
+
122 }
+
123 }
+
124 return null;
+
125 }
+
+
126
+
+
135 public IItem? FindItem(string strItem)
+
136 {
+
137 foreach (IItem item in this.Items)
+
138 {
+
139 if (item.Name == strItem)
+
140 {
+
141 return item;
+
142 }
+
143 }
+
144 return null;
+
145 }
+
+
146
+
+
155 public Attack? FindAttack(string strAttack)
+
156 {
+
157 foreach (IAttack attack in this.ActivePokemon.GetAttacks())
+
158 {
+
159 if (attack.Name == strAttack && attack is Attack attack2)
+
160 {
+
161 return attack2;
+
162 }
+
163 }
+
164 return null;
+
165 }
+
+
166
+
+
171 public List<Pokemon> GetPokemonTeam()
+
172 {
+
173 return this.PokemonTeam;
+
174 }
+
+
175
+
+
180 public List<IItem> GetItemList()
+
181 {
+
182 return this.Items;
+
183 }
+
+
184
+
+
189 public string GetPokemonAttacks()
+
190 {
+
191 string result = "";
+
192 foreach (IAttack atack in ActivePokemon.GetAttacks())
+
193 {
+
194 if (atack is SpecialAttack specialAttack)
+
195 {
+
196 result += specialAttack.InfoAttack();
+
197 }
+
198
+
199 if (atack is Attack attack2 && attack2 is not SpecialAttack)
+
200 {
+
201 result += atack.InfoAttack();
+
202 }
+
203 }
+
204 return result;
+
205 }
+
+
206
+
+
212 public bool FindPokemonByName(string pokemonName)
+
213 {
+
214 foreach (Pokemon pokemon in this.PokemonTeam)
+
215 if (pokemon.Name == pokemonName)
+
216 return true;
+
217 return false;
+
218 }
+
+
219
+
220
+
+
227 public int ItemCount(string itemName)
+
228 {
+
229 int result = 0;
+
230 foreach (IItem item in this.Items)
+
231 {
+
232 if (item.Name == itemName)
+
233 {
+
234 result++;
+
235 }
+
236 }
+
237 return result;
+
238 }
+
+
239}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el item FullHealth. Al ser un item implementa la interfaz IItem.
Definition FullHealth.cs:8
+
Esta clase representa un jugador.
Definition Player.cs:8
+
bool SetActivePokemon(Pokemon pokemon)
Cambia el pokemon activo si está vivo.
Definition Player.cs:66
+
List< IItem > GetItemList()
Devuelve la lista de items del jugador.
Definition Player.cs:180
+
bool FindPokemonByName(string pokemonName)
Busca un Pokemon en el equipo de Pokemons de un jugador.
Definition Player.cs:212
+
Player(string name)
Le asigna un nombre al jugador, crea las listas de pokemons e items agregando items iniciales....
Definition Player.cs:42
+
IItem? FindItem(string strItem)
Devuelve un item de la lista de items buscandolo por su nombre.
Definition Player.cs:135
+
List< Pokemon > GetPokemonTeam()
Devuelve la lista de pokemons del jugador.
Definition Player.cs:171
+
string GetPokemonAttacks()
Devuelve un string con los nombres de todos los ataques del pokemon activo.
Definition Player.cs:189
+
bool AddToTeam(Pokemon pokemon)
Agrega un pokemon a la lista de pokemons del jugador.
Definition Player.cs:60
+
int TeamCount
Cantidad de Pokemons en el equipo del jugador.
Definition Player.cs:33
+
Pokemon ActivePokemon
Pokemon activo del jugador.
Definition Player.cs:26
+
Attack? FindAttack(string strAttack)
Devuelve un ataque de la lista de ataques del pokemon activo.
Definition Player.cs:155
+
int ItemCount(string itemName)
Se encarga de determinar la cantidad de instancias de un item que tiene el jugador en su lista de ite...
Definition Player.cs:227
+
string Name
Nombre del jugador.
Definition Player.cs:11
+
bool SetActivePokemon(Pokemon? pokemon=null)
Cambia el pokemon activo si está vivo.
Definition Player.cs:82
+
Pokemon FindPokemon(string strPokemon)
Devuelve un pokemon de la lista del jugador buscandolo por el nombre.
Definition Player.cs:115
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Esta clase representa el item Revive. Al ser un item implementa la interfaz IItem.
Definition Revive.cs:8
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
Esta clase representa el item SuperPotion. Al ser un item implementa la interfaz IItem.
Definition SuperPotion.cs:8
+
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
+
string Name
Nombre del ataque.
Definition IAttack.cs:11
+
string InfoAttack()
Genera una descripción del ataque.
+
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
+
string Name
Nombre del item.
Definition IItem.cs:11
+ +
+
+ + + + diff --git a/docs/html/src_2Library_2PokemonCatalogue_8cs_source.html b/docs/html/src_2Library_2PokemonCatalogue_8cs_source.html new file mode 100644 index 0000000..e36b86d --- /dev/null +++ b/docs/html/src_2Library_2PokemonCatalogue_8cs_source.html @@ -0,0 +1,211 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/PokemonCatalogue.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
PokemonCatalogue.cs
+
+
+
1namespace Library;
+
2
+
+
6public class PokemonCatalogue
+
7{
+
11 public List<Pokemon> PokemonList { get; } = new List<Pokemon>();
+
12
+
+
16 public int PokemonCount
+
17 {
+
18 get { return this.PokemonList.Count; }
+
19 }
+
+
20
+
24 private static PokemonCatalogue? _instance;
+
25
+
29 private PokemonCatalogue()
+
30 {
+
31 Charizard charizard = new Charizard();
+
32 Chikorita chikorita = new Chikorita();
+
33 Gengar gengar = new Gengar();
+
34 Caterpie caterpie = new Caterpie();
+
35 Mewtwo mewtwo = new Mewtwo();
+
36 Zeraora zeraora = new Zeraora();
+
37 Haxorus haxorus = new Haxorus();
+
38 Hydreigon hydreigon = new Hydreigon();
+
39 Gastrodon gastrodon = new Gastrodon();
+
40 Entei entei = new Entei();
+
41 Dragonite dragonite = new Dragonite();
+
42 Jigglypuff jigglypuff = new Jigglypuff();
+
43 Pikachu pikachu = new Pikachu();
+
44 Scyther scyther = new Scyther();
+
45 PokemonList.Add(caterpie);
+
46 PokemonList.Add(chikorita);
+
47 PokemonList.Add(gengar);
+
48 PokemonList.Add(charizard);
+
49 PokemonList.Add(mewtwo);
+
50 PokemonList.Add(zeraora);
+
51 PokemonList.Add(haxorus);
+
52 PokemonList.Add(hydreigon);
+
53 PokemonList.Add(gastrodon);
+
54 PokemonList.Add(entei);
+
55 PokemonList.Add(dragonite);
+
56 PokemonList.Add(jigglypuff);
+
57 PokemonList.Add(pikachu);
+
58 PokemonList.Add(scyther);
+
59
+
60 }
+
61
+
+ +
66 {
+
67 get
+
68 {
+
69 if (_instance == null)
+
70 {
+
71 _instance = new PokemonCatalogue();
+
72 }
+
73
+
74 return _instance;
+
75 }
+
76 }
+
+
77
+
+
82 public string ShowCatalogue()
+
83 {
+
84 string pokemonsAvailable = "";
+
85 foreach (Pokemon pokemon in this.PokemonList)
+
86 {
+
87 pokemonsAvailable += pokemon.Name +"\n";
+
88 }
+
89 return pokemonsAvailable;
+
90 }
+
+
91
+
92
+
93}
+
+
Esta clase representa el Pokemon Caterpie. Al ser un Pokemon hereda de la clase Pokemon.
Definition Caterpie.cs:8
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
Esta clase representa el Pokemon Chikorita. Al ser un Pokemon hereda de la clase Pokemon.
Definition Chikorita.cs:8
+
Esta clase representa el Pokemon Dragonite. Al ser un Pokemon hereda de la clase Pokemon.
Definition Dragonite.cs:8
+
Esta clase representa el Pokemon Entei. Al ser un Pokemon hereda de la clase Pokemon.
Definition Entei.cs:8
+
Esta clase representa el Pokemon Gastrodon. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gastrodon.cs:8
+
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
Esta clase representa el Pokemon Haxorus. Al ser un Pokemon hereda de la clase Pokemon.
Definition Haxorus.cs:8
+
Esta clase representa el Pokemon Hydreigon. Al ser un Pokemon hereda de la clase Pokemon.
Definition Hydreigon.cs:8
+
Esta clase representa el Pokemon Jigglypuff. Al ser un Pokemon hereda de la clase Pokemon.
Definition Jigglypuff.cs:8
+
Esta clase representa el Pokemon Mewtwo. Al ser un Pokemon hereda de la clase Pokemon.
Definition Mewtwo.cs:8
+
Esta clase representa el Pokemon Pikachu. Al ser un Pokemon hereda de la clase Pokemon.
Definition Pikachu.cs:8
+
Esta clase representa el catálogo de Pokemons.
+
int PokemonCount
Cantidad de Pokemons en el catálogo.
+
static PokemonCatalogue Instance
Crea una instancia del catálogo si no existe una.
+
string ShowCatalogue()
Devuelve el nombre de todos los Pokemons en el catálogo.
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa el Pokemon Scyther. Al ser un Pokemon hereda de la clase Pokemon.
Definition Scyther.cs:8
+
Esta clase representa el Pokemon Zeraora. Al ser un Pokemon hereda de la clase Pokemon.
Definition Zeraora.cs:8
+ +
+
+ + + + diff --git a/docs/html/src_2Library_2Pokemon_8cs_source.html b/docs/html/src_2Library_2Pokemon_8cs_source.html new file mode 100644 index 0000000..9765640 --- /dev/null +++ b/docs/html/src_2Library_2Pokemon_8cs_source.html @@ -0,0 +1,271 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Pokemon.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Pokemon.cs
+
+
+
1
+
2using System.Runtime.InteropServices.ComTypes;
+
3
+
4namespace Library;
+
5
+
+
9public abstract class Pokemon
+
10{
+
14 public string Name { get; set; }
+
15
+
19 private List<IAttack> Attacks { get; set; }
+
20
+
24 private List<Type> Type { get; set; }
+
25
+
29 public State? CurrentState { get; set; }
+
30
+
34 public int AsleepTurns { get; set; }
+
35
+
39 public double BaseLife { get; private set; }
+
40
+
44 public double CurrentLife { get; set; }
+
45
+
+
58 protected Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
+
59 {
+
60 //Aplicamos Creator
+
61 this.Name = name;
+
62 this.BaseLife = life;
+
63 this.CurrentState = null;
+
64 this.CurrentLife = BaseLife;
+
65 this.Type = new List<Type>();
+
66 this.Attacks = new List<IAttack>();
+
67 this.Type.Add(type);
+
68 this.AsleepTurns = 0;
+
69 // La lista de IMoves aplica LSP, ya que el Pokemon puede tener movimientos de daño (DamageMove) o
+
70 // movimientos de buffeo (StatChangerMove)
+
71 // y el funcionamiento de la lista es el mismo.
+
72 this.AddAttack(attack1);
+
73 this.AddAttack(attack2);
+
74 this.AddAttack(attack3);
+
75 this.AddAttack(attack4);
+
76
+
77 }
+
+
78
+
+
84 public void GainLife(double hp)
+
85 {
+
86 this.CurrentLife += hp;
+
87 if (this.CurrentLife > this.BaseLife)
+
88 {
+
89 this.CurrentLife = BaseLife;
+
90 }
+
91
+
92 }
+
+
93
+
+
97 public void SetAsleepTurns()
+
98 {
+
99 Random random = new Random();
+
100 this.AsleepTurns = random.Next(1,5);
+
101 }
+
+
102
+
+
108 public void TakeDamage(double damage)
+
109 {
+
110 this.CurrentLife -= (int)Math.Round(damage);
+
111 if (this.CurrentLife < 0)
+
112 {
+
113 this.CurrentLife = 0;
+
114 }
+
115 }
+
+
116
+
+
121 public string GetLife()
+
122 {
+
123 return $"{this.CurrentLife}/{this.BaseLife}";
+
124 }
+
+
125
+
+
130 public List<IAttack> GetAttacks()
+
131 {
+
132 return this.Attacks;
+
133 }
+
+
134
+
+
139 public List<Type> GetTypes()
+
140 {
+
141 return this.Type;
+
142 }
+
+
143
+
+
148 public void EditState(State? state)
+
149 {
+
150 this.CurrentState = state;
+
151 }
+
+
152
+
+
157 public void AddAttack(IAttack attack)
+
158 {
+
159 if (this.Attacks.Count < 4)
+
160 {
+
161 this.Attacks.Add(attack);
+
162 }
+
163 }
+
+
164
+
+
170 public Attack FindAttackByName(string attackString)
+
171 {
+
172 if (attackString != null)
+
173 {
+
174 foreach (IAttack attack in Attacks)
+
175 {
+
176 if (attack is Attack attack2 && attack.Name == attackString)
+
177 {
+
178 return attack2;
+
179 }
+
180
+
181 }
+
182 }
+
183 return null;
+
184 }
+
+
185
+
189 public abstract Pokemon Instance();
+
190
+
191}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:139
+
void SetAsleepTurns()
Establece un número aleatorio entre 1 y 4 de turnos durante los cuales un Pokemon estará dormido.
Definition Pokemon.cs:97
+
Pokemon(string name, double life, Type type, IAttack attack1, IAttack attack2, IAttack attack3, IAttack attack4)
Asigna el nombre, la vida base, el tipo y los ataques del Pokemon a la lista de ataques del Pokemon a...
Definition Pokemon.cs:58
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:148
+
Pokemon Instance()
Método abstracto para obtener una nueva instancia del Pokemon deseado. Aplicando así el patrón protot...
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:84
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:130
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:170
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:121
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:108
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento.
Definition IAttack.cs:7
+
string Name
Nombre del ataque.
Definition IAttack.cs:11
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/Revive_8cs_source.html b/docs/html/src_2Library_2Revive_8cs_source.html similarity index 85% rename from docs/html/Revive_8cs_source.html rename to docs/html/src_2Library_2Revive_8cs_source.html index f23c098..1293dae 100644 --- a/docs/html/Revive_8cs_source.html +++ b/docs/html/src_2Library_2Revive_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Revive.cs Source File @@ -35,7 +35,7 @@ - +
@@ -104,17 +104,17 @@
7public class Revive : IItem
8{
-
12 public string Name { get; }
+
12 public string Name { get; }
13
20 public string Use(Pokemon pokemon)
21 {
-
22 if (pokemon.CurrentLife > 0)
+
22 if (pokemon.CurrentLife > 0)
23 {
-
24 return "El pokemon no está debilitado";
+
24 return $"{pokemon.Name} no está debilitado.\n";
25 }
26 pokemon.CurrentLife = (pokemon.BaseLife / 2);
-
27 return $"{pokemon.Name} ha revivido.";
+
27 return $"{pokemon.Name} ha revivido. \n¡{this.Name} utilizada con éxito!";
28 }
@@ -126,21 +126,21 @@
36
37}
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:43
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
Esta clase representa el item Revive. Al ser un item implementa la interfaz IItem.
Definition Revive.cs:8
string Use(Pokemon pokemon)
Revive al Pokemon asignando a su vida actual la mitad de la vida base, si está vivo no se revive.
Definition Revive.cs:20
+
string Name
Nombre del item.
Definition Revive.cs:12
Revive()
Constructor de Revive
Definition Revive.cs:32
-
string Name
Nombre del item.
Definition Revive.cs:12
-
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
- +
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
+
diff --git a/docs/html/src_2Library_2Services_2BotLoader_8cs_source.html b/docs/html/src_2Library_2Services_2BotLoader_8cs_source.html new file mode 100644 index 0000000..55254fa --- /dev/null +++ b/docs/html/src_2Library_2Services_2BotLoader_8cs_source.html @@ -0,0 +1,165 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Services/BotLoader.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
BotLoader.cs
+
+
+
1using System.Reflection;
+
2using Microsoft.Extensions.Configuration;
+
3using Microsoft.Extensions.DependencyInjection;
+
4using Microsoft.Extensions.Logging;
+
5
+ +
7
+
12public static class BotLoader
+
13{
+
14 public static async Task LoadAsync()
+
15 {
+
16 var configuration = new ConfigurationBuilder()
+
17 .AddUserSecrets(Assembly.GetExecutingAssembly())
+
18 .Build();
+
19
+
20 var serviceProvider = new ServiceCollection()
+
21 .AddLogging(options =>
+
22 {
+
23 options.ClearProviders();
+
24 options.AddConsole();
+
25 })
+
26 .AddSingleton<IConfiguration>(configuration)
+
27 .AddScoped<IBot, Bot>()
+
28 .BuildServiceProvider();
+
29
+
30 try
+
31 {
+
32 IBot bot = serviceProvider.GetRequiredService<IBot>();
+
33
+
34 await bot.StartAsync(serviceProvider);
+
35
+
36 Console.WriteLine("Conectado a Discord. Presione 'q' para salir...");
+
37
+
38 do
+
39 {
+
40 var keyInfo = Console.ReadKey();
+
41
+
42 if (keyInfo.Key != ConsoleKey.Q) continue;
+
43
+
44 Console.WriteLine("\nFinalizado");
+
45 await bot.StopAsync();
+
46
+
47 return;
+
48 } while (true);
+
49 }
+
50 catch (Exception exception)
+
51 {
+
52 Console.WriteLine(exception.Message);
+
53 Environment.Exit(-1);
+
54 }
+
55 }
+
56}
+ +
+
+ + + + diff --git a/docs/html/src_2Library_2Services_2Bot_8cs_source.html b/docs/html/src_2Library_2Services_2Bot_8cs_source.html new file mode 100644 index 0000000..b0b0d98 --- /dev/null +++ b/docs/html/src_2Library_2Services_2Bot_8cs_source.html @@ -0,0 +1,212 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Services/Bot.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Bot.cs
+
+
+
1using System.Reflection;
+
2using Microsoft.Extensions.Configuration;
+
3using Microsoft.Extensions.DependencyInjection;
+
4using Microsoft.Extensions.Logging;
+
5using Discord;
+
6using Discord.Commands;
+
7using Discord.WebSocket;
+
8
+ +
10
+
+
14public class Bot : IBot
+
15{
+
16 private ServiceProvider? serviceProvider;
+
17 private readonly ILogger<Bot> logger;
+
18 private readonly IConfiguration configuration;
+
19 private readonly DiscordSocketClient client;
+
20 private readonly CommandService commands;
+
21
+
22 public Bot(ILogger<Bot> logger, IConfiguration configuration)
+
23 {
+
24 this.logger = logger;
+
25 this.configuration = configuration;
+
26
+
27 DiscordSocketConfig config = new()
+
28 {
+
29 AlwaysDownloadUsers = true,
+
30 GatewayIntents =
+
31 GatewayIntents.AllUnprivileged
+
32 | GatewayIntents.MessageContent
+
33 //| GatewayIntents.DirectMessages //modificado
+
34 };
+
35
+
36 client = new DiscordSocketClient(config);
+
37 commands = new CommandService();
+
38 }
+
39
+
40 public async Task StartAsync(ServiceProvider services)
+
41 {
+
42 string discordToken = configuration["DiscordToken"] ?? throw new Exception("Falta el token");
+
43
+
44 logger.LogInformation("Iniciando con token {Token}", discordToken);
+
45
+
46 serviceProvider = services;
+
47
+
48 await commands.AddModulesAsync(Assembly.GetExecutingAssembly(), serviceProvider);
+
49
+
50 await client.LoginAsync(TokenType.Bot, discordToken);
+
51 await client.StartAsync();
+
52
+
53 // Suscribirse al evento Ready
+
54 client.Ready += OnReadyAsync;
+
55
+
56 client.MessageReceived += HandleCommandAsync;
+
57 }
+
58
+
59 private async Task OnReadyAsync()
+
60 {
+
61 logger.LogInformation("Bot conectado y listo para usar.");
+
62
+
63 // Obtén el canal por su ID (reemplaza "TU_CANAL_ID" con el ID real)
+
64 var channel = client.GetChannel(1301187987991695370) as IMessageChannel;
+
65
+
66 if (channel != null)
+
67 {
+
68 // Envía un mensaje cuando el bot se enciende
+
69 await channel.SendMessageAsync("¡El bot está en línea y listo para funcionar\n!help para ver los comandos disponibles :)");
+
70 }
+
71 }
+
72
+
73
+
74 public async Task StopAsync()
+
75 {
+
76 logger.LogInformation("Finalizando");
+
77 await client.LogoutAsync();
+
78 await client.StopAsync();
+
79 }
+
80
+
81 private async Task HandleCommandAsync(SocketMessage arg)
+
82 {
+
83 if (arg is not SocketUserMessage message || message.Author.IsBot)
+
84 {
+
85 return;
+
86 }
+
87 int position = 0;
+
88 bool messageIsCommand = message.HasCharPrefix('!', ref position);
+
89
+
90 if (messageIsCommand)
+
91 {
+
92 await commands.ExecuteAsync(
+
93 new SocketCommandContext(client, message),
+
94 position,
+
95 serviceProvider);
+
96 }
+
97 }
+
98}
+
+
Esta clase implementa el bot de Discord.
Definition Bot.cs:15
+
La interfaz del Bot de Discord para usar con inyección de dependencias.
Definition IBot.cs:9
+ +
+
+ + + + diff --git a/docs/html/src_2Library_2Services_2IBot_8cs_source.html b/docs/html/src_2Library_2Services_2IBot_8cs_source.html new file mode 100644 index 0000000..f095324 --- /dev/null +++ b/docs/html/src_2Library_2Services_2IBot_8cs_source.html @@ -0,0 +1,126 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Services/IBot.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
IBot.cs
+
+
+
1using Microsoft.Extensions.DependencyInjection;
+
2
+ +
4
+
+
8public interface IBot
+
9{
+
10 Task StartAsync(ServiceProvider services);
+
11
+
12 Task StopAsync();
+
13}
+
+
La interfaz del Bot de Discord para usar con inyección de dependencias.
Definition IBot.cs:9
+ +
+
+ + + + diff --git a/docs/html/src_2Library_2SpecialAttack_8cs_source.html b/docs/html/src_2Library_2SpecialAttack_8cs_source.html new file mode 100644 index 0000000..5cc2955 --- /dev/null +++ b/docs/html/src_2Library_2SpecialAttack_8cs_source.html @@ -0,0 +1,166 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/SpecialAttack.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SpecialAttack.cs
+
+
+
1namespace Library;
+
2
+
+
7public class SpecialAttack : Attack
+
8{
+
12 public State SpecialEffect { get; private set; }
+
13
+
17 public int Cooldown { get; private set; }
+
18
+
+
27 public SpecialAttack(string name, Type type, double accuracy, int power, State specialEffect): base(name, type, accuracy, power)
+
28 {
+
29 this.Cooldown = 0;
+
30 this.SpecialEffect = specialEffect;
+
31 }
+
+
32
+
+
36 public void LowerCooldown()
+
37 {
+
38 if (Cooldown > 0)
+
39 {
+
40 Cooldown -= 1;
+
41 }
+
42 }
+
+
43
+
+
47 public void SetCooldown()
+
48 {
+
49 Cooldown = 4;
+
50 }
+
+
51
+
+
56 public override string InfoAttack()
+
57 {
+
58 return $"**{this.Name}**: tipo *{this.Type}*, precisión *{this.Accuracy*100}*, potencia *{this.Power}*, efecto especial *{this.SpecialEffect}*, cooldown de uso actual *{this.Cooldown}*\n";
+
59 }
+
+
60
+
61}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
void LowerCooldown()
Le quita un turno a la cantidad de turnos que se deben esperar para usar el ataque.
+
void SetCooldown()
Le asigna 2 al contador de turnos que se deben esperar para usar el ataque.
+
SpecialAttack(string name, Type type, double accuracy, int power, State specialEffect)
Constructor de SpecialAttack
+
State SpecialEffect
Efecto del ataque.
+
int Cooldown
Cantidad de turnos que se deben esperar para volver a usar el ataque especial.
+
override string InfoAttack()
Genera una descripción formateada del ataque. Incluye el nombre, tipo, precisión, potencia del ataque...
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/src_2Library_2StateLogic_8cs_source.html b/docs/html/src_2Library_2StateLogic_8cs_source.html new file mode 100644 index 0000000..d931f86 --- /dev/null +++ b/docs/html/src_2Library_2StateLogic_8cs_source.html @@ -0,0 +1,162 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/StateLogic.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
StateLogic.cs
+
+
+
1namespace Library;
+
5public static class StateLogic
+
6{
+
16 public static bool AsleepEffect(Pokemon pokemon)
+
17 {
+
18 if (pokemon.CurrentState == State.Asleep)
+
19 {
+
20 if (pokemon.AsleepTurns > 0)
+
21 {
+
22 pokemon.AsleepTurns -= 1;
+
23 return true;
+
24 }
+
25
+
26 if (pokemon.AsleepTurns == 0)
+
27 {
+
28 pokemon.EditState(null);
+
29 }
+
30 }
+
31
+
32 return false;
+
33 }
+
34
+
43 public static bool ParalizedEffect(Pokemon pokemon)
+
44 {
+
45 if (pokemon.CurrentState == State.Paralized)
+
46 {
+
47 Random random = new Random();
+
48 int randomNum = random.Next(1, 5);
+
49 if (randomNum == 1)
+
50 {
+
51 return true;
+
52 }
+
53 }
+
54
+
55 return false;
+
56
+
57 }
+
58
+
68 public static void PoisonedEffect(Pokemon pokemon)
+
69 {
+
70 pokemon.TakeDamage((int)(pokemon.BaseLife * 0.05));
+
71 }
+
72
+
77 public static void BurnedEffect(Pokemon pokemon)
+
78 {
+
79 pokemon.TakeDamage((int)(pokemon.BaseLife * 0.10));
+
80 }
+
81}
+ +
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/src_2Library_2State_8cs_source.html b/docs/html/src_2Library_2State_8cs_source.html new file mode 100644 index 0000000..8f8b42a --- /dev/null +++ b/docs/html/src_2Library_2State_8cs_source.html @@ -0,0 +1,125 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/State.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
State.cs
+
+
+
1namespace Library;
+
2
+
+
6public enum State
+
7{
+
11 Asleep,
+
15 Paralized,
+
19 Poisoned,
+
23 Burned
+
24}
+
+ +
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/src_2Library_2SuperPotion_8cs_source.html b/docs/html/src_2Library_2SuperPotion_8cs_source.html new file mode 100644 index 0000000..c597d2d --- /dev/null +++ b/docs/html/src_2Library_2SuperPotion_8cs_source.html @@ -0,0 +1,152 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/SuperPotion.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SuperPotion.cs
+
+
+
1namespace Library;
+
2
+
+
7public class SuperPotion : IItem
+
8{
+
12 public string Name { get; }
+
13
+
+
21 public string? Use(Pokemon? pokemon)
+
22 {
+
23 if (pokemon != null)
+
24 {
+
25 if (pokemon.CurrentLife == pokemon.BaseLife)
+
26 {
+
27 return $"{pokemon.Name} ya tiene su vida completa.\n";
+
28 }
+
29 pokemon.GainLife(70);
+
30 return $"{pokemon.Name} ha ganado 70HP.\n¡{this.Name} utilizada con éxito!";
+
31 }
+
32 return null;
+
33 }
+
+
+
37 public SuperPotion()
+
38 {
+
39 this.Name = "Super Potion";
+
40 }
+
+
41}
+
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
Esta clase representa el item SuperPotion. Al ser un item implementa la interfaz IItem.
Definition SuperPotion.cs:8
+
SuperPotion()
Constructor de SuperPotion
+
string Name
Nombre del item.
+
string? Use(Pokemon? pokemon)
Suma 70 HP a la vida actual del Pokemon.
+
Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento.
Definition IItem.cs:7
+ +
+
+ + + + diff --git a/docs/html/src_2Library_2Type_8cs_source.html b/docs/html/src_2Library_2Type_8cs_source.html new file mode 100644 index 0000000..504dd44 --- /dev/null +++ b/docs/html/src_2Library_2Type_8cs_source.html @@ -0,0 +1,136 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Type.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Type.cs
+
+
+
1namespace Library;
+
2
+
+
6public enum Type
+
7{
+
11 Bug,
+
15 Dragon,
+
19 Electric,
+
23 Fighting,
+
27 Fire,
+
31 Flying,
+
35 Ghost,
+
39 Grass,
+
43 Ground,
+
47 Ice,
+
51 Normal,
+
55 Poison,
+
59 Psychic,
+
63 Rock,
+
67 Water
+
68}
+
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
+
+ + + + diff --git a/docs/html/WaitingList_8cs_source.html b/docs/html/src_2Library_2WaitingList_8cs_source.html similarity index 78% rename from docs/html/WaitingList_8cs_source.html rename to docs/html/src_2Library_2WaitingList_8cs_source.html index e3d95a9..bcb5271 100644 --- a/docs/html/WaitingList_8cs_source.html +++ b/docs/html/src_2Library_2WaitingList_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/WaitingList.cs Source File @@ -35,7 +35,7 @@ - +
@@ -103,14 +103,12 @@
5public class WaitingList
6{
-
10 private List<Player> Players { get; set; }= new List<Player>();
+
10 private List<Player> Players { get; }= new List<Player>();
11
-
-
15 public int Count
+
15 public int Count
16 {
17 get { return this.Players.Count; }
18 }
-
19
28 public bool AddPlayer(string playerName)
@@ -139,46 +137,52 @@
61 public Player? FindPlayerByName(string playerName)
62 {
63 foreach (Player player in this.Players)
-
64 if (player.Name == playerName)
+
64 if (player.Name == playerName)
65 return player;
66 return null;
67 }
-
68
+
68
- +
72 public Player? GetSomeone(string playerName)
73 {
74 Random random = new Random();
-
75 int randomNumber = random.Next(0, this.Count);
-
76 return this.Players[randomNumber];
-
77 }
+
75 if (this.Count <= 1)
+
76 return null;
+
77 int randomNumber;
+
78 do
+
79 {
+
80 randomNumber = random.Next(0, this.Count);
+
81 } while (this.Players[randomNumber].Name == playerName);
+
82 return this.Players[randomNumber];
+
83 }
-
78
-
-
82 public List<Player> GetWaitingList()
-
83 {
-
84 return this.Players;
-
85 }
+
84
+
+
88 public List<Player> GetWaitingList()
+
89 {
+
90 return this.Players;
+
91 }
-
86}
+
92}
-
Esta clase representa un jugador.
Definition Player.cs:7
-
string Name
Nombre del jugador.
Definition Player.cs:11
+
Esta clase representa un jugador.
Definition Player.cs:8
+
string Name
Nombre del jugador.
Definition Player.cs:11
Esta clase representa la lista de espera.
Definition WaitingList.cs:6
+
Player? GetSomeone(string playerName)
Devuelve un jugador al azar de la lista de espera.
bool AddPlayer(string playerName)
Agrega un jugador a la lista de espera.
-
List< Player > GetWaitingList()
Devuelve la lista de jugadores en espera.
-
Player? FindPlayerByName(string playerName)
Devuelve un jugador de la lista de espera buscandolo por su nombre.
+
List< Player > GetWaitingList()
Devuelve la lista de jugadores en espera.
+
Player? FindPlayerByName(string playerName)
Devuelve un jugador de la lista de espera buscandolo por su nombre.
+
int Count
Devuelve el número de jugadores en espera.
bool RemovePlayer(string playerName)
Elimina un jugador de la lista de espera.
-
Player? GetAnyoneWaiting()
Devuelve un jugador al azar de la lista de espera.
-
int Count
Devuelve el número de jugadores en espera.
- +
diff --git a/docs/html/Zeraora_8cs_source.html b/docs/html/src_2Library_2Zeraora_8cs_source.html similarity index 74% rename from docs/html/Zeraora_8cs_source.html rename to docs/html/src_2Library_2Zeraora_8cs_source.html index f175f85..a641d31 100644 --- a/docs/html/Zeraora_8cs_source.html +++ b/docs/html/src_2Library_2Zeraora_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/Zeraora.cs Source File @@ -35,7 +35,7 @@ - +
@@ -105,31 +105,39 @@
7public class Zeraora: Pokemon
8{
-
12 public Zeraora() : base(name: "Zeraora", life: 380, type: Type.Electric,
-
13 new Attack("Plasma Fist", Type.Electric, 1, 65),
-
14 new SpecialAttack("Thunderbolt", Type.Electric, 1, 75, State.Paralized),
-
15 new Attack("Close Combat", Type.Fighting, 0.75, 120), new Attack("Wild Charge", Type.Electric, 0.6, 160))
+
12 public Zeraora() : base(name: "Zeraora", life: 380, type: Type.Electric,
+
13 new Attack("Plasma Fist", Type.Electric, 1, 65),
+
14 new SpecialAttack("Thunderbolt", Type.Electric, 1, 75, State.Paralized),
+
15 new Attack("Close Combat", Type.Fighting, 0.75, 120), new Attack("Wild Charge", Type.Electric, 0.6, 160))
16 {
17
18 }
-
19}
+
19
+
+
24 public override Pokemon Instance()
+
25 {
+
26 return new Zeraora();
+
27 }
-
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:6
-
Esta clase representa un Pokemon.
Definition Pokemon.cs:9
-
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
28}
+
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
Esta clase representa el Pokemon Zeraora. Al ser un Pokemon hereda de la clase Pokemon.
Definition Zeraora.cs:8
+
override Pokemon Instance()
Este método retorna una copia del pokemon aplicando así, el patrón prototype.
Definition Zeraora.cs:24
Zeraora()
Constructor de Zeraora, implementa el patron GRASP creator.
Definition Zeraora.cs:12
- -
Type
Representa los tipos.
Definition Type.cs:7
-
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+ +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
diff --git a/docs/html/src_2Library_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html b/docs/html/src_2Library_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html index 43d7f01..5370adf 100644 --- a/docs/html/src_2Library_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html +++ b/docs/html/src_2Library_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Library/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs Source File @@ -35,7 +35,7 @@ - +
@@ -99,36 +99,33 @@
Program.cs
-
1//--------------------------------------------------------------------------------
-
2// <copyright file="Program.cs" company="Universidad Católica del Uruguay">
-
3// Copyright (c) Programación II. Derechos reservados.
-
4// </copyright>
-
5//--------------------------------------------------------------------------------
-
6
-
7using System;
-
8using Library;
-
9
-
- -
11{
-
15 public static class Program
-
16 {
-
20 public static void Main()
-
21 {
-
22 Console.WriteLine("Hello World!");
-
23 }
-
24 }
-
25}
-
- - +
1using Library;
+ +
3
+
4namespace Program;
+
5
+
9internal static class Program
+
10{
+
14 private static void Main()
+
15 {
+
16 DemoBot();
+
17 }
+
18
+
19 private static void DemoBot()
+
20 {
+
21 BotLoader.LoadAsync().GetAwaiter().GetResult();
+
22 }
+
23}
+ + +
diff --git a/docs/html/src_2Program_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html b/docs/html/src_2Program_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html index 49607f5..c72b024 100644 --- a/docs/html/src_2Program_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html +++ b/docs/html/src_2Program_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/src/Program/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs Source File @@ -35,7 +35,7 @@ - + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
AttackTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10
+
+
11public class AttackTest
+
12{
+
13 [SetUp]
+
14 public void Setup()
+
15 {
+
16 }
+
17
+
21 [Test]
+
+
22 public void TestAccuracy0()
+
23 {
+
24 Attack attack = new Attack("impactrueno",Library.Type.Electric, 0, 100);
+
25 Assert.That(attack.Accuracy.Equals(0));
+
26 }
+
+
27
+
31 [Test]
+
+
32 public void TestPower0()
+
33 {
+
34 Attack attack = new Attack("impactrueno",Library.Type.Electric, 1, 0);
+
35 Assert.That(attack.Power.Equals(0));
+
36 }
+
+
37
+
41 [Test]
+
+
42 public void TestNullName()
+
43 {
+
44 var result = Assert.Throws<ArgumentException>(() => new Attack("", Type.Electric, 1.0, 30));
+
45 Assert.That(result.Message, Is.EqualTo("El nombre ingresado no es válido"));
+
46 }
+
+
47
+
51 [Test]
+
+
52 public void TestInvalidAccuracy()
+
53 {
+
54 var result = Assert.Throws<ArgumentException>(() => new Attack("impactrueno", Type.Electric, 70000.0, 30));
+
55 Assert.That(result.Message, Is.EqualTo("La precision ingresada no es válido"));
+
56 }
+
+
57
+
61 [Test]
+
+
62 public void TestInvalidPower()
+
63 {
+
64 var result = Assert.Throws<ArgumentException>(() => new Attack("impactrueno", Type.Electric, 0.8, -20));
+
65 Assert.That(result.Message, Is.EqualTo("El poder ingresado no es válido"));
+
66 }
+
+
67}
+
+
Test de la clase Attack
Definition AttackTest.cs:12
+
void TestPower0()
Test del atributo Power en 0.
Definition AttackTest.cs:32
+
void TestInvalidPower()
Test de Power invalido.
Definition AttackTest.cs:62
+
void TestInvalidAccuracy()
Test de Accuracy inválido.
Definition AttackTest.cs:52
+
void TestAccuracy0()
Test del atributo Accuracy en 0.
Definition AttackTest.cs:22
+
void TestNullName()
Test del nombre nulo.
Definition AttackTest.cs:42
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2CaterpieTest_8cs_source.html b/docs/html/test_2LibraryTests_2CaterpieTest_8cs_source.html new file mode 100644 index 0000000..a82c557 --- /dev/null +++ b/docs/html/test_2LibraryTests_2CaterpieTest_8cs_source.html @@ -0,0 +1,351 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/CaterpieTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
CaterpieTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10[TestFixture]
+
11[TestOf(typeof(Caterpie))]
+
+
12public class CaterpieTest
+
13{
+
14
+
18 [Test]
+
+
19 public void TestName()
+
20 {
+
21 Caterpie caterpie = new Caterpie();
+
22 string caterpieName = caterpie.Name;
+
23 string expectedName = "Caterpie";
+
24 Assert.That(caterpieName.Equals(expectedName, StringComparison.Ordinal));
+
25 }
+
+
26
+
30 [Test]
+
+
31 public void TestType()
+
32 {
+
33 Caterpie caterpie = new Caterpie();
+
34 Type caterpieType = caterpie.GetTypes()[0];
+
35 Type expectedType = Type.Bug;
+
36 Assert.That(caterpieType.Equals(expectedType));
+
37 }
+
+
38
+
42 [Test]
+
+ +
44 {
+
45 Caterpie caterpie = new Caterpie();
+
46 double caterpieBaseLife = caterpie.BaseLife;
+
47 double expectedBaseLife = 294;
+
48 Assert.That(caterpieBaseLife.Equals(expectedBaseLife));
+
49 double caterpieCurentLife = caterpie.CurrentLife;
+
50 double expectedCurrentLife = 294;
+
51 Assert.That(caterpieCurentLife.Equals(expectedCurrentLife));
+
52 }
+
+
53
+
57 [Test]
+
+ +
59 {
+
60 Caterpie caterpie = new Caterpie();
+
61 List<IAttack> caterpieAttacks = caterpie.GetAttacks();
+
62 int expectedLenght = 4;
+
63 Assert.That(caterpieAttacks.Count.Equals(expectedLenght));
+
64 }
+
+
65
+
69 [Test]
+
+
70 public void TestAddAFifthAttack()
+
71 {
+
72 Caterpie caterpie = new Caterpie();
+
73 List<IAttack> caterpieAttacks = caterpie.GetAttacks();
+
74 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
75 caterpie.AddAttack(attack);
+
76 int expectedLenght = 4;
+
77 Assert.That(caterpieAttacks.Count.Equals(expectedLenght));
+
78 }
+
+
79
+
83 [Test]
+
+ +
85 {
+
86 Caterpie caterpie = new Caterpie();
+
87 State? caterpieCurrentState = caterpie.CurrentState;
+
88 Assert.That(caterpieCurrentState.Equals(null));
+
89 caterpie.EditState(State.Burned);
+
90 State? caterpieCurrentState2 = caterpie.CurrentState;
+
91 Assert.That(caterpieCurrentState2.Equals(State.Burned));
+
92 }
+
+
93
+
97 [Test]
+
+
98 public void TestAsleepTurns()
+
99 {
+
100 Caterpie caterpie = new Caterpie();
+
101 int caterpieCurrentState = caterpie.AsleepTurns;
+
102 int expectedLenght = 0;
+
103 Assert.That(caterpieCurrentState.Equals(expectedLenght));
+
104 }
+
+
105
+
109 [Test]
+
+
110 public void TestAttacks()
+
111 {
+
112 Caterpie caterpie = new Caterpie();
+
113 Attack attack1 = caterpie.FindAttackByName("Bug bite");
+
114 string attack1Name = attack1.Name;
+
115 Type attack1Type = attack1.Type;
+
116 double attack1Accuracy = attack1.Accuracy;
+
117 int attack1Power = attack1.Power;
+
118 string attack1ExcpectedName = "Bug bite";
+
119 Type attack1ExcpectedType = Type.Bug;
+
120 double attack1ExcpectedAccuracy = 1;
+
121 int attack1ExcpectedPower = 20;
+
122 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
123 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
124 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
125 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
126 Attack attack2 = caterpie.FindAttackByName("Tackle");
+
127 string attack2Name = attack2.Name;
+
128 Type attack2Type = attack2.Type;
+
129 double attack2Accuracy = attack2.Accuracy;
+
130 int attack2Power = attack2.Power;
+
131 string attack2ExcpectedName = "Tackle";
+
132 Type attack2ExcpectedType = Type.Normal;
+
133 double attack2ExcpectedAccuracy = 1;
+
134 int attack2ExcpectedPower = 30;
+
135
+
136 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
137 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
138 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
139 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
140 Attack attack3 = caterpie.FindAttackByName("Bug stomp");
+
141 string attack3Name = attack3.Name;
+
142 Type attack3Type = attack3.Type;
+
143 double attack3Accuracy = attack3.Accuracy;
+
144 int attack3Power = attack3.Power;
+
145 string attack3ExcpectedName = "Bug stomp";
+
146 Type attack3ExcpectedType = Type.Bug;
+
147 double attack3ExcpectedAccuracy = 0.95;
+
148 int attack3ExcpectedPower = 70;
+
149 Assert.That(attack3Name, Is.EqualTo(attack3ExcpectedName));
+
150 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
151 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
152 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
153 if (attack3 is SpecialAttack specialAttack3)
+
154 {
+
155 State sAttack3SpecialEffect = specialAttack3.SpecialEffect;
+
156 int sAttack3Cooldown = specialAttack3.Cooldown;
+
157 State attack3ExcpectedSpecialEffect = State.Paralized;
+
158 int attack3ExcpectedCooldown = 0;
+
159 Assert.That(sAttack3SpecialEffect.Equals(attack3ExcpectedSpecialEffect));
+
160 Assert.That(sAttack3Cooldown.Equals(attack3ExcpectedCooldown));
+
161
+
162 }
+
163
+
164 Attack attack4 = caterpie.FindAttackByName("String shot");
+
165 string attack4Name = attack4.Name;
+
166 Type attack4Type = attack4.Type;
+
167 double attack4Accuracy = attack4.Accuracy;
+
168 int attack4Power = attack4.Power;
+
169 string attack4ExcpectedName = "String shot";
+
170 Type attack4ExcpectedType = Type.Bug;
+
171 double attack4ExcpectedAccuracy = 1;
+
172 int attack4ExcpectedPower = 15;
+
173 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
174 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
175 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
176 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
177 }
+
+
178
+
179
+
183 [Test]
+
+ +
185 {
+
186 Caterpie caterpie= new Caterpie();
+
187 double actualLife = caterpie.CurrentLife;
+
188 string actualLifeText = caterpie.GetLife();
+
189 caterpie.GainLife(100);
+
190 Assert.That(actualLife.Equals(caterpie.BaseLife));
+
191 Assert.That(actualLifeText.Equals("294/294", StringComparison.Ordinal));
+
192 caterpie.TakeDamage(120);
+
193 double actualLife2 = caterpie.CurrentLife;
+
194 string actualLifeText2 = caterpie.GetLife();
+
195 Assert.That(actualLife2.Equals(174));
+
196 Assert.That(actualLifeText2.Equals("174/294", StringComparison.Ordinal));
+
197 caterpie.GainLife(100);
+
198 double actualLife3 = caterpie.CurrentLife;
+
199 string actualLifeText3 = caterpie.GetLife();
+
200 Assert.That(actualLife3.Equals(274));
+
201 Assert.That(actualLifeText3.Equals("274/294", StringComparison.Ordinal));
+
202 }
+
+
203
+
207 [Test]
+
+
208 public void TestInstance()
+
209 {
+
210 Caterpie caterpie = new Caterpie();
+
211 Pokemon caterpieClone = caterpie.Instance();
+
212 Assert.That(caterpieClone,Is.TypeOf<Caterpie>());
+
213 }
+
+
214}
+
+
Test de la clase Caterpie
+
void TestName()
Test del atributo name.
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
+
void TestType()
Test del atributo type.
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
+
void TestInstance()
Test del método Instance.
+
void TestAsleepTurns()
Test del atributo asleepTurns.
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Caterpie.
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Caterpie, confirmando que fueron creados corr...
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Caterpie.
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Caterpie. Al ser un Pokemon hereda de la clase Pokemon.
Definition Caterpie.cs:8
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2CharizardTest_8cs_source.html b/docs/html/test_2LibraryTests_2CharizardTest_8cs_source.html new file mode 100644 index 0000000..ebbf8dd --- /dev/null +++ b/docs/html/test_2LibraryTests_2CharizardTest_8cs_source.html @@ -0,0 +1,351 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/CharizardTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
CharizardTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
9[TestFixture]
+
10[TestOf(typeof(Charizard))]
+
+
11public class CharizardTest
+
12{
+
13
+
17 [Test]
+
+
18 public void TestName()
+
19 {
+
20 Charizard charizard = new Charizard();
+
21 string charizardName = charizard.Name;
+
22 string expectedName = "Charizard";
+
23 Assert.That(charizardName.Equals(expectedName, StringComparison.Ordinal));
+
24 }
+
+
25
+
29 [Test]
+
+
30 public void TestType()
+
31 {
+
32 Charizard charizard = new Charizard();
+
33 Type charizardType = charizard.GetTypes()[0];
+
34 Type expectedType = Type.Fire;
+
35 Assert.That(charizardType.Equals(expectedType));
+
36 }
+
+
37
+
38
+
42 [Test]
+
+ +
44 {
+
45 Charizard charizard = new Charizard();
+
46 double charizardBaseLife = charizard.BaseLife;
+
47 double expectedBaseLife = 360;
+
48 Assert.That(charizardBaseLife.Equals(expectedBaseLife));
+
49 double charizardCurentLife = charizard.CurrentLife;
+
50 double expectedCurrentLife = 360;
+
51 Assert.That(charizardCurentLife.Equals(expectedCurrentLife));
+
52 }
+
+
53
+
54
+
58 [Test]
+
+ +
60 {
+
61 Charizard charizard = new Charizard();
+
62 List<IAttack> charizardAttacks = charizard.GetAttacks();
+
63 int expectedLenght = 4;
+
64 Assert.That(charizardAttacks.Count.Equals(expectedLenght));
+
65 }
+
+
66
+
67
+
71 [Test]
+
+
72 public void TestAddAFifthAttack()
+
73 {
+
74 Charizard charizard = new Charizard();
+
75 List<IAttack> charizardAttacks = charizard.GetAttacks();
+
76 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
77 charizard.AddAttack(attack);
+
78 int expectedLenght = 4;
+
79 Assert.That(charizardAttacks.Count.Equals(expectedLenght));
+
80 }
+
+
81
+
85 [Test]
+
+ +
87 {
+
88 Charizard charizard = new Charizard();
+
89 State? charizardCurrentState = charizard.CurrentState;
+
90 Assert.That(charizardCurrentState.Equals(null));
+
91 charizard.EditState(State.Burned);
+
92 State? charizardCurrentState2 = charizard.CurrentState;
+
93 Assert.That(charizardCurrentState2.Equals(State.Burned));
+
94 }
+
+
95
+
99 [Test]
+
+
100 public void TestAsleepTurns()
+
101 {
+
102 Charizard charizard = new Charizard();
+
103 int charizardCurrentState = charizard.AsleepTurns;
+
104 int expectedLenght = 0;
+
105 Assert.That(charizardCurrentState.Equals(expectedLenght));
+
106 }
+
+
107
+
111 [Test]
+
+
112 public void TestAttacks()
+
113 {
+
114 Charizard charizard = new Charizard();
+
115 Attack attack1 = charizard.FindAttackByName("Dragon claw");
+
116 string attack1Name = attack1.Name;
+
117 Type attack1Type = attack1.Type;
+
118 double attack1Accuracy = attack1.Accuracy;
+
119 int attack1Power = attack1.Power;
+
120 string attack1ExcpectedName = "Dragon claw";
+
121 Type attack1ExcpectedType = Type.Dragon;
+
122 double attack1ExcpectedAccuracy = 1;
+
123 int attack1ExcpectedPower = 55000;
+
124 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
125 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
126 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
127 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
128 Attack attack2 = charizard.FindAttackByName("Flamethrower");
+
129 string attack2Name = attack2.Name;
+
130 Type attack2Type = attack2.Type;
+
131 double attack2Accuracy = attack2.Accuracy;
+
132 int attack2Power = attack2.Power;
+
133 string attack2ExcpectedName = "Flamethrower";
+
134 Type attack2ExcpectedType = Type.Fire;
+
135 double attack2ExcpectedAccuracy = 1;
+
136 int attack2ExcpectedPower = 75;
+
137 if (attack2 is SpecialAttack specialAttack2)
+
138 {
+
139 State sAttack2SpecialEffect = specialAttack2.SpecialEffect;
+
140 int sAttack2Cooldown = specialAttack2.Cooldown;
+
141 State attack2ExcpectedSpecialEffect = State.Burned;
+
142 int attack2ExcpectedCooldown = 0;
+
143 Assert.That(sAttack2SpecialEffect.Equals(attack2ExcpectedSpecialEffect));
+
144 Assert.That(sAttack2Cooldown.Equals(attack2ExcpectedCooldown));
+
145
+
146 }
+
147 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
148 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
149 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
150 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
151 Attack attack3 = charizard.FindAttackByName("Wing Attack");
+
152 string attack3Name = attack3.Name;
+
153 Type attack3Type = attack3.Type;
+
154 double attack3Accuracy = attack3.Accuracy;
+
155 int attack3Power = attack3.Power;
+
156 string attack3ExcpectedName = "Wing Attack";
+
157 Type attack3ExcpectedType = Type.Flying;
+
158 double attack3ExcpectedAccuracy = 0.9;
+
159 int attack3ExcpectedPower = 40;
+
160 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
161 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
162 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
163 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
164 Attack attack4 = charizard.FindAttackByName("Fire punch");
+
165 string attack4Name = attack4.Name;
+
166 Type attack4Type = attack4.Type;
+
167 double attack4Accuracy = attack4.Accuracy;
+
168 int attack4Power = attack4.Power;
+
169 string attack4ExcpectedName = "Fire punch";
+
170 Type attack4ExcpectedType = Type.Fire;
+
171 double attack4ExcpectedAccuracy = 1;
+
172 int attack4ExcpectedPower = 50;
+
173 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
174 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
175 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
176 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
177 }
+
+
178
+
182 [Test]
+
+ +
184 {
+
185 Charizard charizard = new Charizard();
+
186 double actualLife = charizard.CurrentLife;
+
187 string actualLifeText = charizard.GetLife();
+
188 charizard.GainLife(100);
+
189 Assert.That(actualLife.Equals(charizard.BaseLife));
+
190 Assert.That(actualLifeText.Equals("360/360", StringComparison.Ordinal));
+
191 charizard.TakeDamage(120);
+
192 double actualLife2 = charizard.CurrentLife;
+
193 string actualLifeText2 = charizard.GetLife();
+
194 Assert.That(actualLife2.Equals(240));
+
195 Assert.That(actualLifeText2.Equals("240/360", StringComparison.Ordinal));
+
196 charizard.GainLife(100);
+
197 double actualLife3 = charizard.CurrentLife;
+
198 string actualLifeText3 = charizard.GetLife();
+
199 Assert.That(actualLife3.Equals(340));
+
200 Assert.That(actualLifeText3.Equals("340/360", StringComparison.Ordinal));
+
201 }
+
+
202
+
206 [Test]
+
+
207 public void TestInstance()
+
208 {
+
209 Charizard charizard = new Charizard();
+
210 Pokemon charizardClone = charizard.Instance();
+
211 Assert.That(charizardClone,Is.TypeOf<Charizard>());
+
212 }
+
+
213
+
214}
+
+
Test de la clase Charizard
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Charizard.
+
void TestName()
Test del atributo name.
+
void TestType()
Test del atributo type.
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Charizard.
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Charizard, confirmando que fueron creados cor...
+
void TestInstance()
Test del método Instance.
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
+
void TestAsleepTurns()
Test del atributo asleepTurns.
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2ChikoritaTest_8cs_source.html b/docs/html/test_2LibraryTests_2ChikoritaTest_8cs_source.html new file mode 100644 index 0000000..a1fa0fa --- /dev/null +++ b/docs/html/test_2LibraryTests_2ChikoritaTest_8cs_source.html @@ -0,0 +1,349 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/ChikoritaTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ChikoritaTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
9[TestFixture]
+
10[TestOf(typeof(Chikorita))]
+
+
11public class ChikoritaTest
+
12{
+
16 [Test]
+
+
17 public void TestName()
+
18 {
+
19 Chikorita chikorita = new Chikorita();
+
20 string chikoritaName = chikorita.Name;
+
21 string expectedName = "Chikorita";
+
22 Assert.That(chikoritaName.Equals(expectedName, StringComparison.Ordinal));
+
23 }
+
+
24
+
28 [Test]
+
+
29 public void TestType()
+
30 {
+
31 Chikorita chikorita = new Chikorita();
+
32 Type chikoritaType = chikorita.GetTypes()[0];
+
33 Type expectedType = Type.Grass;
+
34 Assert.That(chikoritaType.Equals(expectedType));
+
35 }
+
+
36
+
40 [Test]
+
+ +
42 {
+
43 Chikorita chikorita = new Chikorita();
+
44 double chikoritaBaseLife = chikorita.BaseLife;
+
45 double expectedBaseLife = 294;
+
46 Assert.That(chikoritaBaseLife.Equals(expectedBaseLife));
+
47 double chikoritaCurentLife = chikorita.CurrentLife;
+
48 double expectedCurrentLife = 294;
+
49 Assert.That(chikoritaCurentLife.Equals(expectedCurrentLife));
+
50 }
+
+
51
+
55 [Test]
+
+ +
57 {
+
58 Chikorita chikorita = new Chikorita();
+
59 List<IAttack> chikoritaAttacks = chikorita.GetAttacks();
+
60 int expectedLenght = 4;
+
61 Assert.That(chikoritaAttacks.Count.Equals(expectedLenght));
+
62 }
+
+
63
+
67 [Test]
+
+
68 public void TestAddAFifthAttack()
+
69 {
+
70 Chikorita chikorita = new Chikorita();
+
71 List<IAttack> chikoritaAttacks = chikorita.GetAttacks();
+
72 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
73 chikorita.AddAttack(attack);
+
74 int expectedLenght = 4;
+
75 Assert.That(chikoritaAttacks.Count.Equals(expectedLenght));
+
76 }
+
+
77
+
81 [Test]
+
+ +
83 {
+
84 Chikorita chikorita = new Chikorita();
+
85 State? chikoritaCurrentState = chikorita.CurrentState;
+
86 Assert.That(chikoritaCurrentState.Equals(null));
+
87 chikorita.EditState(State.Burned);
+
88 State? chikoritaCurrentState2 = chikorita.CurrentState;
+
89 Assert.That(chikoritaCurrentState2.Equals(State.Burned));
+
90 }
+
+
91
+
95 [Test]
+
+
96 public void TestAsleepTurns()
+
97 {
+
98 Chikorita chikorita = new Chikorita();
+
99 int chikoritaCurrentState = chikorita.AsleepTurns;
+
100 int expectedLenght = 0;
+
101 Assert.That(chikoritaCurrentState.Equals(expectedLenght));
+
102 }
+
+
103
+
104
+
108 [Test]
+
+
109 public void TestAttacks()
+
110 {
+
111 Chikorita chikorita = new Chikorita();
+
112 Attack attack1 = chikorita.FindAttackByName("Razor leaf");
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
+
117 string attack1ExcpectedName = "Razor leaf";
+
118 Type attack1ExcpectedType = Type.Grass;
+
119 double attack1ExcpectedAccuracy = 0.9;
+
120 int attack1ExcpectedPower = 35;
+
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
122 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
125 Attack attack2 = chikorita.FindAttackByName("Giga Drain");
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
+
130 string attack2ExcpectedName = "Giga Drain";
+
131 Type attack2ExcpectedType = Type.Grass;
+
132 double attack2ExcpectedAccuracy = 0.95;
+
133 int attack2ExcpectedPower = 70;
+
134 if (attack2 is SpecialAttack specialAttack2)
+
135 {
+
136 State sAttack2SpecialEffect = specialAttack2.SpecialEffect;
+
137 int sAttack2Cooldown = specialAttack2.Cooldown;
+
138 State attack2ExcpectedSpecialEffect = State.Paralized;
+
139 int attack2ExcpectedCooldown = 0;
+
140 Assert.That(sAttack2SpecialEffect.Equals(attack2ExcpectedSpecialEffect));
+
141 Assert.That(sAttack2Cooldown.Equals(attack2ExcpectedCooldown));
+
142
+
143 }
+
144 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
145 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
146 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
147 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
148 Attack attack3 = chikorita.FindAttackByName("Magical leaf");
+
149 string attack3Name = attack3.Name;
+
150 Type attack3Type = attack3.Type;
+
151 double attack3Accuracy = attack3.Accuracy;
+
152 int attack3Power = attack3.Power;
+
153 string attack3ExcpectedName = "Magical leaf";
+
154 Type attack3ExcpectedType = Type.Grass;
+
155 double attack3ExcpectedAccuracy = 1;
+
156 int attack3ExcpectedPower = 45;
+
157 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
158 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
159 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
160 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
161 Attack attack4 = chikorita.FindAttackByName("Body slam");
+
162 string attack4Name = attack4.Name;
+
163 Type attack4Type = attack4.Type;
+
164 double attack4Accuracy = attack4.Accuracy;
+
165 int attack4Power = attack4.Power;
+
166 string attack4ExcpectedName = "Body slam";
+
167 Type attack4ExcpectedType = Type.Normal;
+
168 double attack4ExcpectedAccuracy = 1;
+
169 int attack4ExcpectedPower = 55;
+
170 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
171 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
172 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
173 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
174 }
+
+
175
+
176
+
180 [Test]
+
+ +
182 {
+
183 Chikorita chikorita = new Chikorita();
+
184 double actualLife = chikorita.CurrentLife;
+
185 string actualLifeText = chikorita.GetLife();
+
186 chikorita.GainLife(100);
+
187 Assert.That(actualLife.Equals(chikorita.BaseLife));
+
188 Assert.That(actualLifeText.Equals("294/294", StringComparison.Ordinal));
+
189 chikorita.TakeDamage(120);
+
190 double actualLife2 = chikorita.CurrentLife;
+
191 string actualLifeText2 = chikorita.GetLife();
+
192 Assert.That(actualLife2.Equals(174));
+
193 Assert.That(actualLifeText2.Equals("174/294", StringComparison.Ordinal));
+
194 chikorita.GainLife(100);
+
195 double actualLife3 = chikorita.CurrentLife;
+
196 string actualLifeText3 = chikorita.GetLife();
+
197 Assert.That(actualLife3.Equals(274));
+
198 Assert.That(actualLifeText3.Equals("274/294", StringComparison.Ordinal));
+
199 }
+
+
200
+
204 [Test]
+
+
205 public void TestInstance()
+
206 {
+
207 Chikorita chikorita = new Chikorita();
+
208 Pokemon chikoritaClone = chikorita.Instance();
+
209 Assert.That(chikoritaClone,Is.TypeOf<Chikorita>());
+
210 }
+
+
211
+
212}
+
+
Test de la clase Chikorita
+
void TestAsleepTurns()
Test del atributo asleepTurns.
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Chikorita, confirmando que fueron creados cor...
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
+
void TestName()
Test del atributo name.
+
void TestType()
Test del atributo type.
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Chikorita.
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Chikorita.
+
void TestInstance()
Test del método Instance.
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Chikorita. Al ser un Pokemon hereda de la clase Pokemon.
Definition Chikorita.cs:8
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2FacadeTest_8cs_source.html b/docs/html/test_2LibraryTests_2FacadeTest_8cs_source.html new file mode 100644 index 0000000..db8d94f --- /dev/null +++ b/docs/html/test_2LibraryTests_2FacadeTest_8cs_source.html @@ -0,0 +1,784 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/FacadeTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
FacadeTest.cs
+
+
+
1using System.Security.AccessControl;
+
2using Library;
+ +
4using NUnit.Framework;
+
5using NUnit.Framework.Internal.Execution;
+
6using Type = System.Type;
+
7
+
8namespace LibraryTests;
+
9
+
13[TestFixture]
+
14[TestOf(typeof(Facade))]
+
+
15public class FacadeTest
+
16{
+
17 [SetUp]
+
18 public void SetUp()
+
19 {
+ +
21 }
+
22
+
26 [Test]
+
+ +
28 {
+ + + +
32 string result = "El pokemon Caterpie fue añadido al equipo de mateo.\nElegiste 1/6";
+
33 Assert.That(Facade.Instance.ChooseTeam("mateo", "Caterpie"), Is.EqualTo(result));
+
34 }
+
+
35
+
39 [Test]
+
+ +
41 {
+ + + +
45 Facade.Instance.ChooseTeam("mateo", "Caterpie");
+
46 string result = "El pokemon Caterpie ya está en el equipo de mateo, no puedes volver a añadirlo";
+
47 Assert.That(Facade.Instance.ChooseTeam("mateo", "Caterpie"), Is.EqualTo(result));
+
48 }
+
+
49
+
54 [Test]
+
+ +
56 {
+ + + +
60 Facade.Instance.ChooseTeam("mateo", "Caterpie");
+
61 Facade.Instance.ChooseTeam("mateo", "Charizard");
+
62 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
63 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
64 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
65
+
66 string result = $"El pokemon Pikachu fue añadido al equipo de mateo\nTu equipo está completo.";
+
67 Assert.That(Facade.Instance.ChooseTeam("mateo", "Pikachu"), Is.EqualTo(result));
+
68 }
+
+
69
+
73 [Test]
+
+ +
75 {
+ + + +
79 Facade.Instance.ChooseTeam("mateo", "Caterpie");
+
80 Facade.Instance.ChooseTeam("mateo", "Charizard");
+
81 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
82 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
83 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
84 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
85
+
86 string result = "mateo, ya tienes 6 pokemones en el equipo, no puedes elegir más";
+
87 Assert.That(Facade.Instance.ChooseTeam("mateo", "Pikachu"), Is.EqualTo(result));
+
88 }
+
+
89
+
93 [Test]
+
+ +
95 {
+
96 string result = "mateo, para poder elegir un equipo, primero debes estar en una batalla";
+
97 Assert.That(Facade.Instance.ChooseTeam("mateo", "Pikachu"), Is.EqualTo(result));
+
98 }
+
+
99
+
103 [Test]
+
+ +
105 {
+ + + +
109 string result = "mateo, el pokemon Chocolate no fue encontrado";
+
110 Assert.That(Facade.Instance.ChooseTeam("mateo", "Chocolate"), Is.EqualTo(result));
+
111 }
+
+
112
+
113
+
118 [Test]
+
+
119 public void TestUserStory2()
+
120 {
+
121 Assert.That(Facade.Instance.ShowAtacks("mateo"), Is.EqualTo("mateo, no estás en ninguna partida."));
+
122
+ + + +
126
+
127 Assert.That(Facade.Instance.ShowAtacks("mateo"), Is.EqualTo("mateo, no tienes ningun Pokemon."));
+
128
+
129 Facade.Instance.ChooseTeam("mateo", "Caterpie");
+
130 string result =
+
131 "mateo, estos son los ataques de tu Pokemon activo:\n**Bug bite**: tipo *Bug*, precisión *100*, potencia *20*\n**Tackle**: tipo *Normal*, precisión *100*, potencia *30*\n**Bug stomp**: tipo *Bug*, precisión *95*, potencia *70*, efecto especial *Paralized*, cooldown de uso actual *0*\n**String shot**: tipo *Bug*, precisión *100*, potencia *15*\n";
+
132 string mateo = Facade.Instance.ShowAtacks("mateo");
+
133 Assert.That(mateo, Is.EqualTo(result));
+
134 }
+
+
135
+
140 [Test]
+
+ +
142 {
+
143 string result = "El jugador facu no está en ninguna partida.";
+
144 Assert.That(Facade.Instance.ShowPokemonsHp("facu", null), Is.EqualTo(result));
+
145 }
+
+
146
+
150 [Test]
+
+ +
152 {
+ + + +
156 Facade.Instance.ChooseTeam("facu", "Charizard");
+
157 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
158 string result1 = $"facu esta es la vida de tus Pokemons: \n**Charizard: 360/360 (Fire)**\n";
+
159 Assert.That(Facade.Instance.ShowPokemonsHp("facu", null), Is.EqualTo(result1));
+
160 string result2 = "ines aún no tiene su equipo completo.";
+
161 Assert.That(Facade.Instance.ShowPokemonsHp("facu", "ines"), Is.EqualTo(result2));
+
162 }
+
+
163
+
168 [Test]
+
+ +
170 {
+ + +
173 Facade.Instance.StartGame("mateo", "ines", new StrategyPlayerOneStart());
+
174 Facade.Instance.ChooseTeam("mateo", "Charizard");
+
175 Facade.Instance.ChooseTeam("mateo", "Chikorita");
+
176 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
177 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
178 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
179 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
180 Facade.Instance.ChooseTeam("ines", "Caterpie");
+
181 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
182 Facade.Instance.ChooseTeam("ines", "Gengar");
+
183 Facade.Instance.ChooseTeam("ines", "Dragonite");
+
184 Facade.Instance.ChooseTeam("ines", "Haxorus");
+
185 Facade.Instance.ChooseTeam("ines", "Pikachu");
+ +
187
+
188 string result1 =
+
189 "mateo esta es la vida de tus Pokemons: \n**Charizard: 360/360 (Fire)**\nChikorita: 294/294 (Grass)\n" +
+
190 "Gengar: 324/324 (Ghost)\nDragonite: 460/460 (Dragon)\nHaxorus: 356/356 (Dragon)\nPikachu: 295/295 (Electric)\n";
+
191
+
192 string result2 =
+
193 "Esta es la vida de los Pokemons de ines: \n**Caterpie: 115/294 (Bug)** **(Burned)**\nChikorita: 294/294 (Grass)\n" +
+
194 "Gengar: 324/324 (Ghost)\nDragonite: 460/460 (Dragon)\nHaxorus: 356/356 (Dragon)\nPikachu: 295/295 (Electric)\n";
+
195
+
196 Facade.Instance.ChooseAttack("mateo", "Flamethrower");
+
197
+
198 Assert.That(Facade.Instance.ShowPokemonsHp("mateo", null), Is.EqualTo(result1));
+
199 Assert.That(Facade.Instance.ShowPokemonsHp("mateo", "ines"), Is.EqualTo(result2));
+
200 }
+
+
201
+
202
+
206 [Test]
+
+ +
208 {
+
209 string result = Facade.Instance.ChooseAttack("facu", "Flamethrower");
+
210 Assert.That(result, Is.EqualTo("facu, para poder atacar necesitas estar en una batalla."));
+
211 }
+
+
212
+
216 [Test]
+
+ +
218 {
+ + + +
222 Facade.Instance.ChooseTeam("facu", "Charizard");
+
223 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
224 Facade.Instance.ChooseAttack("facu", "Flamethrower");
+
225 string result = "facu, alguno de los jugadores no ha completado el equipo";
+
226 }
+
+
227
+
232 [Test]
+
+ +
234 {
+ + +
237 Facade.Instance.StartGame("mateo", "ines", new StrategyPlayerOneStart());
+
238 Facade.Instance.ChooseTeam("mateo", "Charizard");
+
239 Facade.Instance.ChooseTeam("mateo", "Chikorita");
+
240 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
241 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
242 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
243 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
244 Facade.Instance.ChooseTeam("ines", "Caterpie");
+
245 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
246 Facade.Instance.ChooseTeam("ines", "Gengar");
+
247 Facade.Instance.ChooseTeam("ines", "Dragonite");
+
248 Facade.Instance.ChooseTeam("ines", "Haxorus");
+
249 Facade.Instance.ChooseTeam("ines", "Pikachu");
+
250
+
251 string result1 = Facade.Instance.ChooseAttack("ines", "Bug bite");
+
252 string result2 = Facade.Instance.ChooseAttack("mateo", "aaa");
+
253 string expectedResult2 = "El ataque aaa no pudo ser encontrado";
+
254
+
255 Assert.That(Facade.Instance.ChooseAttack("mateo", "Wing Attack"), Is.EqualTo("El Caterpie de ines recibió 80 puntos de daño.\n¡Es super efectivo!\n\nPróximo turno, ahora es el turno de ines"));
+
256 Assert.That(result1, Is.EqualTo("ines, no eres el jugador activo"));
+
257 Assert.That(result2, Is.EqualTo(expectedResult2));
+
258 }
+
+
259
+
263 [Test]
+
+ +
265 {
+ + +
268 Facade.Instance.StartGame("mateo", "ines", new StrategyPlayerOneStart());
+
269 Facade.Instance.ChooseTeam("mateo", "Charizard");
+
270 Facade.Instance.ChooseTeam("mateo", "Chikorita");
+
271 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
272 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
273 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
274 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
275 Facade.Instance.ChooseTeam("ines", "Caterpie");
+
276 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
277 Facade.Instance.ChooseTeam("ines", "Gengar");
+
278 Facade.Instance.ChooseTeam("ines", "Dragonite");
+
279 Facade.Instance.ChooseTeam("ines", "Haxorus");
+
280 Facade.Instance.ChooseTeam("ines", "Pikachu");
+
281 Assert.That(
+
282 Facade.Instance.ChooseAttack("mateo", "Flamethrower")
+
283 .Contains("¡Es super efectivo!", StringComparison.OrdinalIgnoreCase), Is.True);
+
284 }
+
+
285
+
289 [Test]
+
+ +
291 {
+ + +
294 Facade.Instance.StartGame("mateo", "ines", new StrategyPlayerOneStart());
+
295 Facade.Instance.ChooseTeam("mateo", "Zeraora");
+
296 Facade.Instance.ChooseTeam("mateo", "Chikorita");
+
297 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
298 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
299 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
300 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
301 Facade.Instance.ChooseTeam("ines", "Pikachu");
+
302 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
303 Facade.Instance.ChooseTeam("ines", "Gengar");
+
304 Facade.Instance.ChooseTeam("ines", "Dragonite");
+
305 Facade.Instance.ChooseTeam("ines", "Haxorus");
+
306 Facade.Instance.ChooseTeam("ines", "Charizard");
+
307 Assert.That(Facade.Instance.ChooseAttack("mateo", "Plasma Fist").Contains("es inmune a ataques de tipo Electric", StringComparison.OrdinalIgnoreCase), Is.True);
+
308 }
+
+
309
+
313 [Test]
+
+ +
315 {
+ + +
318 Facade.Instance.StartGame("mateo", "ines", new StrategyPlayerOneStart());
+
319 Facade.Instance.ChooseTeam("mateo", "Chikorita");
+
320 Facade.Instance.ChooseTeam("mateo", "Zeraora");
+
321 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
322 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
323 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
324 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
325 Facade.Instance.ChooseTeam("ines", "Charizard");
+
326 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
327 Facade.Instance.ChooseTeam("ines", "Gengar");
+
328 Facade.Instance.ChooseTeam("ines", "Dragonite");
+
329 Facade.Instance.ChooseTeam("ines", "Haxorus");
+
330 Facade.Instance.ChooseTeam("ines", "Pikachu");
+
331 Assert.That(Facade.Instance.ChooseAttack("mateo", "Razor leaf").Contains("No es muy efectivo...", StringComparison.OrdinalIgnoreCase), Is.True);
+
332 }
+
+
333
+
337 [Test]
+
+
338 public void TestUserStory5()
+
339 {
+ + +
342 Facade.Instance.StartGame("facu", "ines", new StrategyPlayerOneStart());
+
343 Assert.That(Facade.Instance.CheckTurn("facu"), Is.EqualTo("facu, es tu turno"));
+
344 Assert.That(Facade.Instance.CheckTurn("ines"), Is.EqualTo("ines, no es tu turno"));
+
345 }
+
+
346
+
350 [Test]
+
+ +
352 {
+
353 Assert.That(Facade.Instance.CheckTurn("facu"), Is.EqualTo("El jugador facu no está en ninguna partida."));
+
354 }
+
+
355
+
356
+
360 [Test]
+
+ +
362 {
+
363 Assert.That(Facade.Instance.CheckGameStatus(null), Is.EqualTo("La partida no pudo ser encontrada"));
+
364 }
+
+
365
+
369 [Test]
+
+
370 public void TestUserStory6()
+
371 {
+
372 Player mateo = new Player("mateo");
+
373 Player ines = new Player("ines");
+
374 Game game = new Game(mateo, ines, new StrategyPlayerOneStart());
+
375 Gengar gengar = new Gengar();
+
376 Haxorus haxorus = new Haxorus();
+
377 mateo.AddToTeam(gengar);
+
378 ines.AddToTeam(haxorus);
+
379
+
380 game.NextTurn();
+
381 string expected = Facade.Instance.CheckGameStatus(game);
+
382
+
383 Assert.That(expected, Is.EqualTo("Próximo turno, ahora es el turno de ines"));
+
384 }
+
+
385
+
389 [Test]
+
+ +
391 {
+ + +
394 Facade.Instance.StartGame("mateo", "ines", new StrategyPlayerOneStart());
+ +
396 Facade.Instance.ChooseTeam("mateo", "Charizard");
+
397 Facade.Instance.ChooseTeam("mateo", "Chikorita");
+
398 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
399 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
400 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
401 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
402 Facade.Instance.ChooseTeam("ines", "Caterpie");
+
403 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
404 Facade.Instance.ChooseTeam("ines", "Gengar");
+
405 Facade.Instance.ChooseTeam("ines", "Dragonite");
+
406 Facade.Instance.ChooseTeam("ines", "Haxorus");
+
407 Facade.Instance.ChooseTeam("ines", "Pikachu");
+
408 Facade.Instance.ChooseAttack("mateo", "Dragon claw");
+
409 Facade.Instance.ChangePokemon("ines","Pikachu");
+
410 Facade.Instance.ChooseAttack("mateo", "Dragon claw");
+
411 Facade.Instance.ChangePokemon("ines","Dragonite");
+
412 Facade.Instance.ChooseAttack("mateo", "Dragon claw");
+
413 Facade.Instance.ChangePokemon("ines","Haxorus");
+
414 Facade.Instance.ChooseAttack("mateo", "Dragon claw");
+
415 Facade.Instance.ChangePokemon("ines","Gengar");
+
416 Facade.Instance.ChooseAttack("mateo", "Dragon claw");
+
417 Facade.Instance.ChooseAttack("ines", "Razor leaf");
+
418 Assert.That(Facade.Instance.ChooseAttack("mateo", "Dragon claw"), Is.EqualTo("El Chikorita de ines recibió 55000 puntos de daño\nPERECIÓ :'( \n\nGanador: mateo. Perdedor: ines"));
+
419 }
+
+
420
+
425 [Test]
+
+ +
427 {
+
428 Assert.That(Facade.Instance.ChangePokemon("mateo", "Pikachu"),
+
429 Is.EqualTo("El jugador mateo no está en ninguna partida."));
+
430 }
+
+
431
+
437 [Test]
+
+
438 public void TestUserStory7(){
+ + +
441 Facade.Instance.StartGame("facu", "ines", new StrategyPlayerTwoStart());
+
442 Facade.Instance.ChooseTeam("facu", "Charizard");
+
443 Facade.Instance.ChooseTeam("facu", "Gengar");
+
444 Facade.Instance.ChooseTeam("ines", "Mewtwo");
+
445 Facade.Instance.ChooseTeam("ines", "Charizard");
+
446 Assert.That(Facade.Instance.ChangePokemon("ines", "Gengar"),
+
447 Is.EqualTo("Alguno de los jugadores no ha seleccionado 6 Pokemons para iniciar el combate"));
+
448
+
449 Assert.That(Facade.Instance.ChangePokemon("facu", "Gengar"),
+
450 Is.EqualTo("facu, no eres el jugador activo, no puedes realizar acciones"));
+
451
+ + +
454 Assert.That(Facade.Instance.ChangePokemon("ines", "pokemon inexistente"),
+
455 Is.EqualTo("Ese Pokemon no está en tu equipo.\n"));
+
456
+
457 Assert.That(Facade.Instance.ChangePokemon("ines", "Mewtwo"),
+
458 Is.EqualTo("Ese ya es tu Pokemon activo\n"));
+
459
+
460 Assert.That(Facade.Instance.ChangePokemon("ines", "Charizard"),
+
461 Is.EqualTo("Charizard es tu nuevo Pokemon activo.\n\nPróximo turno, ahora es el turno de facu"));
+
462 }
+
+
463
+
464
+
468 [Test]
+
+ +
470 {
+
471 string result = Facade.Instance.UseAnItem("facu", "Super Potion", "Charizard");
+
472 Assert.That(result, Is.EqualTo("El jugador facu no está en ninguna partida."));
+
473 }
+
+
474
+
478 [Test]
+
+ +
480 {
+ + +
483 Facade.Instance.StartGame("facu", "ines", new StrategyPlayerOneStart());
+
484 Facade.Instance.ChooseTeam("facu", "Charizard");
+
485 string excpected = Facade.Instance.UseAnItem("facu", "Super Potion", "Charizard");
+
486 Assert.That(excpected, Is.EqualTo("Ambos jugadores no han seleccionado 6 pokemones para iniciar el combate"));
+
487 }
+
+
488
+
492 [Test]
+
+ +
494 {
+ + +
497 Facade.Instance.StartGame("mateo", "ines", new StrategyPlayerOneStart());
+
498 Facade.Instance.ChooseTeam("mateo", "Charizard");
+
499 Facade.Instance.ChooseTeam("mateo", "Chikorita");
+
500 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
501 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
502 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
503 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
504 Facade.Instance.ChooseTeam("ines", "Caterpie");
+
505 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
506 Facade.Instance.ChooseTeam("ines", "Gengar");
+
507 Facade.Instance.ChooseTeam("ines", "Dragonite");
+
508 Facade.Instance.ChooseTeam("ines", "Haxorus");
+
509 Facade.Instance.ChooseTeam("ines", "Pikachu");
+
510
+
511 string result = Facade.Instance.UseAnItem("ines", "Full Health", "Chikorita");
+
512 Assert.That(result, Is.EqualTo("ines, no eres el jugador activo, no puedes realizar acciones"));
+
513 }
+
+
514
+
518 [Test]
+
+ +
520 {
+ + +
523 Facade.Instance.StartGame("mateo", "ines", new StrategyPlayerOneStart());
+
524 Facade.Instance.ChooseTeam("mateo", "Charizard");
+
525 Facade.Instance.ChooseTeam("mateo", "Chikorita");
+
526 Facade.Instance.ChooseTeam("mateo", "Gengar");
+
527 Facade.Instance.ChooseTeam("mateo", "Dragonite");
+
528 Facade.Instance.ChooseTeam("mateo", "Haxorus");
+
529 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
530 Facade.Instance.ChooseTeam("ines", "Caterpie");
+
531 Facade.Instance.ChooseTeam("ines", "Chikorita");
+
532 Facade.Instance.ChooseTeam("ines", "Gengar");
+
533 Facade.Instance.ChooseTeam("ines", "Dragonite");
+
534 Facade.Instance.ChooseTeam("ines", "Haxorus");
+
535 Facade.Instance.ChooseTeam("ines", "Pikachu");
+
536
+
537 Facade.Instance.ChooseAttack("mateo", "Fire punch");
+
538
+
539 string result = Facade.Instance.UseAnItem("ines", "Super Potion", "Caterpie");
+
540 string expected = $"ines, tu Caterpie ha ganado 70HP.\n¡Super Potion utilizada con éxito!\n\nPróximo turno, ahora es el turno de mateo";
+
541 Assert.That(result, Is.EqualTo(expected));
+
542 }
+
+
543
+
544
+
548 [Test]
+
+
549 public void TestUserStory9()
+
550 {
+
551 Assert.That(Facade.Instance.AddPlayerToWaitingList("facu"), Is.EqualTo("facu agregado a la lista de espera"));
+
552 Assert.That(Facade.Instance.AddPlayerToWaitingList("facu"), Is.EqualTo("facu ya está en la lista de espera"));
+
553 }
+
+
554
+
558 [Test]
+
+
559 public void TestUserStory9_1()
+
560 {
+
561 Assert.That(Facade.Instance.RemovePlayerFromWaitingList("facu"), Is.EqualTo("facu no está en la lista de espera"));
+ +
563 Assert.That(Facade.Instance.RemovePlayerFromWaitingList("facu"), Is.EqualTo("facu removido de la lista de espera"));
+
564
+
565 }
+
+
566
+
567
+
571 [Test]
+
+
572 public void TestUserStory10()
+
573 {
+
574 Assert.That(Facade.Instance.GetAllPlayersWaiting(), Is.EqualTo("No hay nadie esperando"));
+ +
576 Assert.That(Facade.Instance.GetAllPlayersWaiting(), Is.EqualTo("Esperan: facu; "));
+ +
578 Assert.That(Facade.Instance.GetAllPlayersWaiting(), Is.EqualTo("Esperan: facu; ines; "));
+
579 }
+
+
580
+
581
+
585 [Test]
+
+
586 public void TestUserStory11()
+
587 {
+
588 Assert.That(Facade.Instance.StartGame("facu", null, new StrategyRandomStartingPlayer()), Is.EqualTo("facu, no estás en la lista de espera"));
+
589 Assert.That(Facade.Instance.StartGame("facu", "ines", new StrategyRandomStartingPlayer()), Is.EqualTo("facu, no estás en la lista de espera"));
+ + +
592 Assert.That(Facade.Instance.StartGame("facu", "ines", new StrategyRandomStartingPlayer()).Contains("Comienza facu Vs. ines"));
+ +
594 Assert.That(Facade.Instance.StartGame("facu", null, new StrategyRandomStartingPlayer()), Is.EqualTo("facu ya está en una partida"));
+
595 Assert.That(Facade.Instance.StartGame("mateo", "facu", new StrategyRandomStartingPlayer()), Is.EqualTo("facu no está esperando"));
+
596 Assert.That(Facade.Instance.StartGame("mateo", null, new StrategyRandomStartingPlayer()), Is.EqualTo("No hay nadie más en la lista de espera"));
+ +
598 Assert.That(Facade.Instance.StartGame("mateo", null, new StrategyRandomStartingPlayer()).Contains("Comienza mateo Vs. mati"));
+
599 }
+
+
600
+
604 [Test]
+
+
605 public void TestSurrender()
+
606 {
+ +
608 string result1 = Facade.Instance.Surrender("Facu");
+
609 Assert.That(result1, Is.EqualTo("Facu, Para rendirte primero debes estar en una batalla"));
+ + +
612 string result2 = Facade.Instance.Surrender("Facu");
+
613 Assert.That(result2, Is.EqualTo("El jugador Facu se ha rendido.\nGanador: Mati \nPerdedor: Facu"));
+
614 }
+
+
615
+
619 [Test]
+
+
620 public void TestShowItems()
+
621 {
+
622 Assert.That(Facade.Instance.ShowItems("mateo"), Is.EqualTo(("mateo, no estás en una partida.")));
+ + +
625 Facade.Instance.StartGame("mateo", "pepe", new StrategyPlayerOneStart());
+
626 Assert.That(Facade.Instance.ShowItems("mateo"), Is.EqualTo("mateo, estos son tus items disponibles:\n1 Revive\n4 Super Potion\n2 Full Health\n"));
+
627 Facade.Instance.ChooseTeam("mateo", "Pikachu");
+
628 Facade.Instance.ChooseTeam("pepe", "Charizard");
+ + +
631 Facade.Instance.ChooseAttack("mateo", "Thunder Shock");
+
632 Facade.Instance.UseAnItem("pepe", "Super Potion", "Charizard");
+
633 Assert.That(Facade.Instance.ShowItems("pepe"), Is.EqualTo("pepe, estos son tus items disponibles:\n1 Revive\n3 Super Potion\n2 Full Health\n"));
+
634 }
+
+
635
+
636
+
637 [Test]
+
638 public void TestEditDamageCalculatorStrategy()
+
639 {
+ + +
642 Assert.That(Facade.Instance.EditDamageCalculatorStrategy("Facu",new StrategyNonCrit()),Is.EqualTo("Facu, no estás en una partida."));
+ +
644 Assert.That(Facade.Instance.EditDamageCalculatorStrategy("Facu",new StrategyNonCrit()),Is.EqualTo("Estrategia de daño crítico ha sido modificada"));
+
645 }
+
646
+
647}
+
+
Test de la clase Facade
Definition FacadeTest.cs:16
+
void TestUserStory1Add1Pokemon()
Verifica que un jugador puede añadir un Pokemon a su equipo.
Definition FacadeTest.cs:27
+
void TestUserStory4IncompleteTeams()
Verifica que si alguno de los jugadores no tiene su equipo completo, no pueden realizarse ataques.
+
void TestUserStory6()
Verifica que se muestra el estado correcto del juego, indicando de quien es el siguiente turno.
+
void TestUserStory8InactivePlayer()
Verifica que el jugador inactivo no pueda usar items.
+
void TestUserStory10()
Verifica que la lista de jugadores en espera se muestre correctamente.
+
void TestUserStory4NullPlayer()
Verifica que un jugador no puede realizar un ataque si no está en una partida.
+
void TestUserStory6NullGame()
Verifica que se muestra un mensaje de error al corroborar el estado de una partida si la misma no se ...
+
void TestUserStory2()
Verifica que un jugador puede ver los ataques de su Pokemon activo. Si el jugador no tiene Pokemon,...
+
void TestUserStory1LastPokemon()
Verifica que cuando el jugador completa su equipo con 6 Pokemon, se muestra un mensaje indicando que ...
Definition FacadeTest.cs:55
+
void TestUserStory4NotVeryEffective()
Verifica que se puede realizar daño en base a las efectividades.
+
void TestSurrender()
Verifica que un jugador solo pueda rendirse si está en una partida activa.
+
void TestUserStory1RepeatedPokemon()
Comprueba que no se puede añadir un Pokemon ya presente en el equipo del jugador.
Definition FacadeTest.cs:40
+
void TestUserStory9()
Valida que un jugador pueda ser agregado correctamente a la lista de espera.
+
void TestUserStory8NullPlayer()
Verifica que se muestra un mensaje de error si un jugador intenta usar un item sin estar en una parti...
+
void TestUserStory8PlayersNotReady()
Verifica que un jugador no puede usar un item si el otro jugador no ha completado su equipo.
+
void TestUserStory5UnknownPlayer()
Verifica que se muestra un mensaje de error al verificar el turno si el jugador no está en ninguna pa...
+
void TestUserStory1PlayerNotInGame()
Verifica que se muestre un mensaje de error cuando un jugador intenta elegir un Pokemon sin estar en ...
Definition FacadeTest.cs:94
+
void TestUserStory4FullTeams()
Verifica que un jugador puede realizar un ataque solo si es el jugador activo y si el ataque existe e...
+
void TestShowItems()
Verifica que los items disponibles de un jugador se muestren correctamente.
+
void TestUserStory6WinnerTest()
Verifica que se muestre un mensaje indicando.
+
void TestUserStory3FullTeams()
Verifica que cuando ambos jugadores tienen equipos completos, se puede muestrar el HP de los Pokemon ...
+
void TestUserStory8ExpectedUse()
Verifica que el jugador activo pueda usar un item correctamente.
+
void TestUserStory7()
Verifica que un jugador puede cambiar su Pokémon activo solo si está en una partida y si el Pokemon p...
+
void TestUserStory11()
Verifica la lógica de inicio de partida entre dos jugadores en espera.
+
void TestUserStory5()
Verifica que se muestre correctamente de que jugador es el turno.
+
void TestUserStory1UnknownPokemon()
Verifica que si un jugador intenta elegir un Pokemon inexistente, se muestra un mensaje de error.
+
void TestUserStory1FullTeam()
Comprueba que no se pueden agregar más de 6 Pokemon a un equipo.
Definition FacadeTest.cs:74
+
void TestUserStory4Inmune()
Verifica que se puede realizar daño en base a las efectividades.
+
void TestUserStory3NullPlayer()
Verifica que si un jugador no está en ninguna partida, se muestra un mensaje de error al intentar ver...
+
void TestUserStory31Pokemon()
Verifica que se muestra el HP de los Pokemon del jugador y también si otro jugador no ha completado s...
+
void TestUserStory7NotInGame()
Verifica que se muestra un mensaje de error si un jugador intenta cambiar su Pokemon activo sin estar...
+
void TestUserStory9_1()
Verifica que un jugador pueda ser eliminado de la lista de espera correctamente.
+
void TestUserStory4SuperEffectiveAttack()
Verifica que se puede realizar daño en base a las efectividades.
+
Esta clase representa la fachada, la cual tiene los métodos escenciales para el funcionamiento del ch...
Definition Facade.cs:9
+
static string ShowPokemonsHp(string playerName, string playerToCheckName=null)
Historia de usuario 3: Muestra los puntos de vida (HP) de los Pokemon de un jugador.
Definition Facade.cs:89
+
static string StartGame(string playerName, string opponentName)
Historia de usuario 11.1: Inicia una batalla entre dos jugadores, eligiendo un oponente específico o ...
Definition Facade.cs:383
+
static string CheckGameStatus(Game game)
Historia de usuario 6: Comprueba el estado de una partida y determina si continúa o hay un ganador.
Definition Facade.cs:209
+
string Surrender(string playerName)
Elimina la partida de la lista de partidas em curso.
Definition Facade.cs:524
+
static string ChooseTeam(string playerName, string cPokemon)
Historia 1: Permite a un jugador agregar un Pokemon al equipo desde el catálogo.
Definition Facade.cs:26
+
static string GetAllPlayersWaiting()
Historia de usuario 10 Muestra todos los jugadores actualmente en la lista de espera.
Definition Facade.cs:340
+
string ChooseRandom(string playerName)
Completa aleatoriamente el equipo de Pokemons.
Definition Facade.cs:568
+
static string ChooseAttack(string playerName, string attackName)
Historia de usuario 4: Permite a un jugador elegir y ejecutar un ataque durante su turno en una parti...
Definition Facade.cs:127
+
static string ShowAtacks(string playerName)
Historia de usuario 2: Muestra los ataques disponibles del Pokemon activo de un jugador.
Definition Facade.cs:71
+
static string RemovePlayerFromWaitingList(string playerName)
Historia de usuario 9.1: Remueve un jugador de la lista de espera.
Definition Facade.cs:328
+
void Reset()
Restablece la instancia a null, permitiendo crear una nueva. Solo se utiliza en los tests.
Definition Facade.cs:49
+
static string ChangePokemon(string playerName, string pokemonName)
Historia de usuario 7: Permite a un jugador activo cambiar su Pokemon actual durante su turno en una ...
Definition Facade.cs:234
+
static string UseAnItem(string playerName, string item, string pokemon)
Historia de usuario 8 Permite a un jugador usar un item en un Pokemon.
Definition Facade.cs:283
+
string EditDamageCalculatorStrategy(string playerName, IStrategyCritCheck strategyCritCheck)
Este método se encarga de cambiar la estrategia asignada en la calculadora de daño....
Definition Facade.cs:598
+
static string CheckTurn(string playerName)
Historia de usuario 5: Comprueba si es el turno de un jugador y muestra las opciones disponibles.
Definition Facade.cs:176
+
static string AddPlayerToWaitingList(string playerName)
Historia de usuario 9: Agrega un jugador a la lista de espera.
Definition Facade.cs:307
+
string ShowItems(string playerName)
Muestra los items del jugador.
Definition Facade.cs:546
+
static Facade Instance
Crea una nueva instancia de la clase Fachada si aún no existe. Implementando así el patrón singleton.
Definition Facade.cs:34
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
void NextTurn()
Avanza al siguiente turno del juego. Actualiza el contador de turnos, reduce el cooldown de los ataqu...
Definition Game.cs:121
+
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
Esta clase representa el Pokemon Haxorus. Al ser un Pokemon hereda de la clase Pokemon.
Definition Haxorus.cs:8
+
Esta clase representa un jugador.
Definition Player.cs:8
+
void AddToTeam(Pokemon pokemon)
Agrega un pokemon a la lista de pokemons del jugador.
Definition Player.cs:51
+
Esta clase representa una estrategia que determina el daño crítico hecho por el ataque de un pokemon....
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+ + + +
Type
Representa los tipos.
Definition Type.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2FullHealthTests_8cs_source.html b/docs/html/test_2LibraryTests_2FullHealthTests_8cs_source.html new file mode 100644 index 0000000..5900931 --- /dev/null +++ b/docs/html/test_2LibraryTests_2FullHealthTests_8cs_source.html @@ -0,0 +1,171 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/FullHealthTests.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
FullHealthTests.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3namespace LibraryTests;
+
4
+
8
+
+
9public class FullHealthTest
+
10{
+
11 [SetUp]
+
12 public void Setup()
+
13 {
+
14 }
+
15
+
19 [Test]
+
+ +
21 {
+
22 FullHealth fullHealthItem = new FullHealth();
+
23 Charizard charizard = new Charizard();
+
24 charizard.CurrentState = State.Asleep;
+
25 fullHealthItem.Use(charizard);
+
26 Assert.That(charizard.CurrentState.Equals(null));
+
27 }
+
+
28
+
33 [Test]
+
+ +
35 {
+
36 FullHealth fullHealthItem = new FullHealth();
+
37 Charizard charizard = new Charizard();
+
38 string result = fullHealthItem.Use(charizard);
+
39 Assert.That(result.Equals("Charizard no tiene ningún estado negativo"));
+
40 }
+
+
41
+
45 [Test]
+
+ +
47 {
+
48 FullHealth fullHealthItem = new FullHealth();
+
49 string result = fullHealthItem.Use(null);
+
50 Assert.That(fullHealthItem.Use(null), Is.Null);
+
51 }
+
+
52
+
53}
+
+
Test de la clase FullHealth
+
void FullHealthNullPokemon()
Verifica que al intentar usar una FullHealth sobre un Pokemon nulo, el resultado sea nulo.
+
void FullHealthCorrectUse()
Verifica que al usar una FullHealth sobre un Pokemon dormido, su estado se restablezca correctamente.
+
void FullHealthUseOnHealthyPokemon()
Verifica que al usar una FullHealth sobre un Pokemon sin estado negativo, el resultado sea un mensaje...
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
Esta clase representa el item FullHealth. Al ser un item implementa la interfaz IItem.
Definition FullHealth.cs:8
+
string Use(Pokemon pokemon)
Le quita cualquier estado negativo al Pokemon.
Definition FullHealth.cs:19
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+ + +
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2GameTest_8cs_source.html b/docs/html/test_2LibraryTests_2GameTest_8cs_source.html new file mode 100644 index 0000000..f2a91ff --- /dev/null +++ b/docs/html/test_2LibraryTests_2GameTest_8cs_source.html @@ -0,0 +1,199 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/GameTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
GameTest.cs
+
+
+
1using Library;
+ +
3using NUnit.Framework;
+
4
+
5namespace LibraryTests;
+
6
+
7[TestFixture]
+
8[TestOf(typeof(Game))]
+
+
9public class GameTest
+
10{
+
11 [SetUp]
+
12 public void Setup()
+
13 {
+
14 }
+
15
+
19 [Test]
+
+
20 public void TestChangePokemon()
+
21 {
+
22 Player player1 = new Player("1");
+
23 Player player2 = new Player("2");
+
24 Game game = new Game(player1, player2, new StrategyPlayerOneStart());
+
25 Charizard charizard= new Charizard();
+
26 Gengar gengar = new Gengar();
+
27 player1.SetActivePokemon(charizard);
+
28 game.ChangePokemon(gengar);
+
29 Assert.That($"{gengar.Name} es tu nuevo Pokemon activo.", Is.EqualTo($"{gengar.Name} es tu nuevo Pokemon activo."));
+
30
+
31 }
+
+
32
+
36 [Test]
+
+
37 public void TestWinnerPlayer1()
+
38 {
+
39 Player player1 = new Player("Player 1");
+
40 Player player2 = new Player("Player 2");
+
41 Game game = new Game(player1, player2, new StrategyPlayerOneStart());
+
42 Charizard charizard= new Charizard();
+
43 Gengar gengar = new Gengar();
+
44 player1.AddToTeam(charizard);
+
45 player2.AddToTeam(gengar);
+
46 Attack attack = new Attack("kamehameha", Library.Type.Electric, 1, 1000);
+
47 game.ExecuteAttack(attack);
+
48 Assert.That(game.Winner(), Is.EqualTo($"\nGanador: Player 1. Perdedor: Player 2"));
+
49
+
50 }
+
+
51
+
55 [Test]
+
+
56 public void TestWinnerPlayer2()
+
57 {
+
58 Player player1 = new Player("Player 1");
+
59 Player player2 = new Player("Player 2");
+
60 Game game = new Game(player1, player2, new StrategyPlayerTwoStart());
+
61 Charizard charizard= new Charizard();
+
62 Gengar gengar = new Gengar();
+
63 player1.AddToTeam(charizard);
+
64 player2.AddToTeam(gengar);
+
65 Attack attack = new Attack("kamehameha", Library.Type.Electric, 1, 1000);
+
66 game.ExecuteAttack(attack);
+
67 Assert.That(game.Winner(), Is.EqualTo($"\nGanador: Player 2. Perdedor: Player 1"));
+
68 }
+
+
69}
+
+ +
void TestChangePokemon()
Verifica que el método ChangePokemon cambia correctamente el Pokemon activo de un jugador durante la ...
Definition GameTest.cs:20
+
void TestWinnerPlayer1()
Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ...
Definition GameTest.cs:37
+
void TestWinnerPlayer2()
Verifica que el método Winner devuelve correctamente el ganador de la partida, en caso de que sea el ...
Definition GameTest.cs:56
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
string ExecuteAttack(Attack attack)
Ejecuta un ataque por parte del Pokemon activo del jugador actual, siempre y cuando no se encuentre d...
Definition Game.cs:140
+
string ChangePokemon(Pokemon pokemon)
Cambia el Pokemon activo del jugador actual por otro de su equipo, verificando si el cambio es válido...
Definition Game.cs:199
+
string Winner()
Determina el ganador y el perdedor del juego basándose en la cantidad de vida de los Pokemon de cada ...
Definition Game.cs:83
+
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
Esta clase representa un jugador.
Definition Player.cs:8
+
bool SetActivePokemon(Pokemon pokemon)
Cambia el pokemon activo si está vivo.
Definition Player.cs:66
+
void AddToTeam(Pokemon pokemon)
Agrega un pokemon a la lista de pokemons del jugador.
Definition Player.cs:51
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+
Esta clase representa una estrategia que determina quién va a ser el jugador que tenga el primer turn...
+ + + +
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2GengarTest_8cs_source.html b/docs/html/test_2LibraryTests_2GengarTest_8cs_source.html new file mode 100644 index 0000000..8ffdd0b --- /dev/null +++ b/docs/html/test_2LibraryTests_2GengarTest_8cs_source.html @@ -0,0 +1,350 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/GengarTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
GengarTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10[TestFixture]
+
11[TestOf(typeof(Gengar))]
+
+
12public class GengarTest
+
13{
+
17 [Test]
+
+
18 public void TestName()
+
19 {
+
20 Gengar gengar = new Gengar();
+
21 string gengarName = gengar.Name;
+
22 string expectedName = "Gengar";
+
23 Assert.That(gengarName.Equals(expectedName, StringComparison.Ordinal));
+
24 }
+
+
25
+
29 [Test]
+
+
30 public void TestType()
+
31 {
+
32 Gengar gengar = new Gengar();
+
33 Type gengarType = gengar.GetTypes()[0];
+
34 Type expectedType = Type.Ghost;
+
35 Assert.That(gengarType.Equals(expectedType));
+
36 }
+
+
37
+
41 [Test]
+
+ +
43 {
+
44 Gengar gengar = new Gengar();
+
45 double gengarBaseLife = gengar.BaseLife;
+
46 double expectedBaseLife = 324;
+
47 Assert.That(gengarBaseLife.Equals(expectedBaseLife));
+
48 double gengarCurentLife = gengar.CurrentLife;
+
49 double expectedCurrentLife = 324;
+
50 Assert.That(gengarCurentLife.Equals(expectedCurrentLife));
+
51 }
+
+
52
+
56 [Test]
+
+ +
58 {
+
59 Gengar gengar = new Gengar();
+
60 List<IAttack> gengarAttacks = gengar.GetAttacks();
+
61 int expectedLenght = 4;
+
62 Assert.That( gengarAttacks.Count.Equals(expectedLenght));
+
63 }
+
+
64
+
68 [Test]
+
+
69 public void TestAddAFifthAttack()
+
70 {
+
71 Gengar gengar= new Gengar();
+
72 List<IAttack> gengarAttacks = gengar.GetAttacks();
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
74 gengar.AddAttack(attack);
+
75 int expectedLenght = 4;
+
76 Assert.That(gengarAttacks.Count.Equals(expectedLenght));
+
77 }
+
+
78
+
82 [Test]
+
+ +
84 {
+
85 Gengar gengar = new Gengar();
+
86 State? gengarCurrentState = gengar.CurrentState;
+
87 Assert.That(gengarCurrentState.Equals(null));
+
88 gengar.EditState(State.Burned);
+
89 State? gengarCurrentState2 = gengar.CurrentState;
+
90 Assert.That(gengarCurrentState2.Equals(State.Burned));
+
91 }
+
+
92
+
96 [Test]
+
+
97 public void TestAsleepTurns()
+
98 {
+
99 Gengar gengar = new Gengar();
+
100 int gengarCurrentState = gengar.AsleepTurns;
+
101 int expectedLenght = 0;
+
102 Assert.That(gengarCurrentState.Equals(expectedLenght));
+
103 }
+
+
104
+
108 [Test]
+
+
109 public void TestAttacks()
+
110 {
+
111 Gengar gengar = new Gengar();
+
112 Attack attack1 = gengar.FindAttackByName("Shadow Ball");
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
+
117 string attack1ExcpectedName = "Shadow Ball";
+
118 Type attack1ExcpectedType = Type.Ghost;
+
119 double attack1ExcpectedAccuracy = 1;
+
120 int attack1ExcpectedPower = 60;
+
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
122 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
125 Attack attack2 = gengar.FindAttackByName("Sludge Bomb");
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
+
130 string attack2ExcpectedName = "Sludge Bomb";
+
131 Type attack2ExcpectedType = Type.Poison;
+
132 double attack2ExcpectedAccuracy = 0.95;
+
133 int attack2ExcpectedPower = 70;
+
134
+
135 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
136 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
137 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
138 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
139 if (attack2 is SpecialAttack specialAttack2)
+
140 {
+
141 State sAttack2SpecialEffect = specialAttack2.SpecialEffect;
+
142 int sAttack2Cooldown = specialAttack2.Cooldown;
+
143 State attack2ExcpectedSpecialEffect = State.Poisoned;
+
144 int attack2ExcpectedCooldown = 0;
+
145 Assert.That(sAttack2SpecialEffect.Equals(attack2ExcpectedSpecialEffect));
+
146 Assert.That(sAttack2Cooldown.Equals(attack2ExcpectedCooldown));
+
147
+
148 }
+
149 Attack attack3 = gengar.FindAttackByName("Shadow Punch");
+
150 string attack3Name = attack3.Name;
+
151 Type attack3Type = attack3.Type;
+
152 double attack3Accuracy = attack3.Accuracy;
+
153 int attack3Power = attack3.Power;
+
154 string attack3ExcpectedName = "Shadow Punch";
+
155 Type attack3ExcpectedType = Type.Ghost;
+
156 double attack3ExcpectedAccuracy = 0.75;
+
157 int attack3ExcpectedPower = 100;
+
158 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
159 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
160 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
161 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
162
+
163 Attack attack4 = gengar.FindAttackByName("Focus Punch");
+
164 string attack4Name = attack4.Name;
+
165 Type attack4Type = attack4.Type;
+
166 double attack4Accuracy = attack4.Accuracy;
+
167 int attack4Power = attack4.Power;
+
168 string attack4ExcpectedName = "Focus Punch";
+
169 Type attack4ExcpectedType = Type.Normal;
+
170 double attack4ExcpectedAccuracy = 0.45;
+
171 int attack4ExcpectedPower = 155;
+
172 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
173 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
174 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
175 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
176 }
+
+
177
+
181 [Test]
+
+ +
183 {
+
184 Gengar gengar= new Gengar();
+
185 double actualLife = gengar.CurrentLife;
+
186 string actualLifeText = gengar.GetLife();
+
187 gengar.GainLife(100);
+
188 Assert.That(actualLife.Equals(gengar.BaseLife));
+
189 Assert.That(actualLifeText.Equals("324/324", StringComparison.Ordinal));
+
190 gengar.TakeDamage(120);
+
191 double actualLife2 = gengar.CurrentLife;
+
192 string actualLifeText2 = gengar.GetLife();
+
193 Assert.That(actualLife2.Equals(204));
+
194 Assert.That(actualLifeText2.Equals("204/324", StringComparison.Ordinal));
+
195 gengar.GainLife(100);
+
196 double actualLife3 = gengar.CurrentLife;
+
197 string actualLifeText3 = gengar.GetLife();
+
198 Assert.That(actualLife3.Equals(304));
+
199 Assert.That(actualLifeText3.Equals("304/324", StringComparison.Ordinal));
+
200 }
+
+
201
+
205 [Test]
+
+
206 public void TestInstance()
+
207 {
+
208 Gengar gengar = new Gengar();
+
209 Pokemon gengarClone = gengar.Instance();
+
210 Assert.That(gengarClone,Is.TypeOf<Gengar>());
+
211 }
+
+
212
+
213}
+
+
Test de la clase Gengar
Definition GengarTest.cs:13
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Gengar.
Definition GengarTest.cs:69
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Gengar, confirmando que fueron creados correc...
+
void TestInstance()
Test del método Instance.
+
void TestAsleepTurns()
Test del atributo asleepTurns.
Definition GengarTest.cs:97
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
Definition GengarTest.cs:83
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
void TestName()
Test del atributo name.
Definition GengarTest.cs:18
+
void TestType()
Test del atributo type.
Definition GengarTest.cs:30
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Gengar.
Definition GengarTest.cs:57
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
Definition GengarTest.cs:42
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2HaxorusTest_8cs_source.html b/docs/html/test_2LibraryTests_2HaxorusTest_8cs_source.html new file mode 100644 index 0000000..b077e9f --- /dev/null +++ b/docs/html/test_2LibraryTests_2HaxorusTest_8cs_source.html @@ -0,0 +1,338 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/HaxorusTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
HaxorusTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10[TestFixture]
+
11[TestOf(typeof(Haxorus))]
+
+
12public class HaxorusTest
+
13{
+
17 [Test]
+
+
18 public void TestName()
+
19 {
+
20 Haxorus haxorus = new Haxorus();
+
21 string haxorusName = haxorus.Name;
+
22 string expectedName = "Haxorus";
+
23 Assert.That(haxorusName.Equals(expectedName, StringComparison.Ordinal));
+
24 }
+
+
25
+
29 [Test]
+
+
30 public void TestType()
+
31 {
+
32 Haxorus haxorus = new Haxorus();
+
33 Type haxorusType = haxorus.GetTypes()[0];
+
34 Type expectedType = Type.Dragon;
+
35 Assert.That(haxorusType.Equals(expectedType));
+
36 }
+
+
37
+
41 [Test]
+
+ +
43 {
+
44 Haxorus haxorus = new Haxorus();
+
45 double haxorusBaseLife = haxorus.BaseLife;
+
46 double expectedBaseLife = 356;
+
47 Assert.That(haxorusBaseLife.Equals(expectedBaseLife));
+
48 double haxorusCurentLife = haxorus.CurrentLife;
+
49 double expectedCurrentLife = 356;
+
50 Assert.That(haxorusCurentLife.Equals(expectedCurrentLife));
+
51 }
+
+
52
+
56 [Test]
+
+ +
58 {
+
59 Haxorus haxorus = new Haxorus();
+
60 List<IAttack> haxorusAttacks = haxorus.GetAttacks();
+
61 int expectedLenght = 4;
+
62 Assert.That( haxorusAttacks.Count.Equals(expectedLenght));
+
63 }
+
+
64
+
68 [Test]
+
+
69 public void TestAddAFifthAttack()
+
70 {
+
71 Haxorus haxorus = new Haxorus();
+
72 List<IAttack> haxorusAttacks = haxorus.GetAttacks();
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
74 haxorus.AddAttack(attack);
+
75 int expectedLenght = 4;
+
76 Assert.That(haxorusAttacks.Count.Equals(expectedLenght));
+
77 }
+
+
78
+
82 [Test]
+
+ +
84 {
+
85 Haxorus haxorus = new Haxorus();
+
86 State? haxorusCurrentState = haxorus.CurrentState;
+
87 Assert.That(haxorusCurrentState.Equals(null));
+
88 haxorus.EditState(State.Burned);
+
89 State? haxorusCurrentState2 = haxorus.CurrentState;
+
90 Assert.That(haxorusCurrentState2.Equals(State.Burned));
+
91 }
+
+
92
+
96 [Test]
+
+
97 public void TestAsleepTurns()
+
98 {
+
99 Haxorus haxorus = new Haxorus();
+
100 int haxorusCurrentState = haxorus.AsleepTurns;
+
101 int expectedLenght = 0;
+
102 Assert.That(haxorusCurrentState.Equals(expectedLenght));
+
103 }
+
+
104
+
108 [Test]
+
+
109 public void TestAttacks()
+
110 {
+
111 Haxorus haxorus = new Haxorus();
+
112 Attack attack1 = haxorus.FindAttackByName("Outrage");
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
+
117 string attack1ExcpectedName = "Outrage";
+
118 Type attack1ExcpectedType = Type.Dragon;
+
119 double attack1ExcpectedAccuracy = 0.75;
+
120 int attack1ExcpectedPower = 120;
+
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
122 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
125 Attack attack2 = haxorus.FindAttackByName("Assurance");
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
+
130 string attack2ExcpectedName = "Assurance";
+
131 Type attack2ExcpectedType = Type.Normal;
+
132 double attack2ExcpectedAccuracy = 0.95;
+
133 int attack2ExcpectedPower = 80;
+
134 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
135 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
136 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
137 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
138 Attack attack3 = haxorus.FindAttackByName("Close Combat");
+
139 string attack3Name = attack3.Name;
+
140 Type attack3Type = attack3.Type;
+
141 double attack3Accuracy = attack3.Accuracy;
+
142 int attack3Power = attack3.Power;
+
143 string attack3ExcpectedName = "Close Combat";
+
144 Type attack3ExcpectedType = Type.Fighting;
+
145 double attack3ExcpectedAccuracy = 0.75;
+
146 int attack3ExcpectedPower = 120;
+
147 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
148 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
149 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
150 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
151
+
152 Attack attack4 = haxorus.FindAttackByName("Dragon claw");
+
153 string attack4Name = attack4.Name;
+
154 Type attack4Type = attack4.Type;
+
155 double attack4Accuracy = attack4.Accuracy;
+
156 int attack4Power = attack4.Power;
+
157 string attack4ExcpectedName = "Dragon claw";
+
158 Type attack4ExcpectedType = Type.Dragon;
+
159 double attack4ExcpectedAccuracy = 1;
+
160 int attack4ExcpectedPower = 55;
+
161 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
162 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
163 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
164 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
165 }
+
+
166
+
170 [Test]
+
+ +
172 {
+
173 Haxorus haxorus = new Haxorus();
+
174 double actualLife = haxorus.CurrentLife;
+
175 string actualLifeText = haxorus.GetLife();
+
176 haxorus.GainLife(100);
+
177 Assert.That(actualLife.Equals(haxorus .BaseLife));
+
178 Assert.That(actualLifeText.Equals("356/356", StringComparison.Ordinal));
+
179 haxorus.TakeDamage(120);
+
180 double actualLife2 = haxorus.CurrentLife;
+
181 string actualLifeText2 = haxorus.GetLife();
+
182 Assert.That(actualLife2.Equals(236));
+
183 Assert.That(actualLifeText2.Equals("236/356", StringComparison.Ordinal));
+
184 haxorus.GainLife(100);
+
185 double actualLife3 = haxorus.CurrentLife;
+
186 string actualLifeText3 = haxorus.GetLife();
+
187 Assert.That(actualLife3.Equals(336));
+
188 Assert.That(actualLifeText3.Equals("336/356", StringComparison.Ordinal));
+
189 }
+
+
190
+
194 [Test]
+
+
195 public void TestInstance()
+
196 {
+
197 Haxorus haxorus = new Haxorus();
+
198 Pokemon haxorusClone = haxorus.Instance();
+
199 Assert.That(haxorusClone,Is.TypeOf<Haxorus>());
+
200 }
+
+
201
+
202}
+
+
Test de la clase Haxorus
+
void TestAsleepTurns()
Test del atributo asleepTurns.
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
void TestName()
Test del atributo name.
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Haxorus, confirmando que fueron creados corre...
+
void TestInstance()
Test del método Instance.
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Haxorus.
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Haxorus.
+
void TestType()
Test del atributo type.
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Haxorus. Al ser un Pokemon hereda de la clase Pokemon.
Definition Haxorus.cs:8
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2MewtwoTest_8cs_source.html b/docs/html/test_2LibraryTests_2MewtwoTest_8cs_source.html new file mode 100644 index 0000000..6fa6579 --- /dev/null +++ b/docs/html/test_2LibraryTests_2MewtwoTest_8cs_source.html @@ -0,0 +1,338 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/MewtwoTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MewtwoTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10[TestFixture]
+
11[TestOf(typeof(Mewtwo))]
+
+
12public class MewtwoTest
+
13{
+
17 [Test]
+
+
18 public void TestName()
+
19 {
+
20 Mewtwo mewtwo = new Mewtwo();
+
21 string mewtwoName = mewtwo.Name;
+
22 string expectedName = "Mewtwo";
+
23 Assert.That(mewtwoName.Equals(expectedName, StringComparison.Ordinal));
+
24 }
+
+
25
+
29 [Test]
+
+
30 public void TestType()
+
31 {
+
32 Mewtwo mewtwo = new Mewtwo();
+
33 Type mewtwoType = mewtwo.GetTypes()[0];
+
34 Type expectedType = Type.Psychic;
+
35 Assert.That(mewtwoType.Equals(expectedType));
+
36 }
+
+
37
+
41 [Test]
+
+ +
43 {
+
44 Mewtwo mewtwo = new Mewtwo();
+
45 double mewtwoBaseLife = mewtwo.BaseLife;
+
46 double expectedBaseLife = 416;
+
47 Assert.That(mewtwoBaseLife.Equals(expectedBaseLife));
+
48 double mewtwoCurentLife = mewtwo.CurrentLife;
+
49 double expectedCurrentLife = 416;
+
50 Assert.That(mewtwoCurentLife.Equals(expectedCurrentLife));
+
51 }
+
+
52
+
56 [Test]
+
+ +
58 {
+
59 Mewtwo mewtwo = new Mewtwo();
+
60 List<IAttack> mewtwoAttacks = mewtwo.GetAttacks();
+
61 int expectedLenght = 4;
+
62 Assert.That( mewtwoAttacks.Count.Equals(expectedLenght));
+
63 }
+
+
64
+
68 [Test]
+
+
69 public void TestAddAFifthAttack()
+
70 {
+
71 Mewtwo mewtwo = new Mewtwo();
+
72 List<IAttack> mewtwoAttacks = mewtwo.GetAttacks();
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
74 mewtwo.AddAttack(attack);
+
75 int expectedLenght = 4;
+
76 Assert.That(mewtwoAttacks.Count.Equals(expectedLenght));
+
77 }
+
+
78
+
82 [Test]
+
+ +
84 {
+
85 Mewtwo mewtwo = new Mewtwo();
+
86 State? mewtwoCurrentState = mewtwo.CurrentState;
+
87 Assert.That(mewtwoCurrentState.Equals(null));
+
88 mewtwo.EditState(State.Burned);
+
89 State? mewtwoCurrentState2 = mewtwo.CurrentState;
+
90 Assert.That(mewtwoCurrentState2.Equals(State.Burned));
+
91 }
+
+
92
+
96 [Test]
+
+
97 public void TestAsleepTurns()
+
98 {
+
99 Mewtwo mewtwo = new Mewtwo();
+
100 int mewtwoCurrentState = mewtwo.AsleepTurns;
+
101 int expectedLenght = 0;
+
102 Assert.That(mewtwoCurrentState.Equals(expectedLenght));
+
103 }
+
+
104
+
108 [Test]
+
+
109 public void TestAttacks()
+
110 {
+
111 Mewtwo mewtwo = new Mewtwo();
+
112 Attack attack1 = mewtwo.FindAttackByName("Shadow Ball");
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
+
117 string attack1ExcpectedName = "Shadow Ball";
+
118 Type attack1ExcpectedType = Type.Ghost;
+
119 double attack1ExcpectedAccuracy = 1;
+
120 int attack1ExcpectedPower = 60;
+
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
122 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
125 Attack attack2 = mewtwo.FindAttackByName("Psystrike");
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
+
130 string attack2ExcpectedName = "Psystrike";
+
131 Type attack2ExcpectedType = Type.Psychic;
+
132 double attack2ExcpectedAccuracy = 1;
+
133 int attack2ExcpectedPower = 100;
+
134
+
135 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
136 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
137 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
138 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
139 Attack attack3 = mewtwo.FindAttackByName("Mental Shock");
+
140 string attack3Name = attack3.Name;
+
141 Type attack3Type = attack3.Type;
+
142 double attack3Accuracy = attack3.Accuracy;
+
143 int attack3Power = attack3.Power;
+
144 string attack3ExcpectedName = "Mental Shock";
+
145 Type attack3ExcpectedType = Type.Psychic;
+
146 double attack3ExcpectedAccuracy = 0.75;
+
147 int attack3ExcpectedPower = 100;
+
148 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
149 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
150 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
151 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
152
+
153 Attack attack4 = mewtwo.FindAttackByName("Drain Punch");
+
154 string attack4Name = attack4.Name;
+
155 Type attack4Type = attack4.Type;
+
156 double attack4Accuracy = attack4.Accuracy;
+
157 int attack4Power = attack4.Power;
+
158 string attack4ExcpectedName = "Drain Punch";
+
159 Type attack4ExcpectedType = Type.Fighting;
+
160 double attack4ExcpectedAccuracy = 0.95;
+
161 int attack4ExcpectedPower = 80;
+
162 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
163 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
164 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
165 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
166 }
+
+
167
+
171 [Test]
+
+ +
173 {
+
174 Mewtwo mewtwo = new Mewtwo();
+
175 double actualLife = mewtwo.CurrentLife;
+
176 string actualLifeText = mewtwo.GetLife();
+
177 mewtwo.GainLife(100);
+
178 Assert.That(actualLife.Equals(mewtwo .BaseLife));
+
179 Assert.That(actualLifeText.Equals("416/416", StringComparison.Ordinal));
+
180 mewtwo.TakeDamage(120);
+
181 double actualLife2 = mewtwo.CurrentLife;
+
182 string actualLifeText2 = mewtwo.GetLife();
+
183 Assert.That(actualLife2.Equals(296));
+
184 Assert.That(actualLifeText2.Equals("296/416", StringComparison.Ordinal));
+
185 mewtwo.GainLife(100);
+
186 double actualLife3 = mewtwo.CurrentLife;
+
187 string actualLifeText3 = mewtwo.GetLife();
+
188 Assert.That(actualLife3.Equals(396));
+
189 Assert.That(actualLifeText3.Equals("396/416", StringComparison.Ordinal));
+
190 }
+
+
191
+
195 [Test]
+
+
196 public void TestInstance()
+
197 {
+
198 Mewtwo mewtwo = new Mewtwo();
+
199 Pokemon mewtwoClone = mewtwo.Instance();
+
200 Assert.That(mewtwoClone,Is.TypeOf<Mewtwo>());
+
201 }
+
+
202}
+
+
Test de la clase Mewtwo
Definition MewtwoTest.cs:13
+
void TestInstance()
Test del método Instance.
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
Definition MewtwoTest.cs:83
+
void TestName()
Test del atributo name.
Definition MewtwoTest.cs:18
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
Definition MewtwoTest.cs:42
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Mewtwo, confirmando que fueron creados correc...
+
void TestType()
Test del atributo type.
Definition MewtwoTest.cs:30
+
void TestAsleepTurns()
Test del atributo asleepTurns.
Definition MewtwoTest.cs:97
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Mewtwo.
Definition MewtwoTest.cs:57
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Mewtwo.
Definition MewtwoTest.cs:69
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa el Pokemon Mewtwo. Al ser un Pokemon hereda de la clase Pokemon.
Definition Mewtwo.cs:8
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/PlayerTest_8cs_source.html b/docs/html/test_2LibraryTests_2PlayerTest_8cs_source.html similarity index 97% rename from docs/html/PlayerTest_8cs_source.html rename to docs/html/test_2LibraryTests_2PlayerTest_8cs_source.html index a47b66c..d799bd7 100644 --- a/docs/html/PlayerTest_8cs_source.html +++ b/docs/html/test_2LibraryTests_2PlayerTest_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/PlayerTest.cs Source File @@ -35,7 +35,7 @@ - +
@@ -148,7 +148,7 @@ diff --git a/docs/html/test_2LibraryTests_2ReviveTest_8cs_source.html b/docs/html/test_2LibraryTests_2ReviveTest_8cs_source.html new file mode 100644 index 0000000..4a240d7 --- /dev/null +++ b/docs/html/test_2LibraryTests_2ReviveTest_8cs_source.html @@ -0,0 +1,163 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/ReviveTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ReviveTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3namespace LibraryTests;
+
4
+
8
+
+
9public class ReviveTest
+
10{
+
11 [SetUp]
+
12 public void Setup()
+
13 {
+
14 }
+
15
+
19 [Test]
+
+
20 public void ReviveCorrectUse()
+
21 {
+
22 Revive ReviveItem = new Revive();
+
23 Charizard charizard = new Charizard();
+
24 charizard.TakeDamage(1000000);
+
25 string result = ReviveItem.Use(charizard);
+
26 Assert.That(charizard.CurrentLife.Equals(180));
+
27 Assert.That(result, Is.EqualTo("Charizard ha revivido. \n¡Revive utilizada con éxito!"));
+
28 }
+
+
29
+
33 [Test]
+
+
34 public void ReviveWrongUse()
+
35 {
+
36 Revive ReviveItem = new Revive();
+
37 Charizard charizard = new Charizard();
+
38 string result = ReviveItem.Use(charizard);
+
39 Assert.That(result, Is.EqualTo("Charizard no está debilitado.\n"));
+
40
+
41 }
+
+
42
+
43
+
44}
+
+
Test de la clase Revive
Definition ReviveTest.cs:10
+
void ReviveWrongUse()
Verifica que el item Revive no puede utilizarse sobre un Pokemon que no está debilitado.
Definition ReviveTest.cs:34
+
void ReviveCorrectUse()
Verifica que el item Revive funciona correctamente.
Definition ReviveTest.cs:20
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
Esta clase representa el item Revive. Al ser un item implementa la interfaz IItem.
Definition Revive.cs:8
+
string Use(Pokemon pokemon)
Revive al Pokemon asignando a su vida actual la mitad de la vida base, si está vivo no se revive.
Definition Revive.cs:20
+ + +
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2SpecialAttackTest_8cs_source.html b/docs/html/test_2LibraryTests_2SpecialAttackTest_8cs_source.html new file mode 100644 index 0000000..03a7a9e --- /dev/null +++ b/docs/html/test_2LibraryTests_2SpecialAttackTest_8cs_source.html @@ -0,0 +1,215 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/SpecialAttackTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SpecialAttackTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10
+
11[TestFixture]
+
12[TestOf(typeof(Game))]
+
+ +
14{
+
15
+
19 [Test]
+
+
20 public void TestConstructor()
+
21 {
+
22 SpecialAttack specialAttack = new SpecialAttack("Lanzallamas", Type.Fire, 0.9, 40, State.Burned);
+
23 Assert.That(specialAttack.Name, Is.EqualTo("Lanzallamas"));
+
24 Assert.That(specialAttack.Type, Is.EqualTo(Type.Fire));
+
25 Assert.That(specialAttack.Accuracy, Is.EqualTo(0.9));
+
26 Assert.That(specialAttack.Power, Is.EqualTo(40));
+
27 Assert.That(specialAttack.SpecialEffect, Is.EqualTo(State.Burned));
+
28 Assert.That(specialAttack.Cooldown, Is.EqualTo(0));
+
29 }
+
+
30
+
34 [Test]
+
+
35 public void TestLowerCooldown()
+
36 {
+
37 SpecialAttack specialAttack = new SpecialAttack("Lanzallamas", Type.Fire, 0.9, 40, State.Burned);
+
38 specialAttack.SetCooldown();
+
39 Assert.That(specialAttack.Cooldown, Is.EqualTo(4));
+
40 specialAttack.LowerCooldown();
+
41 Assert.That(specialAttack.Cooldown, Is.EqualTo(3));
+
42 }
+
+
43
+
47 [Test]
+
+
48 public void TestSetCooldown()
+
49 {
+
50 SpecialAttack specialAttack = new SpecialAttack("Lanzallamas", Type.Fire, 0.9, 40, State.Burned);
+
51 specialAttack.SetCooldown();
+
52 Assert.That(specialAttack.Cooldown, Is.EqualTo(4));
+
53 }
+
+
54
+
58 [Test]
+
+
59 public void TestInfoAttack()
+
60 {
+
61 SpecialAttack specialAttack = new SpecialAttack("Lanzallamas", Type.Fire, 0.9, 40, State.Burned);
+
62 string expectedInfo = "**Lanzallamas**: tipo *Fire*, precisión *90*, potencia *40*, efecto especial *Burned*, cooldown de uso actual *0*\n";
+
63 Assert.That(specialAttack.InfoAttack(), Is.EqualTo(expectedInfo));
+
64 }
+
+
65
+
69 [Test]
+
+
70 public void TestSpecialAttack()
+
71 {
+
72 Player player = new Player("mateo");
+
73 SpecialAttack lanzallamas = new SpecialAttack("lanzallamas", Library.Type.Fire, 1, 40, Library.State.Burned);
+
74 Gengar gengar = new Gengar();
+
75 player.AddToTeam(gengar);
+
76 DamageCalculator damageCalculator = new DamageCalculator();
+
77 damageCalculator.CalculateDamage(gengar,lanzallamas, player);
+
78 Assert.That(lanzallamas.SpecialEffect.Equals(gengar.CurrentState));
+
79 }
+
+
80 }
+
+
81
+
82
+
Test de la clase SpecialAttack
+
void TestConstructor()
Test del constructor.
+
void TestInfoAttack()
Verifica que la descripción del ataque especial sea correcta.
+
void TestSpecialAttack()
Test de ataque especial.
+
void TestLowerCooldown()
Verifica que el cooldown de un ataque especial disminuye correctamente llamando al metodo LowerCooldo...
+
void TestSetCooldown()
Verifica que el método SetCooldown() restablece a 4 el cooldown del ataque especial.
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Es una clase a la cual le delegamos la función de calcular el daño para aplicar SRP así game tiene un...
+
static double CalculateDamage(Pokemon attackedPokemon, Attack attack)
Calcula el daño infligido a un Pokemon objetivo. Para esto tiene en cuenta el valor de ataque,...
+
Esta clase representa una partida entre dos jugadores.
Definition Game.cs:9
+
Esta clase representa el Pokemon Gengar. Al ser un Pokemon hereda de la clase Pokemon.
Definition Gengar.cs:8
+
Esta clase representa un jugador.
Definition Player.cs:8
+
void AddToTeam(Pokemon pokemon)
Agrega un pokemon a la lista de pokemons del jugador.
Definition Player.cs:51
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
void LowerCooldown()
Le quita un turno a la cantidad de turnos que se deben esperar para usar el ataque.
+
void SetCooldown()
Le asigna 2 a el contador de turnos que se deben esperar para usar el ataque.
+
State SpecialEffect
Efecto del ataque.
+
int Cooldown
Cantidad de turnos que se deben esperar para volver a usar el ataque especial.
+
override string InfoAttack()
Genera una descripción formateada del ataque. Incluye el nombre, tipo, precisión, potencia del ataque...
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2SuperPotionTest_8cs_source.html b/docs/html/test_2LibraryTests_2SuperPotionTest_8cs_source.html new file mode 100644 index 0000000..009bf8a --- /dev/null +++ b/docs/html/test_2LibraryTests_2SuperPotionTest_8cs_source.html @@ -0,0 +1,189 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/SuperPotionTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SuperPotionTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3namespace LibraryTests;
+
4
+
8
+
+
9public class SuperPotionTest
+
10{
+
15 [Test]
+
+ +
17 {
+
18 SuperPotion SuperPotionItem = new SuperPotion();
+
19 Charizard charizard = new Charizard();
+
20 double initialLife = charizard.BaseLife;
+
21 charizard.TakeDamage(60);
+
22 string result = SuperPotionItem.Use(charizard);
+
23 string expectedResult = "Charizard ha ganado 70HP.\n¡Super Potion utilizada con éxito!";
+
24 Assert.That(result.Equals(expectedResult));
+
25 Assert.That(charizard.CurrentLife.Equals(initialLife));
+
26 }
+
+
27
+
31 [Test]
+
+ +
33 {
+
34 SuperPotion SuperPotionItem = new SuperPotion();
+
35 Charizard charizard = new Charizard();
+
36 double initialLife = charizard.BaseLife;
+
37 charizard.TakeDamage(80);
+
38 string result = SuperPotionItem.Use(charizard);
+
39 string expectedResult = "Charizard ha ganado 70HP.\n¡Super Potion utilizada con éxito!";
+
40 Assert.That(result.Equals(expectedResult));
+
41 Assert.That(charizard.CurrentLife.Equals(initialLife-10));
+
42 }
+
+
43
+
48 [Test]
+
+ +
50 {
+
51 SuperPotion SuperPotionItem = new SuperPotion();
+
52 Charizard charizard = new Charizard();
+
53 double initialLife = charizard.BaseLife;
+
54 string result = SuperPotionItem.Use(charizard);
+
55 string expectedResult = "Charizard ya tiene su vida completa.\n";
+
56 Assert.That(result.Equals(expectedResult));
+
57 Assert.That(charizard.CurrentLife.Equals(initialLife));
+
58 }
+
+
59
+
63 [Test]
+
+
64 public void NullPokemonTest()
+
65 {
+
66 SuperPotion SuperPotionItem = new SuperPotion();
+
67 Assert.That(SuperPotionItem.Use(null), Is.Null);
+
68 }
+
+
69
+
70
+
71}
+
+
Test de la clase SuperPotion
+
void SuperPotionCorrectUse2()
Verifica que SuperPotion recupere correctamente 70HP de un Pokemon después de recibir 80 puntos de da...
+
void SuperPotionCorrectUse1()
Verifica que SuperPotion recupere correctamente 70HP de un Pokemon después de recibir 60 puntos de da...
+
void NullPokemonTest()
Verifica que al intentar usar SuperPotion con un Pokemon nulo, el resultado sea nulo.
+
void SuperPotionHealthyPokemonUse()
Verifica que SuperPotion no tenga efecto si el Pokemon ya tiene su vida completa, y que la vida del P...
+
Esta clase representa el Pokemon Charizard. Al ser un Pokemon hereda de la clase Pokemon.
Definition Charizard.cs:8
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
Esta clase representa el item SuperPotion. Al ser un item implementa la interfaz IItem.
Definition SuperPotion.cs:8
+
string Use(Pokemon pokemon)
Suma 70 HP a la vida actual del Pokemon.
+ + +
+
+ + + + diff --git a/docs/html/TrainTests_8cs_source.html b/docs/html/test_2LibraryTests_2TrainTests_8cs_source.html similarity index 95% rename from docs/html/TrainTests_8cs_source.html rename to docs/html/test_2LibraryTests_2TrainTests_8cs_source.html index 3fee7e3..6f5e9ca 100644 --- a/docs/html/TrainTests_8cs_source.html +++ b/docs/html/test_2LibraryTests_2TrainTests_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/TrainTests.cs Source File @@ -35,7 +35,7 @@
- +
@@ -108,8 +108,7 @@
7using ClassLibrary;
8using NUnit.Framework;
9
-
-
10namespace Tests
+
10namespace Tests
11{
15 [TestFixture]
@@ -148,19 +147,18 @@
54 }
55}
-
Prueba de la clase Train.
Definition TrainTests.cs:17
void StartTrainTest()
Prueba que el tren arranque.
Definition TrainTests.cs:36
void StopTrainTest()
Prueba que el tren se detenga.
Definition TrainTests.cs:47
void Setup()
Crea un tren para probar.
Definition TrainTests.cs:27
- +
diff --git a/docs/html/test_2LibraryTests_2ZeraoraTest_8cs_source.html b/docs/html/test_2LibraryTests_2ZeraoraTest_8cs_source.html new file mode 100644 index 0000000..3adef14 --- /dev/null +++ b/docs/html/test_2LibraryTests_2ZeraoraTest_8cs_source.html @@ -0,0 +1,350 @@ + + + + + + + +Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/ZeraoraTest.cs Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Object Lifecycle +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ZeraoraTest.cs
+
+
+
1using Library;
+
2using NUnit.Framework;
+
3using Type = Library.Type;
+
4
+
5namespace LibraryTests;
+
6
+
10[TestFixture]
+
11[TestOf(typeof(Zeraora))]
+
+
12public class ZeraoraTest
+
13{
+
17 [Test]
+
+
18 public void TestName()
+
19 {
+
20 Zeraora zeraora = new Zeraora();
+
21 string zeraoraName = zeraora.Name;
+
22 string expectedName = "Zeraora";
+
23 Assert.That(zeraoraName.Equals(expectedName, StringComparison.Ordinal));
+
24 }
+
+
25
+
29 [Test]
+
+
30 public void TestType()
+
31 {
+
32 Zeraora zeraora = new Zeraora();
+
33 Type zeraoraType = zeraora.GetTypes()[0];
+
34 Type expectedType = Type.Electric;
+
35 Assert.That(zeraoraType.Equals(expectedType));
+
36 }
+
+
37
+
41 [Test]
+
+ +
43 {
+
44 Zeraora zeraora = new Zeraora();
+
45 double zeraoraBaseLife = zeraora.BaseLife;
+
46 double expectedBaseLife = 380;
+
47 Assert.That(zeraoraBaseLife.Equals(expectedBaseLife));
+
48 double zeraoraCurentLife = zeraora.CurrentLife;
+
49 double expectedCurrentLife = 380;
+
50 Assert.That(zeraoraCurentLife.Equals(expectedCurrentLife));
+
51 }
+
+
52
+
56 [Test]
+
+ +
58 {
+
59 Zeraora zeraora = new Zeraora();
+
60 List<IAttack> zeraoraAttacks = zeraora.GetAttacks();
+
61 int expectedLenght = 4;
+
62 Assert.That( zeraoraAttacks.Count.Equals(expectedLenght));
+
63 }
+
+
64
+
68 [Test]
+
+
69 public void TestAddAFifthAttack()
+
70 {
+
71 Zeraora zeraora = new Zeraora();
+
72 List<IAttack> zeraoraAttacks = zeraora.GetAttacks();
+
73 Attack attack = new Attack("TestAttack", Type.Fire, 1, 1);
+
74 zeraora.AddAttack(attack);
+
75 int expectedLenght = 4;
+
76 Assert.That(zeraoraAttacks.Count.Equals(expectedLenght));
+
77 }
+
+
78
+
82 [Test]
+
+ +
84 {
+
85 Zeraora zeraora = new Zeraora();
+
86 State? zeraoraCurrentState = zeraora.CurrentState;
+
87 Assert.That(zeraoraCurrentState.Equals(null));
+
88 zeraora.EditState(State.Burned);
+
89 State? zeraoraCurrentState2 = zeraora.CurrentState;
+
90 Assert.That(zeraoraCurrentState2.Equals(State.Burned));
+
91 }
+
+
92
+
96 [Test]
+
+
97 public void TestAsleepTurns()
+
98 {
+
99 Zeraora zeraora = new Zeraora();
+
100 int zeraoraCurrentState = zeraora.AsleepTurns;
+
101 int expectedLenght = 0;
+
102 Assert.That(zeraoraCurrentState.Equals(expectedLenght));
+
103 }
+
+
104
+
108 [Test]
+
+
109 public void TestAttacks()
+
110 {
+
111 Zeraora zeraora = new Zeraora();
+
112 Attack attack1 = zeraora.FindAttackByName("Plasma Fist");
+
113 string attack1Name = attack1.Name;
+
114 Type attack1Type = attack1.Type;
+
115 double attack1Accuracy = attack1.Accuracy;
+
116 int attack1Power = attack1.Power;
+
117 string attack1ExcpectedName = "Plasma Fist";
+
118 Type attack1ExcpectedType = Type.Electric;
+
119 double attack1ExcpectedAccuracy = 1;
+
120 int attack1ExcpectedPower = 65;
+
121 Assert.That(attack1Name.Equals(attack1ExcpectedName, StringComparison.Ordinal));
+
122 Assert.That(attack1Type.Equals(attack1ExcpectedType));
+
123 Assert.That(attack1Accuracy.Equals(attack1ExcpectedAccuracy));
+
124 Assert.That(attack1Power.Equals(attack1ExcpectedPower));
+
125 Attack attack2 = zeraora.FindAttackByName("Thunderbolt");
+
126 string attack2Name = attack2.Name;
+
127 Type attack2Type = attack2.Type;
+
128 double attack2Accuracy = attack2.Accuracy;
+
129 int attack2Power = attack2.Power;
+
130 string attack2ExcpectedName = "Thunderbolt";
+
131 Type attack2ExcpectedType = Type.Electric;
+
132 double attack2ExcpectedAccuracy = 1;
+
133 int attack2ExcpectedPower = 75;
+
134
+
135 if (attack2 is SpecialAttack specialAttack2)
+
136 {
+
137 State sAttack2SpecialEffect = specialAttack2.SpecialEffect;
+
138 int sAttack2Cooldown = specialAttack2.Cooldown;
+
139 State attack2ExcpectedSpecialEffect = State.Paralized;
+
140 int attack2ExcpectedCooldown = 0;
+
141 Assert.That(sAttack2SpecialEffect.Equals(attack2ExcpectedSpecialEffect));
+
142 Assert.That(sAttack2Cooldown.Equals(attack2ExcpectedCooldown));
+
143
+
144 }
+
145
+
146 Assert.That(attack2Name.Equals(attack2ExcpectedName, StringComparison.Ordinal));
+
147 Assert.That(attack2Type.Equals(attack2ExcpectedType));
+
148 Assert.That(attack2Accuracy.Equals(attack2ExcpectedAccuracy));
+
149 Assert.That(attack2Power.Equals(attack2ExcpectedPower));
+
150 Attack attack3 = zeraora.FindAttackByName("Close Combat");
+
151 string attack3Name = attack3.Name;
+
152 Type attack3Type = attack3.Type;
+
153 double attack3Accuracy = attack3.Accuracy;
+
154 int attack3Power = attack3.Power;
+
155 string attack3ExcpectedName = "Close Combat";
+
156 Type attack3ExcpectedType = Type.Fighting;
+
157 double attack3ExcpectedAccuracy = 0.75;
+
158 int attack3ExcpectedPower = 120;
+
159 Assert.That(attack3Name.Equals(attack3ExcpectedName, StringComparison.Ordinal));
+
160 Assert.That(attack3Type.Equals(attack3ExcpectedType));
+
161 Assert.That(attack3Accuracy.Equals(attack3ExcpectedAccuracy));
+
162 Assert.That(attack3Power.Equals(attack3ExcpectedPower));
+
163
+
164 Attack attack4 = zeraora.FindAttackByName("Wild Charge");
+
165 string attack4Name = attack4.Name;
+
166 Type attack4Type = attack4.Type;
+
167 double attack4Accuracy = attack4.Accuracy;
+
168 int attack4Power = attack4.Power;
+
169 string attack4ExcpectedName = "Wild Charge";
+
170 Type attack4ExcpectedType = Type.Electric;
+
171 double attack4ExcpectedAccuracy = 0.6;
+
172 int attack4ExcpectedPower = 160;
+
173 Assert.That(attack4Name.Equals(attack4ExcpectedName, StringComparison.Ordinal));
+
174 Assert.That(attack4Type.Equals(attack4ExcpectedType));
+
175 Assert.That(attack4Accuracy.Equals(attack4ExcpectedAccuracy));
+
176 Assert.That(attack4Power.Equals(attack4ExcpectedPower));
+
177 }
+
+
178
+
182 [Test]
+
+ +
184 {
+
185 Zeraora zeraora = new Zeraora();
+
186 double actualLife = zeraora.CurrentLife;
+
187 string actualLifeText = zeraora.GetLife();
+
188 zeraora.GainLife(100);
+
189 Assert.That(actualLife.Equals(zeraora.BaseLife));
+
190 Assert.That(actualLifeText.Equals("380/380", StringComparison.Ordinal));
+
191 zeraora.TakeDamage(120);
+
192 double actualLife2 = zeraora.CurrentLife;
+
193 string actualLifeText2 = zeraora.GetLife();
+
194 Assert.That(actualLife2.Equals(260));
+
195 Assert.That(actualLifeText2.Equals("260/380", StringComparison.Ordinal));
+
196 zeraora.GainLife(100);
+
197 double actualLife3 = zeraora.CurrentLife;
+
198 string actualLifeText3 = zeraora.GetLife();
+
199 Assert.That(actualLife3.Equals(360));
+
200 Assert.That(actualLifeText3.Equals("360/380", StringComparison.Ordinal));
+
201 }
+
+
202
+
206 [Test]
+
+
207 public void TestInstance()
+
208 {
+
209 Zeraora zeraora = new Zeraora();
+
210 Pokemon zeraoraClone = zeraora.Instance();
+
211 Assert.That(zeraoraClone,Is.TypeOf<Zeraora>());
+
212 }
+
+
213}
+
+
Test de la clase Zeraora
+
void TestLifeAndCurrentLife()
Test de los atributos life y currentLife.
+
void TestRestoreBaseLifeTakeDamageAndGetLife()
Test de los métodos RestoreBaseLife, TakeDamage y GetLife.
+
void TestCurrentStateAndEditState()
Test del atributo CurrentState y el método EditSate.
+
void TestName()
Test del atributo name.
+
void TestType()
Test del atributo type.
+
void TestAsleepTurns()
Test del atributo asleepTurns.
+
void TestAttacks()
Test de metodo FindAttackByName y los ataques que tiene Zeraora, confirmando que fueron creados corre...
+
void TestInstance()
Test del método Instance.
+
void TestAddAFifthAttack()
Test de la limitación de movimientos que tiene Zeraora.
+
void TestIfItHasFourAttacks()
Test de la cantidad de ataques que tiene Zeraora.
+
Esta clase representa un ataque básico que puede aprender el pokémon.
Definition Attack.cs:7
+
double Accuracy
Precisión del ataque.
Definition Attack.cs:20
+
Type Type
Tipo del ataque.
Definition Attack.cs:15
+
string Name
Nombre del ataque.
Definition Attack.cs:10
+
int Power
Potencia del ataque.
Definition Attack.cs:25
+
Esta clase representa un Pokemon.
Definition Pokemon.cs:10
+
List< Type > GetTypes()
Devuelve la lista de tipos del Pokemon.
Definition Pokemon.cs:128
+
int AsleepTurns
Cantidad de turnos que el Pokemon está dormido.
Definition Pokemon.cs:32
+
void EditState(State? state)
Actualiza el currentState del pokemon.
Definition Pokemon.cs:137
+
double CurrentLife
Vida actual del Pokemon.
Definition Pokemon.cs:42
+
double BaseLife
Vida base del Pokemon.
Definition Pokemon.cs:37
+
void GainLife(double hp)
Suma puntos de vida a la vida actual, considerando que la vida actual no puede ser mayor a la vida ba...
Definition Pokemon.cs:82
+
List< IAttack > GetAttacks()
Devuelve la lista de ataques del Pokemon.
Definition Pokemon.cs:119
+
State? CurrentState
Estado actual de un pokemon.
Definition Pokemon.cs:27
+
string Name
Nombre del Pokemon.
Definition Pokemon.cs:12
+
Attack FindAttackByName(string attackString)
Busca un ataque dentro de la lista de ataques comparando el nombre.
Definition Pokemon.cs:159
+
string GetLife()
Devuele la vida del Pokemon en el formato vidaActual/vidaBase.
Definition Pokemon.cs:110
+
void TakeDamage(double damage)
Resta puntos de vida a la vida actual. Convierte double a int para poder hacer la resta....
Definition Pokemon.cs:97
+
void AddAttack(IAttack attack)
Añade un ataque a la lista de ataques del pokemon.
Definition Pokemon.cs:146
+
Esta clase representa un ataque especial. Como es un ataque hereda de Attack
+
Esta clase representa el Pokemon Zeraora. Al ser un Pokemon hereda de la clase Pokemon.
Definition Zeraora.cs:8
+ + +
Type
Representa los tipos.
Definition Type.cs:7
+
State
Representa los estados negativos que puede tener un Pokemon.
Definition State.cs:7
+
+
+ + + + diff --git a/docs/html/test_2LibraryTests_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html b/docs/html/test_2LibraryTests_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html index 7f53895..8a53f4b 100644 --- a/docs/html/test_2LibraryTests_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html +++ b/docs/html/test_2LibraryTests_2obj_2Debug_2net8_80_2_8NETCoreApp_00Version_0av8_80_8AssemblyAttributes_8cs_source.html @@ -3,7 +3,7 @@ - + Object Lifecycle: C:/Repos/pii_2024_2_equipo10/test/LibraryTests/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs Source File @@ -35,7 +35,7 @@ - +