Example #1
0
    def getOffspring(self, other):

        if isinstance(other, Liguar.Liguar):
            return Leoligulor()
        elif isinstance(other, Leopon):
            return Leopon()

        Panthera.getOffspring(self,other)
 def getOffspring(self, other):
     if isinstance(other, Leopard):
         return Leopard()
     elif isinstance(other, Lion.Lion):
         return Leopon.Leopon()
     elif isinstance(other, Tiger.Tiger):
         return Leoger.Leoger()
     elif isinstance(other, Jaguar.Jaguar):
         return Leguar.Leguar()
     elif isinstance(other, Liger.Liger):
         return Leoliger.Leoliger()
     elif isinstance(other, Tigon.Tigon):
         return Leotigon.Leotigon()
     elif isinstance(other, Jagupard.Jagupard):
         return Leojagupard.Leojagupard()
     elif isinstance(other, Leguar.Leguar):
         return Leoleguar.Leoleguar()
     elif isinstance(other, Liguar.Liguar):
         return Leoliguar.Leoliguar()
     Panthera.getOffspring(self, other)
 def __init__(self, gender=random.choice('MF')):
     Panthera.__init__(self, gender)
     self.generation = 3
    def getOffspring(self, other):
        if isinstance(other, Leoligulor):
            return Leoligulor()

        Panthera.getOffspring(self, other)
    def getOffspring(self, other):
        if isinstance(other, Jaglion):
            return Jaglion()

        Panthera.getOffspring(self, other)
Example #6
0
 def getOffspring(self, other):
     if isinstance(other, Tigard):
         return Tigard()
     Panthera.getOffspring(self,other)
    def getOffspring(self, other):
        if isinstance(other, Litigon):
            return Litigon()

        Panthera.getOffspring(self, other)
Example #8
0
    def getOffspring(self, other):
        if isinstance(other, Leguar):
            return Leguar()

        Panthera.getOffspring(self,other)
    def getOffspring(self, other):
        if isinstance(other, Liliger):
            return Liliger()

        Panthera.getOffspring(self,other)
    def getOffspring(self, other):
        if isinstance(other, Jagjagupard):
            return Jagjagupard()

        Panthera.getOffspring(self, other)