Show More
Commit Description:
Hide budget for now....
Commit Description:
Hide budget for now. (grafted from c874f4993fc1575dc21b6d1a41b46dc9b87f3337)
Show/Diff file:
Action:
isometric-park-fna/Renderers/BudgetWindowRenderer.cs
35 lines | 668 B | text/x-csharp | CSharpLexer
using Encompass;
namespace isometricparkfna.Renderers
{
public class BudgetWindowRenderer : GeneralRenderer
{
private SpriteBatch batch;
private SpriteFont font;
public BudgetWindowRenderer(SpriteBatch batch, SpriteFont font)
{
this.batch = batch;
this.font = font;
}
public override void Render()
{
var budgetWindow = new BudgetWindow(new Budget { }, this.monoFont, 0, 0);
foreach (ref readonly var entity in ReadEntities<BudgetComponent>())
{
// budgetWindow.update
// this.showBudget = this.budgetWindow.update(mouseCur, this.simulation.latestBudget, this.simulation.previousBudget);
}
}
}
}