Definition at line 16 of file privateer.py.
def __init__ |
( |
|
self, |
|
|
|
sigdis, |
|
|
|
detectiondis, |
|
|
|
gendis, |
|
|
|
minships, |
|
|
|
genships, |
|
|
|
fighterprob, |
|
|
|
enemyprob, |
|
|
|
capprob, |
|
|
|
credits_to_maximize_difficulty, |
|
|
|
capdist |
|
) |
| |
Definition at line 19 of file privateer.py.
20 def __init__ (self,sigdis, detectiondis, gendis, minships, genships, fighterprob, enemyprob, capprob, credits_to_maximize_difficulty, capdist):
21 Director.Mission.__init__(self)
22 self.
loops=(difficulty (credits_to_maximize_difficulty),
23 random_encounters (sigdis, detectiondis, gendis, minships,genships,fighterprob,enemyprob,capprob,capdist),