Exemplo n.º 1
0
 public override void OnInitialize(GameTime gameTime)
 {
     parentCombatant.Combat().OnHealthChanged += (Object sender, EventArgs args) =>
     {
         Action tint = new A3DMeshTemporaryTint(parentDrawable, parentMesh, tintDuration, colorToTint);
         parentDrawable.Actions.Attach(tint);
     };
 }