Exemplo n.º 1
0
Arquivo: Bar.cs Projeto: 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);
        }
Exemplo n.º 2
0
 public void addHpBar(PosUtil posUtil, EntityBarStyle style)
 {
     this.bar        = new HpBar(posUtil, style);
     this.bar.Entity = this.Entity;
     this.bar.OnAddedToEntity();
 }
Exemplo n.º 3
0
Arquivo: Bar.cs Projeto: toyboot4e/Rot
 public HpBar(PosUtil posUtil, EntityBarStyle style, Vector2 offset = default(Vector2)) : base(posUtil, style, offset)
 {
 }