updated gitignore and added docs

This commit is contained in:
2018-02-26 13:54:02 +01:00
parent 9804345a83
commit 47a13dac92
2 changed files with 55 additions and 2 deletions

54
docs/samenvatting.md Normal file
View 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