mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
提供相关接口
This commit is contained in:
parent
bd8e7c709a
commit
2713a0924a
@ -250,8 +250,6 @@ namespace VPet_Simulator.Core
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
Core.Save.FeelingChange(-freedrop * (0.5 + NowWork.Feeling / 2));
|
Core.Save.FeelingChange(-freedrop * (0.5 + NowWork.Feeling / 2));
|
||||||
if (Core.Save.Mode == IGameSave.ModeType.Ill)//生病时候停止工作
|
|
||||||
WorkTimer.Stop();
|
|
||||||
break;
|
break;
|
||||||
default://默认
|
default://默认
|
||||||
//饮食等乱七八糟的消耗
|
//饮食等乱七八糟的消耗
|
||||||
|
@ -174,6 +174,11 @@ namespace VPet_Simulator.Windows.Interface
|
|||||||
/// <param name="graphName">夹层动画名</param>
|
/// <param name="graphName">夹层动画名</param>
|
||||||
/// <param name="imageSource">被夹在中间的图片</param>
|
/// <param name="imageSource">被夹在中间的图片</param>
|
||||||
void DisplayFoodAnimation(string graphName, ImageSource imageSource);
|
void DisplayFoodAnimation(string graphName, ImageSource imageSource);
|
||||||
|
/// <summary>
|
||||||
|
/// 使用/食用物品 (自动扣钱) (不包括显示动画)
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="item">物品</param>
|
||||||
|
void TakeItem(Food item);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user