You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.3 KiB
55 lines
1.3 KiB
@page "/economy-comparison" |
|
|
|
@inherits BasePage |
|
|
|
@implements IDisposable |
|
@inject IEconomyComparisonService EconomyComparisonService |
|
@layout PageLayout |
|
|
|
<LayoutMediumContentComponent> |
|
<WebsiteTitleComponent>Economy Comparision</WebsiteTitleComponent> |
|
|
|
<PaperComponent> |
|
<div>You</div> |
|
<EconomyInputComponent ForPlayer="0"/> |
|
</PaperComponent> |
|
|
|
<PaperComponent> |
|
<div>Them</div> |
|
<EconomyInputComponent ForPlayer="1"/> |
|
</PaperComponent> |
|
|
|
<PaperComponent> |
|
<EconomyDifferenceComponent/> |
|
</PaperComponent> |
|
|
|
<PaperComponent> |
|
<ChartComponent/> |
|
</PaperComponent> |
|
|
|
<ContentDividerComponent/> |
|
|
|
<PaperComponent> |
|
<InfoBodyComponent> |
|
<InfoQuestionComponent> |
|
What is this tool for? |
|
</InfoQuestionComponent> |
|
<InfoAnswerComponent> |
|
Compare two economies together to determine best attack timing windows. |
|
</InfoAnswerComponent> |
|
</InfoBodyComponent> |
|
</PaperComponent> |
|
</LayoutMediumContentComponent> |
|
|
|
@code { |
|
protected override void OnInitialized() |
|
{ |
|
base.OnInitialized(); |
|
EconomyComparisonService.Subscribe(StateHasChanged); |
|
} |
|
|
|
void IDisposable.Dispose() |
|
{ |
|
EconomyComparisonService.Unsubscribe(StateHasChanged); |
|
} |
|
} |