protected void OnBuildComplete() { State = State.READY; if (BuildingComplete != null) { var arg = new BuildingCompleteEventArgs(); arg.Component = this; BuildingComplete.Invoke(this, arg); } }
protected void OnDamaged() { Health = Health.DAMAGED; ; if (BuildingComplete != null) { var arg = new BuildingCompleteEventArgs(); arg.Component = this; BuildingComplete.Invoke(this, arg); } }