blob: 84e5cc18225f91800c942542d75c91822ee5b70e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using Godot;
/// <summary>
/// Define as características de um tile.
/// </summary>
[GlobalClass]
public partial class TileDefinition : Resource
{
[ExportCategory("Visuals")]
[Export]
public Texture2D Texture { get; set; }
[Export(PropertyHint.ColorNoAlpha)]
public Color LitColor { get; set; } = Colors.White;
[Export(PropertyHint.ColorNoAlpha)]
public Color DarkColor { get; set; } = Colors.White;
[ExportCategory("Mechanics")]
[Export]
public bool IsWalkable { get; set; }
[Export]
public bool IsTransparent { get; set; }
}
|