-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from ucudal/documentacion-parcial
Documentacion parcial
- Loading branch information
Showing
12 changed files
with
267 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
namespace Library; | ||
// Interfaz creada para subir la cohesión y bajar el acoplamiento. | ||
|
||
/// <summary> | ||
/// Interfaz de Ataque. Creada para subir la cohesión y bajar el acoplamiento. | ||
/// </summary> | ||
public interface IAttack: IAction | ||
{ | ||
/// <summary> | ||
/// Nombre del ataque. | ||
/// </summary> | ||
public string Name { get; } | ||
|
||
/// <summary> | ||
/// Tipo del ataque. | ||
/// </summary> | ||
public Type Type {get;} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
namespace Library; | ||
|
||
/// <summary> | ||
/// Interfaz de Item. Creada para subir la cohesión y bajar el acoplamiento. | ||
/// </summary> | ||
public interface IItem | ||
{ | ||
/// <summary> | ||
/// Nombre del item | ||
/// </summary> | ||
string Name { get; } | ||
|
||
/// <summary> | ||
/// Utiliza el item sobre un pokemon. | ||
/// </summary> | ||
/// <param name="pokemon">Pokemon en el que se usará el item</param> | ||
/// <returns>Resultado.</returns> | ||
string Use(Pokemon pokemon); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.