mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 16:55:54 +00:00
Mapping
This commit is contained in:
parent
4aa7c2515c
commit
4705fca148
6 changed files with 115 additions and 4 deletions
|
|
@ -44,6 +44,11 @@ public partial class Minimap : CanvasLayer
|
|||
{
|
||||
RedrawMinimap();
|
||||
}
|
||||
|
||||
// public override void _Process(double delta)
|
||||
// {
|
||||
// //RedrawMinimap();
|
||||
// }
|
||||
|
||||
// public void SetRoomGrid(Dictionary<Vector2I, RogueliteRoom> roomGrid)
|
||||
// {
|
||||
|
|
@ -97,6 +102,14 @@ public partial class Minimap : CanvasLayer
|
|||
//DrawDebugGrid();
|
||||
}
|
||||
|
||||
private void DrawPlayer(Vector2I minGrid, Vector2 baseOffset)
|
||||
{
|
||||
var playerPosition = GameManager.Instance.PlayerPosition;
|
||||
|
||||
//var scaledPos = playerPosition
|
||||
|
||||
}
|
||||
|
||||
private void DrawDebugGrid()
|
||||
{
|
||||
foreach (var room in SpawnedRooms)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue