2019-08-15 09:35:37 +02:00
|
|
|
local EnnemyManager = Object:extend()
|
|
|
|
|
2020-07-19 13:13:54 +02:00
|
|
|
local AbstractEnnemy = require "game.abstractmobs.ennemy"
|
|
|
|
|
2019-08-15 09:35:37 +02:00
|
|
|
function EnnemyManager:new(controller)
|
|
|
|
self.controller = controller
|
|
|
|
end
|
|
|
|
|
|
|
|
function EnnemyManager:getEnnemyData(ennemy)
|
2020-07-19 13:13:54 +02:00
|
|
|
return AbstractEnnemy(ennemy)
|
2019-08-15 09:35:37 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return EnnemyManager
|