2019-12-28 11:33:25 +01:00
|
|
|
local EnnemyManager = Object:extend()
|
|
|
|
|
2021-11-25 11:28:31 +01:00
|
|
|
local AbstractEnnemy = require "game.abstractmobs.ennemy"
|
|
|
|
|
2019-12-28 11:33:25 +01:00
|
|
|
function EnnemyManager:new(controller)
|
|
|
|
self.controller = controller
|
|
|
|
end
|
|
|
|
|
2021-11-25 11:28:31 +01:00
|
|
|
function EnnemyManager:getEnnemyData(category, ennemy)
|
|
|
|
return AbstractEnnemy(category, ennemy)
|
2019-12-28 11:33:25 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
return EnnemyManager
|