Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jvondermarck committed Jun 18, 2024
2 parents 63cfa71 + 39db5e6 commit bfe637b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 300 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

Voici le diagramme global regroupant l'intégralité des diagrammes.

![all-diagrams](UML/diagram.png)
![all-diagrams](UML/diagram.svg)

> Fichier UML : [all-diagrams](UML/diagram.plantuml)
Expand Down
95 changes: 0 additions & 95 deletions TODO.md

This file was deleted.

192 changes: 0 additions & 192 deletions TODO_PROPRE.md

This file was deleted.

14 changes: 2 additions & 12 deletions UML/Strategy/enemy.strategy.plantuml
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,34 @@ class PatrolBehavior implements EnemyBehavior {
Vampire o--> EnemyBehavior
Werewolf o--> EnemyBehavior
Zombie o--> EnemyBehavior

interface IEnemy {
+attack(): void
+clone(): IEnemy
}


class Zombie {
-x: int
-y: int
-type: EnemyType
-behavior: EnemyBehavior
+setBehavior(behavior: EnemyBehavior): void
+performAction(): void
+abstract attack(): void
+clone(): IEnemy
}

class Vampire {
-x: int
-y: int
-type: EnemyType
-behavior: EnemyBehavior
+setBehavior(behavior: EnemyBehavior): void
+performAction(): void
+abstract attack(): void
+clone(): IEnemy
}

class Werewolf {
-x: int
-y: int
-type: EnemyType
-behavior: EnemyBehavior
+setBehavior(behavior: EnemyBehavior): void
+performAction(): void
+abstract attack(): void
+clone(): IEnemy
}


@enduml
@enduml
Binary file modified UML/Strategy/enemy.strategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions UML/diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bfe637b

Please sign in to comment.