32 lines
563 B
C#
32 lines
563 B
C#
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)
|
|
{
|
|
}
|
|
}
|