mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 20:05:53 +00:00
Door link fix
This commit is contained in:
parent
8c20e6f342
commit
cae1f99949
5 changed files with 86 additions and 33 deletions
24
Scripts/Controllers/RoomConnection.cs
Normal file
24
Scripts/Controllers/RoomConnection.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Controllers;
|
||||
|
||||
public class RoomConnection
|
||||
{
|
||||
public Vector2I From;
|
||||
public Vector2I To;
|
||||
public bool IsLocked;
|
||||
public bool IsSecret;
|
||||
|
||||
public RoomConnection(Vector2I from, Vector2I to, bool isLocked = false, bool isSecret = false)
|
||||
{
|
||||
From = from;
|
||||
To = to;
|
||||
IsLocked = isLocked;
|
||||
IsSecret = isSecret;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"From {From} to {To}, IsLocked: {IsLocked}, IsSecret: {IsSecret}";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue