ys = ys or {} slot0 = ys slot1 = slot0.Battle.BattleConst.UnitType slot0.Battle.BattleStrayBulletFactory = singletonClass("BattleStrayBulletFactory", slot0.Battle.BattleCannonBulletFactory) slot0.Battle.BattleStrayBulletFactory.__name = "BattleStrayBulletFactory" slot2 = slot0.Battle.BattleStrayBulletFactory function slot2.Ctor(slot0) uv0.super.Ctor(slot0) end function slot2.MakeBullet(slot0) return uv0.Battle.BattleStrayBullet.New() end