From 6f2c2edd52171a4df7f35de695c9b2e7801d3e5f Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 4 Sep 2025 16:58:58 -0300 Subject: Preparação para itens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/entities/actors/ActorDefinition.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'scripts/entities/actors/ActorDefinition.cs') diff --git a/scripts/entities/actors/ActorDefinition.cs b/scripts/entities/actors/ActorDefinition.cs index ab0160b..540ede0 100644 --- a/scripts/entities/actors/ActorDefinition.cs +++ b/scripts/entities/actors/ActorDefinition.cs @@ -4,23 +4,14 @@ using Godot; /// Define de forma genérica as características de um ator. /// [GlobalClass] -public partial class ActorDefinition : Resource +public partial class ActorDefinition : EntityDefinition { [ExportCategory("Visuals")] - // Nome do ator. - [Export] - public string name = "unnamed"; - // Seu sprite. - [Export] - public Texture2D texture; // Sprite de morto [Export] public Texture2D deathTexture; [ExportCategory("Mechanics")] - // Se o ator bloqueia movimento. - [Export] - public bool blocksMovement = true; [Export] public int Speed { get; set;} = 10; -- cgit v1.2.3