Initial Commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using Model.Entity;
|
||||
|
||||
namespace Model.Economy;
|
||||
|
||||
public class EconomyModel
|
||||
{
|
||||
public int Interval { get; set; } = 0;
|
||||
public float Alloy { get; set; } = 0;
|
||||
public float AlloyIncome { get; set; } = 0;
|
||||
public float Ether { get; set; } = 0;
|
||||
public float EtherIncome { get; set; } = 0;
|
||||
public float Pyre { get; set; } = 0;
|
||||
public int Supply { get; set; } = 0;
|
||||
public int WorkerCount { get; set; } = 6;
|
||||
public int BusyWorkerCount { get; set; } = 0;
|
||||
public int CreatingWorkerCount { get; set; } = 0;
|
||||
public List<int> CreatingWorkerDelays { get; set; } = new();
|
||||
public List<EntityModel> HarvestPoints { get; set; } = new();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Model.Economy;
|
||||
|
||||
public class EconomyOverTimeModel
|
||||
{
|
||||
public int LastInterval { get; set; }
|
||||
|
||||
public List<EconomyModel> EconomyOverTime { get; set; } = new();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace Model.Economy.Enums;
|
||||
|
||||
public enum HarvesterType
|
||||
{
|
||||
Worker,
|
||||
EtherExtractor,
|
||||
Bastion
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Model.Economy.Enums;
|
||||
|
||||
public enum RequestType
|
||||
{
|
||||
Unit,
|
||||
Building
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Model.Economy.Enums;
|
||||
|
||||
public enum WorkerStateType
|
||||
{
|
||||
Building,
|
||||
Unit
|
||||
}
|
||||
Reference in New Issue
Block a user