parent
5d90ead710
commit
9326a5dc91
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ function TurnController:new(scene, battleData)
|
||||||
|
|
||||||
self.player = Player(self)
|
self.player = Player(self)
|
||||||
self.ennemies = Ennemy(self, battleData)
|
self.ennemies = Ennemy(self, battleData)
|
||||||
|
|
||||||
|
-- Change the seed at the start of each battle
|
||||||
|
math.randomseed( os.time() )
|
||||||
end
|
end
|
||||||
|
|
||||||
function TurnController:startBattle()
|
function TurnController:startBattle()
|
||||||
|
|
Loading…
Reference in a new issue