Esempio n. 1
0
File: Bar.cs Progetto: toyboot4e/Rot
        public EntityBar(PosUtil posUtil, EntityBarStyle style, Vector2 offset = default(Vector2))
        {
            this.posUtil = posUtil;
            this.style   = style;

            this.offset = offset;
            this.size   = new Vector2(posUtil.tileWidth - 2, 5);
        }
Esempio n. 2
0
 public void addHpBar(PosUtil posUtil, EntityBarStyle style)
 {
     this.bar        = new HpBar(posUtil, style);
     this.bar.Entity = this.Entity;
     this.bar.OnAddedToEntity();
 }
Esempio n. 3
0
File: Bar.cs Progetto: toyboot4e/Rot
 public HpBar(PosUtil posUtil, EntityBarStyle style, Vector2 offset = default(Vector2)) : base(posUtil, style, offset)
 {
 }