summaryrefslogtreecommitdiff
path: root/scripts/entities/actors/Player.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/entities/actors/Player.cs')
-rw-r--r--scripts/entities/actors/Player.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/entities/actors/Player.cs b/scripts/entities/actors/Player.cs
deleted file mode 100644
index 71812e8..0000000
--- a/scripts/entities/actors/Player.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using Godot;
-using System;
-
-/// <summary>
-/// Classe do jogador. Por enquanto não é diferente do Ator, mas isso pode mudar.
-/// </summary>
-[GlobalClass]
-public partial class Player : Actor
-{
- private PlayerDefinition definition;
- public Inventory inventory;
-
- public Player(Vector2I initialPosition, MapData map, PlayerDefinition definition) : base(initialPosition, map, definition)
- {
- this.definition = definition;
- SetDefinition(definition);
- }
-
- public void SetDefinition(PlayerDefinition definition) {
- inventory = new(definition.InventoryCapacity);
-
- AddChild(inventory);
- }
-}