16 lines
414 B
Lua
16 lines
414 B
Lua
local BattleConst = require "app/module/battle/battle_const"
|
|
local BattleUnitComp = require "app/module/battle/component/battle_unit_comp"
|
|
|
|
local BattleMonsterComp = class("BattleMonsterComp", BattleUnitComp)
|
|
|
|
local UNIT_STATE = BattleConst.UNIT_STATE
|
|
|
|
function BattleMonsterComp:init()
|
|
end
|
|
|
|
function BattleMonsterComp:initBase()
|
|
self.isDead = false
|
|
self.currState = UNIT_STATE.INIT
|
|
end
|
|
|
|
return BattleMonsterComp |