Added uml diagram for class bullet

This commit is contained in:
sam
2024-01-12 12:15:34 +01:00
parent b13007390c
commit 7dd4acf478

29
docs/opdracht/uml.md Normal file
View File

@@ -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)
}
```