示例#1
0
 public void Draw(Transform2 parentTransform)
 {
     if (_hidden)
     {
         return;
     }
     _hideBonusImage.Draw(parentTransform);
     _hideBonusLabel.Draw(parentTransform);
 }
示例#2
0
 public void Draw(Transform2 parentTransform)
 {
     _background.Draw(parentTransform);
     _name.Draw(parentTransform);
     _face.Draw(parentTransform);
     _damageBar.Draw(parentTransform + _damageBarOffset);
     _weaponName.Draw(parentTransform);
     _weapon.Draw(parentTransform);
     _hitChance.Draw(parentTransform);
     _bullets.Draw(parentTransform);
 }
示例#3
0
 public override void Draw(Transform2 parentTransform)
 {
     _image.Draw(parentTransform);
     _optionName.Draw(parentTransform);
     _visuals.ForEach(x => x.Draw(parentTransform + _offset));
 }
示例#4
0
 public void Draw(Transform2 parentTransform)
 {
     _dialogBox.Draw(parentTransform);
     _chatBox.Draw(parentTransform);
     _faceImage.Draw(parentTransform);
 }