Changes

m
test2
Line 21: Line 21:  
function EnemyShipCard:BattleCard(args)
 
function EnemyShipCard:BattleCard(args)
 
local ship = self:create_ship(args)
 
local ship = self:create_ship(args)
return self:battle_card(ship, args)
+
return EnemyShipCard:battle_card(ship, args)
 
end
 
end
    
function EnemyShipCard.getFrame(frame)
 
function EnemyShipCard.getFrame(frame)
 
local args = getArgs{frame = frame:getParent()}
 
local args = getArgs{frame = frame:getParent()}
return self:BattleCard(args)
+
return EnemyShipCard:BattleCard(args)
 
end
 
end
    
return EnemyShipCard
 
return EnemyShipCard
Anonymous user