Example #1
0
        public Tattle(bool isGoombella)
        {
            Name = "Tattle";

            MoveInfo = new MoveActionData(null, "View enemies' descriptions\nand see their HP in battle.", MoveResourceTypes.FP, 0,
                                          CostDisplayTypes.Hidden, Enumerations.MoveAffectionTypes.Enemy, TargetSelectionMenu.EntitySelectionType.Single, false,
                                          null);

            SetMoveSequence(new TattleSequence(this));

            //Default to no Action Command
            //If this is Goombella, then set the Action Command
            actionCommand = null;
            if (isGoombella == true)
            {
                actionCommand = new TattleCommand(MoveSequence, 2f);
            }
        }
        public Tattle(bool isGoombella)
        {
            Name = "Tattle";

            MoveInfo = new MoveActionData(new CroppedTexture2D(AssetManager.Instance.LoadRawTexture2D($"{ContentGlobals.BattleGFX}.png"), new Rectangle(874, 14, 22, 22)),
                                          "View enemies' descriptions\nand see their HP in battle.", MoveResourceTypes.FP, 0,
                                          CostDisplayTypes.Hidden, Enumerations.MoveAffectionTypes.Custom, TargetSelectionMenu.EntitySelectionType.Single, false,
                                          null, User.GetOpposingEntityType(), EntityTypes.Neutral);

            SetMoveSequence(new TattleSequence(this));

            //Default to no Action Command
            //If this is Goombella, then set the Action Command
            actionCommand = null;
            if (isGoombella == true)
            {
                actionCommand = new TattleCommand(MoveSequence, 2f);
            }
        }