public void UpdateMyStatus(BJLocations place) { if (MyLocation == place) { // already there, do not update } else { // change place MyLocation = place; // calculate deposit and debt MyFinance.HandleBankAndDebt(); // update health status MyHealth.UpdateHealthEvent(); if (MyHealth.Hit) { //TODO MyHealth.Hit = false; } if (true) { } //TODO: update my fame MyFame.Decrease(1); // day minus one --MyDaysLeft; } }
private void MyInventory_InventoryGoodsSold(Goods goods) { if (goods.FameDown != 0) { //String msg1 = $"声誉下降了"; MyFame.Decrease(goods.FameDown); } }