Exemple #1
0
        public Fox(AnimalAge eAge)
        {
            m_eAge     = eAge;
            m_eType    = AnimalType.AT_FOX;
            m_asImages = new string[] { "/Image/gait/fox/giphy_1.png", "/Image/CmpGM/AnimalChildren/fox.png" };

            m_sCmpSuccessImage = "/Image/CmpGM/AnimalCmpSuccess/fox.png";
            m_sLabelImage      = "/Image/SelGM/fox.png";

            m_aeFood = new FoodBase.FoodType[3]
            {
                FoodBase.FoodType.FT_RODENT,
                FoodBase.FoodType.FT_BUG,
                FoodBase.FoodType.FT_BERRY,
            };
        }
Exemple #2
0
        public Hare(AnimalAge eAge)
        {
            m_eAge     = eAge;
            m_eType    = AnimalType.AT_HARE;
            m_asImages = new string[] { "/Image/gait/hare/1.png", "/Image/CmpGM/AnimalChildren/hare.png" };

            m_sCmpSuccessImage = "/Image/CmpGM/AnimalCmpSuccess/hare.png";
            m_sLabelImage      = "/Image/SelGM/hare.png";

            m_aeFood = new FoodBase.FoodType[3]
            {
                FoodBase.FoodType.FT_CARROT,
                FoodBase.FoodType.FT_PLANT,
                FoodBase.FoodType.FT_HAY,
            };
        }
Exemple #3
0
        public Wolf(AnimalAge eAge)
        {
            m_eAge     = eAge;
            m_eType    = AnimalType.AT_WOLF;
            m_asImages = new string[] { "/Image/gait/wolf/1.png", "/Image/CmpGM/AnimalChildren/wolf.png" };

            m_sCmpSuccessImage = "/Image/CmpGM/AnimalCmpSuccess/wolf.png";
            m_sLabelImage      = "/Image/SelGM/wolf.png";

            m_aeFood = new FoodBase.FoodType[3]
            {
                FoodBase.FoodType.FT_RODENT,
                FoodBase.FoodType.FT_BUG,
                FoodBase.FoodType.FT_BERRY,
            };
        }
Exemple #4
0
        public Squirrel(AnimalAge eAge)
        {
            m_eAge     = eAge;
            m_eType    = AnimalType.AT_SQUIRREL;
            m_asImages = new string[] { "/Image/gait/squirrel/1.png", "/Image/CmpGM/AnimalChildren/squirrel.png" };

            m_sCmpSuccessImage = "/Image/CmpGM/AnimalCmpSuccess/squirrel.png";
            m_sLabelImage      = "/Image/SelGM/squirrel.png";

            m_aeFood = new FoodBase.FoodType[3]
            {
                FoodBase.FoodType.FT_RODENT,
                FoodBase.FoodType.FT_BUG,
                FoodBase.FoodType.FT_BERRY,
            };
        }
Exemple #5
0
        public Bear(AnimalAge eAge)
        {
            m_eAge     = eAge;
            m_eType    = AnimalType.AT_BEAR;
            m_asImages = new string[] { "/Image/gait/bear/giphy_1.png", "/Image/CmpGM/AnimalChildren/bear.png" };

            m_sCmpSuccessImage = "/Image/CmpGM/AnimalCmpSuccess/bear.png";
            m_sLabelImage      = "/Image/SelGM/bear.png";

            m_aeFood = new FoodBase.FoodType[11]
            {
                FoodBase.FoodType.FT_CARROT,
                FoodBase.FoodType.FT_PLANT,
                FoodBase.FoodType.FT_FISH,
                FoodBase.FoodType.FT_HAY,
                FoodBase.FoodType.FT_APPLE,
                FoodBase.FoodType.FT_RODENT,
                FoodBase.FoodType.FT_BUG,
                FoodBase.FoodType.FT_NUTS,
                FoodBase.FoodType.FT_SNAIL,
                FoodBase.FoodType.FT_WORM,
                FoodBase.FoodType.FT_BERRY,
            };
        }
Exemple #6
0
        public Hedgehog(AnimalAge eAge)
        {
            m_eAge     = eAge;
            m_eType    = AnimalType.AT_HEDGEHOG;
            m_asImages = new string[] { "/Image/gait/hedgehog/1.png", "/Image/CmpGM/AnimalChildren/hedgehog.png" };

            m_sCmpSuccessImage = "/Image/CmpGM/AnimalCmpSuccess/hedgehog.png";
            m_sLabelImage      = "/Image/SelGM/hedgehog.png";

            m_aeFood = new FoodBase.FoodType[11]
            {
                FoodBase.FoodType.FT_CARROT,
                FoodBase.FoodType.FT_PLANT,
                FoodBase.FoodType.FT_FISH,
                FoodBase.FoodType.FT_HAY,
                FoodBase.FoodType.FT_APPLE,
                FoodBase.FoodType.FT_RODENT,
                FoodBase.FoodType.FT_BUG,
                FoodBase.FoodType.FT_NUTS,
                FoodBase.FoodType.FT_SNAIL,
                FoodBase.FoodType.FT_WORM,
                FoodBase.FoodType.FT_BERRY,
            };
        }