UIContainer.cs

(完整代码) 959B

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace MyGame
{
    /// <summary>
    /// 窗体中用于描绘怪物和玩家的控件容器
    /// </summary>
    public class UIContainer
    {
        /// <summary>
        /// 图片
        /// </summary>
        private PictureBox pic;
        public PictureBox Pic
        {
            get { return pic; }
            set { pic = value; }
        }
        /// <summary>
        /// 显示原始生命值
        /// </summary>
        private Label labelBlood;
        public Label LabelBlood
        {
            get { return labelBlood; }
            set { labelBlood = value; }
        }
        /// <summary>
        /// 显示当前生命值 
        /// </summary>
        private Label labelHurt;
        public Label LabelHurt
        {
            get { return labelHurt; }
            set { labelHurt = value; }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。