diff --git a/.gitignore b/.gitignore index cac7b11..03b69e2 100644 --- a/.gitignore +++ b/.gitignore @@ -120,6 +120,5 @@ fabric.properties https://github.com/joeblau/gitignore.io/issues/360 .idea/ - -.iml +*.iml # End of https://www.gitignore.io/api/eclipse,intellij+all diff --git a/docs/samenvatting.md b/docs/samenvatting.md new file mode 100644 index 0000000..4a41c2d --- /dev/null +++ b/docs/samenvatting.md @@ -0,0 +1,54 @@ +# Worms # + +### class + + name + location + orientation + radius + mass + points + + +### location + (x,y) coordinaten + in meter + defensief + +### orientation + direction hoek theta (radialen) + rechts: 0 boven: pi/2 + nominaal + 0..2pi + +### shape + cirkel + min 0.25m straal (final) (in toekomst veranderen maar niet tijdens leven van worm) + kan veranderen tijdens uitvoering + defensief + +### massa + afh. van radius + in kg + p = 1062 kg/m3 + m = p · (4/3 · πσ^3) + +### 'action' points = stamina + points = massa + uitgedrukt in int (afgerond tot dichtsbijzijnde) + massa veranderd -> max punten ook + 0 <= punten <= max + total + +type niet gezegd -> double (radius, coordinaat) +Double.NEGATIVE_INFINITY && Double.POSITIVE_INFINITY toegestaan + +### naam + min 2 letters + 1e letter uppercase + alleen letters quotes en spaties + defensief + later mogelijk meer tekens + + +