alter vatter

This commit is contained in:
2026-07-29 18:50:14 +02:00
parent 59a9516d99
commit 9824b30435
53 changed files with 1054 additions and 69 deletions

27
Company.cs Normal file
View File

@@ -0,0 +1,27 @@
using Godot;
[GlobalClass]
public partial class Company : Resource
{
[Export]
public float Hype { get; set; }
[Export]
public float Money { get; set; } = 10_000;
[Export]
public float Workers { get; set; } = 1;
[Export]
public float AverageSalary { get; set; } = 100;
/// <summary>
/// Cost per Quarter
/// </summary>
public float Cost => Workers * AverageSalary;
/// <summary>
/// Runway in Quarters
/// </summary>
public int Runway => Mathf.FloorToInt(Money / Cost);
}