示例#1
0
文件: Buffs.cs 项目: Jag-Men/Jag-Game
        public static void AddBuff(BuffType type, int duration, float level)
        {
            Buff newBuff = new Buff();

            newBuff.type     = type;
            newBuff.duration = duration;
            newBuff.level    = level;
            Bufflist.Add(newBuff);
        }
示例#2
0
 protected override void OnInit(Point2D position, object[] args)
 {
     widget = new Bufflist(Parent.Widget, Parent.Session);
     widget.Move(position);
 }