diff --git a/docs/opdracht/uml.md b/docs/opdracht/uml.md new file mode 100644 index 0000000..e887241 --- /dev/null +++ b/docs/opdracht/uml.md @@ -0,0 +1,29 @@ +### UML game.js + +```mermaid +classDiagram + class bullet { + +x + +y + +shot + +angle + +bulletHit + +direction + +directionX + +direcitonY + +hasMoved + +projectile + +radius + +targetx + +targety + +speed + -hit + -shot + -isOffScreen + -originalPos + -targetx + -targety + +draw() + +update(targetx, targety) + } +``` \ No newline at end of file