basic building structures
This commit is contained in:
31
buildings/base_building.cs
Normal file
31
buildings/base_building.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Godot;
|
||||
|
||||
public partial class base_building : Node3D
|
||||
{
|
||||
[Export]
|
||||
public Node3D BlocksNode { get; set; } = null;
|
||||
private building_block[] _blocks = null;
|
||||
|
||||
[Export]
|
||||
public string DisplayName { get; set; } = "base_building";
|
||||
[Export]
|
||||
public int KashCost { get; set; } = -1;
|
||||
public bool IsPlaceable
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public override void _Ready()
|
||||
{
|
||||
if (BlocksNode != null)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user