Esempio n. 1
0
    public void Fusion(int actionSlimeId, int targetSlimeId)
    {
        RawSlime actionSlime       = FindSlimeById(actionSlimeId);
        RawSlime fusionTargetSlime = FindSlimeById(targetSlimeId);

        fusionTargetSlime.SetMass(actionSlime.GetMass() + fusionTargetSlime.GetMass());
        fusionTargetSlime.GetPlayer().RemoveSlime(actionSlime);

        SpendActions(1);
    }