Add backend projects with core models and tests, setup Godot frontend
This commit is contained in:
13
frontend/scripts/core/GameData.cs
Normal file
13
frontend/scripts/core/GameData.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Godot;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class GameData : Resource
|
||||
{
|
||||
[Export] public string CompanyName { get; set; } = "My Company";
|
||||
[Export] public int StartYear { get; set; } = 1980;
|
||||
[Export] public decimal StartingCash { get; set; } = 100000m;
|
||||
|
||||
// Настройки карты
|
||||
[Export] public int CityCount { get; set; } = 10;
|
||||
[Export] public bool EnableImports { get; set; } = true;
|
||||
}
|
||||
Reference in New Issue
Block a user