Refactor
This commit is contained in:
parent
cea648f0ff
commit
65fe0e5c5d
14 changed files with 30 additions and 33 deletions
17
scripts/systems/static-data/PlayerProgress.cs
Normal file
17
scripts/systems/static-data/PlayerProgress.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System.Collections.Generic;
|
||||
using Godot;
|
||||
using Newlon;
|
||||
|
||||
public partial class PlayerProgress : Node
|
||||
{
|
||||
public static PlayerProgress Instance { get; private set; }
|
||||
|
||||
public override void _EnterTree()
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
public List<PlantResource> PlayerPlants { get; set; } = new();
|
||||
public int MaxSeedpackets = 9;
|
||||
public int Money { get; set; }
|
||||
}
|
||||
1
scripts/systems/static-data/PlayerProgress.cs.uid
Normal file
1
scripts/systems/static-data/PlayerProgress.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://bkexfs6kuuuf2
|
||||
Loading…
Add table
Add a link
Reference in a new issue