Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ecomundoactivity.py
diff options
context:
space:
mode:
Diffstat (limited to 'ecomundoactivity.py')
-rw-r--r--ecomundoactivity.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ecomundoactivity.py b/ecomundoactivity.py
index 071936e..5f27847 100644
--- a/ecomundoactivity.py
+++ b/ecomundoactivity.py
@@ -94,12 +94,16 @@ def initAnimals():
y = int(random.random()*(World.CANT_TILES-1))
#print "Init Rabbit",x,y
animal = Animals.Rabbit(x,y,world)
+ animal.edad = world.rabbit_data.madurezSexual
+ animal.ultimaAlimentacion = animal.edad
world.animals.append(animal)
for n in range(world.initialFoxs):
x = int(random.random()*(World.CANT_TILES-1))
y = int(random.random()*(World.CANT_TILES-1))
#print "Init Fox",x,y
animal = Animals.Fox(x,y,world)
+ animal.edad = world.fox_data.madurezSexual
+ animal.ultimaAlimentacion = animal.edad
world.animals.append(animal)