summaryrefslogtreecommitdiff
path: root/scripts/Entities/EntityDefinition.cs
blob: a6080bdc18fdf6fbd08c785afe07e24bf81a30eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using Godot;

namespace TheLegendOfGustav.Entities;

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

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