updated gitignore and added docs
This commit is contained in:
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