Survival mode ready
This commit is contained in:
parent
0fff33d196
commit
7614b12076
50 changed files with 586 additions and 81 deletions
|
|
@ -5,15 +5,19 @@ namespace Newlon;
|
|||
[GlobalClass]
|
||||
public partial class PlantResource : Resource
|
||||
{
|
||||
[Export] public string display_name;
|
||||
[Export(PropertyHint.MultilineText)] public string display_description;
|
||||
[Export]
|
||||
public int Cost;
|
||||
[Export]
|
||||
public PackedScene Scene;
|
||||
[Export]
|
||||
public float ReloadTime;
|
||||
[Export(PropertyHint.Range,"0,1,0.01")]
|
||||
[Export(PropertyHint.Range, "0,1,0.01")]
|
||||
public float ReloadProgress;
|
||||
[Export]
|
||||
public Texture2D Preview;
|
||||
[Export] public int Layer = 1;
|
||||
|
||||
public string internal_id;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@ using Godot;
|
|||
[GlobalClass]
|
||||
public partial class ZombieResource : Resource
|
||||
{
|
||||
[Export] public int cost;
|
||||
[Export] public float cost;
|
||||
[Export] public PackedScene scene;
|
||||
|
||||
public string internal_id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue