summaryrefslogtreecommitdiff
path: root/scripts/DungeonGenerator.cs
blob: 99b8aacd06ccb6d23c38fc1170cfa0363231f663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Godot;
using System;

public partial class DungeonGenerator : Node
{
	private TileMapLayer map;

	[ExportCategory("Parametres")]
	[Export]
	private int width = 80;
	[Export]
	private int height = 60;

	public override void _Ready()
	{
		base._Ready();
		map = GetParent().GetNode<TileMapLayer>("Dungeon");
	}
}