Exemplo n.º 1
0
 public void SetModel(WoundCheckEvent eventData, UnitType unitType)
 {
     _model                  = eventData;
     _unitImage.sprite       = SpriteCollectionManager.GetSpriteByName(unitType.GetName());
     _target.text            = "Need to Roll:";
     _roll.text              = "Rolling 1d" + unitType.GetHitPoints() + ":";
     _result.text            = "";
     _unitQuantityField.text = "";
     _unitHealthField.text   = "";
 }
Exemplo n.º 2
0
 private void OnWoundCheckMade(object sender, WoundCheckEvent args)
 {
     _woundChecks.Add(args);
 }