updated gitignore and added docs
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -120,6 +120,5 @@ fabric.properties
|
|||||||
https://github.com/joeblau/gitignore.io/issues/360
|
https://github.com/joeblau/gitignore.io/issues/360
|
||||||
|
|
||||||
.idea/
|
.idea/
|
||||||
|
*.iml
|
||||||
.iml
|
|
||||||
# End of https://www.gitignore.io/api/eclipse,intellij+all
|
# End of https://www.gitignore.io/api/eclipse,intellij+all
|
||||||
|
54
docs/samenvatting.md
Normal file
54
docs/samenvatting.md
Normal file
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user