コード例 #1
0
        public void Absorb(IBank otherBank)
        {
            Bronze  += otherBank.Bronze;
            Silver  += otherBank.Silver;
            Gold    += otherBank.Gold;
            Lumen   += otherBank.Lumen;
            Warlock += otherBank.Warlock;

            otherBank.Clear();

            RefreshAction.SafeInvoke();
            OnMoneyAdded.SafeInvoke();
        }