blob: 5c0ece9ba69bb8f1acd5333d2c86efa4feae1a9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
using Godot;
using System;
[GlobalClass]
public partial class ActorDefinition : Resource
{
[ExportCategory("Visuals")]
[Export]
public string name = "unnamed";
[Export]
public Texture2D texture;
[ExportCategory("Mechanics")]
[Export]
public bool blocksMovement = true;
[ExportCategory("Stats")]
[Export]
public int Hp;
[Export]
public int Mp;
[Export]
public int Atk;
[Export]
public int Def;
[Export]
public int Men;
}
|