コード例 #1
0
    public override string GetVoice(Dictionary <string, Variable> variables)
    {
        Direction dir  = (Direction)variables[directionName];
        Mana      fuel = (Mana)variables[fuelName];

        return($"Telekinesis.Move({targetName}, {dir.GetVoice()}, {fuel.GetVoice()})");
    }
コード例 #2
0
    public override string GetVoice(Dictionary <string, Variable> variables)
    {
        Mana fuel = (Mana)variables[fuelName];

        return($"{targetName}.IncreaseMagic({fuel.GetVoice()})");
    }
コード例 #3
0
    public override string GetVoice(Dictionary <string, Variable> variables)
    {
        Mana fuel = (Mana)variables[fuelName];

        return($"{targetName}.ReduceHealth({fuel.GetVoice()})");
    }