summaryrefslogtreecommitdiff
path: root/scripts/entities/EntityDefinition.cs
blob: 19693db6265e85dde3c57587b5f5cb3584e5b900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Godot;

[GlobalClass]
public partial class EntityDefinition : Resource{
	[ExportCategory("Visuals")]
	// Nome da entidade.
	[Export]
	public string name = "unnamed";
	// Seu sprite.
	[Export]
	public Texture2D texture;

	[ExportCategory("Mechanics")]
	// Se a entidade bloqueia movimento.
	[Export]
	public bool blocksMovement = true;
}