Changes
no edit summary
}
}
function EnemyShipListKai:name(ship)
--[[function EnemyShipListKai:name(ship)
local link, text, section = ship:link()
local link, text, section = ship:link()
local value = {Formatting:format_link(link, text, section)}
local value = {Formatting:format_link(link, text, section)}
end
end
function EnemyShipListKai:card(ship)
local value
if ship == false then
value = Formatting:format_image{self._blank, size = self._size}
else
value = ShipBattleCardKai:get{ship = ship, size = self._size, link = ship:link(), caption = ship:name()}
end
return {values = value, bg_color = self._transparent, text_align = self._center_align}
end
function EnemyShipListKai:type(ship)
function EnemyShipListKai:type(ship)
end
end
EnemyShipListKai.process_item_key = EnemyShip.process_item_key
EnemyShipListKai.build_rows = EnemyShipListKai.build_rows_breaks_as_empty_rows
function EnemyShipListKai:create_header()
function EnemyShipListKai:create_header()
return EnemyShipListKai:Table(args)
return EnemyShipListKai:Table(args)
end
end
]]--
return EnemyShipListKai
return EnemyShipListKai