示例#1
0
    public void Attack()
    {
        // TODO:
        // * Allow target to be passed in.
        // * Allow move to be passed in.

        // TODO:
        // * FieldSlot is null here but set inside the AttackCommand. This is temporary until there's a UI.
        // * Attack is just the first attack. This is temporary until the player can select from a list of attacks.
        var attackCommand = AttackCommand.Create(this, ActiveCharacter, null, ActiveCharacter.Attack);

        AttackSelected.InvokeSafe(attackCommand);
        SetReady();
    }